Last active
October 2, 2017 08:03
-
-
Save naniwaKun/3d649cd6824bd2129a053062cf86f26d to your computer and use it in GitHub Desktop.
nikoniko-obs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jonathan Steel <jsteel at archlinux.org> | |
# Contributor: Benjamin Klettbach <[email protected]> | |
pkgname=obs-studio | |
pkgver=20.0.1 | |
pkgrel=2 | |
pkgdesc="Free, open source software for live streaming and recording" | |
arch=('i686' 'x86_64') | |
url="https://obsproject.com" | |
license=('GPL2') | |
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' | |
'qt5-x11extras' 'curl' 'jack' 'gtk-update-icon-cache') | |
makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264' 'vlc') | |
optdepends=('libfdk-aac: FDK AAC codec support' | |
'libxcomposite: XComposite capture support' | |
'vlc: VLC Media Source support') | |
source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz | |
.tar.gz::https://github.com/raccy/obs-rtmp-nicolive/archive/v2.1.0.tar.gz) | |
md5sums=('fe12017a573ad0f0b9f90b1d8f631ce6' 'SKIP') | |
prepare() { | |
mv $srcdir/obs-rtmp-nicolive-2.1.0 $srcdir/obs-studio-20.0.1/plugins/rtmp-nicolive | |
echo 'add_subdirectory(rtmp-nicolive)' >> $srcdir/obs-studio-20.0.1/plugins/CMakeLists.txt | |
} | |
build() { | |
cd $pkgname-$pkgver | |
mkdir -p build; cd build | |
cmake -DCMAKE_INSTALL_PREFIX="/usr" \ | |
-DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" .. | |
make -j16 | |
} | |
package() { | |
cd $pkgname-$pkgver/build | |
make install DESTDIR="$pkgdir" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment