summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-23 22:35:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-23 22:35:01 -0300
commita181c61f834e16f62b5434442577b459d77554a3 (patch)
tree5d308989e2cffd0a479d52d727af1711e8bd3d79 /pcr
parentf1db2258c80569cbc233d39dafc39b8ef6d7c371 (diff)
downloadabslibre-a181c61f834e16f62b5434442577b459d77554a3.tar.gz
abslibre-a181c61f834e16f62b5434442577b459d77554a3.tar.bz2
abslibre-a181c61f834e16f62b5434442577b459d77554a3.zip
obs-studio: add new package to [pcr]
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"
+}
+