desktop/obs-studio/PKGBUILD

38 lines
968 B
Bash
Raw Normal View History

2016-04-24 18:28:46 +08:00
pkgname=obs-studio
2017-05-26 03:41:39 +08:00
pkgver=19.0.2
2017-05-08 21:36:13 +08:00
pkgrel=1
2016-04-24 18:28:46 +08:00
pkgdesc="Free and open source software for video recording and live streaming."
arch=('x86_64')
url="https://github.com/jp9000/obs-studio"
license=('GPL2')
2017-01-26 06:12:12 +08:00
depends=('ffmpeg' 'libxinerama' 'libxkbcommon-x11'
2016-04-24 18:28:46 +08:00
'qt5-x11extras' 'curl' 'hicolor-icon-theme' 'jack')
2016-12-26 20:14:16 +08:00
makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264' 'vlc')
2016-04-24 18:28:46 +08:00
optdepends=('libfdk-aac: FDK AAC codec support'
2016-12-26 20:14:16 +08:00
'libxcomposite: XComposite capture support'
'vlc: VLC plugin')
2016-04-24 18:28:46 +08:00
install=$pkgname.install
source=("$pkgname-$pkgver::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz")
2017-05-26 03:41:39 +08:00
sha256sums=('c7846e09f13061587d844588c538276aec6d498c8f9a4518fc3d8bb206776f01')
2016-04-24 18:28:46 +08:00
prepare() {
cd $pkgname-$pkgver
mkdir -p build
}
build() {
cd $pkgname-$pkgver/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" ..
make
}
package() {
cd $pkgname-$pkgver/build
make install DESTDIR="$pkgdir"
}