2015-07-09 10:04:10 +00:00
|
|
|
# Maintainer: Benjamin Klettbach <b dot klettbach at gmail dot com >
|
|
|
|
# Contributor: ArcticVanguard <LideEmily at gmail dot com>
|
|
|
|
# Contributor: ledti <antergist at gmail dot com>
|
|
|
|
|
|
|
|
pkgname=obs-studio-git
|
|
|
|
_pkgname=obs-studio
|
2015-07-09 18:42:13 +00:00
|
|
|
pkgver=0.11.1.r0.g1efb849
|
2015-07-11 23:04:59 +00:00
|
|
|
pkgrel=2
|
2015-07-09 10:04:10 +00:00
|
|
|
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')
|
2015-07-11 23:04:59 +00:00
|
|
|
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras' 'curl')
|
2015-07-09 10:04:10 +00:00
|
|
|
makedepends=('cmake' 'git' 'libfdk-aac' 'libxcomposite' 'x264')
|
|
|
|
optdepends=('libfdk-aac: FDK AAC codec support'
|
|
|
|
'libxcomposite: XComposite capture support')
|
|
|
|
provides=('obs-studio')
|
|
|
|
conflicts=('obs-studio')
|
|
|
|
source=("$_pkgname::git://github.com/jp9000/obs-studio.git#branch=master")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
|
|
|
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
|
|
|
mkdir -p "build"
|
|
|
|
cd "build"
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
|
|
|
make -j`nproc`
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_pkgname/build"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|