1
This commit is contained in:
parent
2812d6ed31
commit
918f84cd63
@ -53,22 +53,18 @@ build_deps=('lib64alsa-oss-devel.x86_64' \
|
||||
'x264-devel')
|
||||
|
||||
|
||||
sources=("https://github.com/Palakis/obs-ndi/archive/${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
sources=("https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2
|
||||
https://github.com/obsproject/obs-studio.git")
|
||||
checksums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/obs-ndi-${version}
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
cd obs-studio
|
||||
mkdir build && cd build
|
||||
cmake -DENABLE_BROWSER=ON -DCEF_ROOT_DIR="../../cef_binary_5060_linux64" -DENABLE_AJA=OFF -DENABLE_NEW_MPEGTS_OUTPUT=OFF ..
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
install -Dm755 build/obs-ndi.so ${pkgdir}/usr/lib/obs-plugins/obs-ndi.so
|
||||
|
||||
install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user