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
|
2015-12-22 08:16:32 +00:00
|
|
|
pkgver=0.12.4.r7.g2a99e6f
|
|
|
|
pkgrel=1
|
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-12-22 08:16:32 +00:00
|
|
|
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras')
|
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')
|
2015-12-22 08:16:32 +00:00
|
|
|
source=("obs-studio::git://github.com/jp9000/obs-studio.git#branch=master")
|
2015-07-09 10:04:10 +00:00
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
2015-12-22 08:16:32 +00:00
|
|
|
cd "obs-studio"
|
2015-07-09 10:04:10 +00:00
|
|
|
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2015-12-22 08:16:32 +00:00
|
|
|
cd "obs-studio"
|
2015-07-09 10:04:10 +00:00
|
|
|
mkdir -p "build"
|
|
|
|
cd "build"
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
2015-12-22 08:16:32 +00:00
|
|
|
make
|
2015-07-09 10:04:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-12-22 08:16:32 +00:00
|
|
|
cd "obs-studio/build"
|
2015-07-09 10:04:10 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|