summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/obs-studio/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/obs-studio/PKGBUILD b/pcr/obs-studio/PKGBUILD
new file mode 100644
index 000000000..bb4f1bae2
--- /dev/null
+++ b/pcr/obs-studio/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (Arch): Benjamin Klettbach <b.klettbach@gmail.com>
+
+pkgname=obs-studio
+pkgver=0.11.1
+pkgrel=2
+pkgdesc="Free and open source software for video recording and live streaming."
+arch=('i686' 'x86_64')
+url="https://github.com/jp9000/obs-studio"
+license=('GPL2')
+depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras' 'curl')
+makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264')
+optdepends=('libfdk-aac: FDK AAC codec support'
+ 'libxcomposite: XComposite capture support')
+provides=('obs-studio')
+conflicts=('obs-studio-git')
+source=("https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz")
+sha256sums=('a8ba62302a8c720dd5342e0e0e1a9ca51920017ef8f47226df6ff788bcf1e189')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir -p "build"
+ cd "build"
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
+ make -j`nproc`
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make install DESTDIR="$pkgdir"
+}
+