Date: Saturday, December 30, 2017 @ 21:17:23 Author: alucryd Revision: 277486
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 277485, obs-studio/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: obs-studio/repos/community-staging-x86_64/PKGBUILD (from rev 277485, obs-studio/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-12-30 21:17:23 UTC (rev 277486) @@ -0,0 +1,35 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Benjamin Klettbach <b.klettb...@gmail.com> + +pkgname=obs-studio +pkgver=20.1.3 +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') +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) +md5sums=('4f62a84786c3d0072a0e943657e9dfe9') + +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" +}