41 lines
894 B
Plaintext
41 lines
894 B
Plaintext
# Description: Open Broadcaster Software Studio
|
|
# URL: https://obsproject.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: fdk-aac ffmpeg jansson libgmp mbedtls qt5 x264
|
|
# Optional: jack-audio-connection-kit ffnvcodec-headers vlc luajit speexdsp x265 pulseaudio libva
|
|
|
|
name=obs-studio
|
|
version=25.0.8
|
|
release=1
|
|
source=(https://github.com/obsproject/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
# cmake ..
|
|
# cmake -LA
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX='/usr' \
|
|
-DCMAKE_INSTALL_LIBDIR='/usr/lib' \
|
|
-DOBS_VERSION_OVERRIDE="$version" \
|
|
-DUNIX_STRUCTURE=ON \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
|
make DESTDIR="$PKG" install
|
|
|
|
chmod -R g-w $PKG
|
|
|
|
rm $PKG/usr/share/obs/obs-studio/authors/AUTHORS
|
|
|
|
find $PKG/usr/share/obs \
|
|
-iname '*ini' \
|
|
! -iname 'en-*.ini' \
|
|
! -iname 'locale.ini' \
|
|
-exec rm '{}' \+
|
|
}
|