mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
37 lines
916 B
Bash
37 lines
916 B
Bash
pkgname=obs-studio
|
|
pkgver=0.15.2
|
|
pkgrel=1
|
|
pkgdesc="Free and open source software for video recording and live streaming."
|
|
arch=('x86_64')
|
|
url="https://github.com/jp9000/obs-studio"
|
|
license=('GPL2')
|
|
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11'
|
|
'qt5-x11extras' 'curl' 'hicolor-icon-theme' 'jack')
|
|
makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264')
|
|
optdepends=('libfdk-aac: FDK AAC codec support'
|
|
'libxcomposite: XComposite capture support')
|
|
install=$pkgname.install
|
|
source=("$pkgname-$pkgver::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz")
|
|
sha1sums=('00a9ce3794664502699a128ba8da97d71e01f9d3')
|
|
|
|
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"
|
|
}
|