[arch-commits] Commit in obs-studio/repos (2 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Dec 7 06:27:43 UTC 2018
Date: Friday, December 7, 2018 @ 06:27:43
Author: alucryd
Revision: 412019
archrelease: copy trunk to community-staging-x86_64
Added:
obs-studio/repos/community-staging-x86_64/
obs-studio/repos/community-staging-x86_64/PKGBUILD
(from rev 412018, obs-studio/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: obs-studio/repos/community-staging-x86_64/PKGBUILD (from rev 412018, obs-studio/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-12-07 06:27:43 UTC (rev 412019)
@@ -0,0 +1,46 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Benjamin Klettbach <b.klettbach at gmail.com>
+
+pkgname=obs-studio
+pkgver=22.0.2
+pkgrel=2
+pkgdesc="Free, open source software for live streaming and recording"
+arch=('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' 'swig' 'python' 'luajit')
+optdepends=('libfdk-aac: FDK AAC codec support'
+ 'libxcomposite: XComposite capture support'
+ 'luajit: scripting support'
+ 'python: scripting support'
+ 'vlc: VLC Media Source support')
+source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz
+ https://github.com/obsproject/obs-studio/commit/cf73fa6da19f798ce04907781d6dc00484820b77.patch)
+md5sums=('8c63cdc08a4510f288d174c65b252544'
+ 'b67d1e5922852c080c4fefdfa04f3cd6')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # libfdk-aac 2.0.0
+ patch -Np1 -i ../cf73fa6da19f798ce04907781d6dc00484820b77.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ mkdir -p build; cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" ..
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+
+ make install DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list