mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:47:22 +08:00
36 lines
995 B
Bash
36 lines
995 B
Bash
pkgname=obs-studio
|
|
pkgver=22.0.2
|
|
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' 'swig' 'python3' 'luajit')
|
|
optdepends=('libfdk-aac: FDK AAC codec support'
|
|
'libxcomposite: XComposite capture support'
|
|
'luajit: scripting support'
|
|
'python: scripting support'
|
|
'vlc: VLC Media Source support')
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz)
|
|
md5sums=('8c63cdc08a4510f288d174c65b252544')
|
|
|
|
|
|
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"
|
|
}
|