diff --git a/nv-codec-headers/alr.sh b/nv-codec-headers/alr.sh new file mode 100644 index 0000000..5f5a20a --- /dev/null +++ b/nv-codec-headers/alr.sh @@ -0,0 +1,34 @@ +name='nv-codec-headers' +version='12.2.72.0' +release='1' +desc='FFmpeg version of headers required to interface with Nvidias codec APIs.' +homepage='https://github.com/FFmpeg/nv-codec-headers' +maintainer="Евгений Храмов " +architectures=('amd64') +licenses='MIT' +provides=('nv-codec-headers') +conflicts=('nv-codec-headers' 'nv-codec-headers-git') + +build_deps_rosa=('cmake' 'git') +sources=("https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.2.72.0/nv-codec-headers-${version}.tar.gz") +checksums=('SKIP') + +build() { + cd "${srcdir}" + mkdir build + cd ./build + cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + make -j$(nproc) +} + +check() { + cd "${srcdir}/build" + cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON + make -j$(nproc) + ctest --output-on-failure +} + +package() { + cd "${srcdir}/build" + make "DESTDIR=${pkgdir}" install +} diff --git a/obs-studio/alr.sh b/obs-studio/alr.sh index 9c8c91f..12fe0a3 100755 --- a/obs-studio/alr.sh +++ b/obs-studio/alr.sh @@ -84,6 +84,13 @@ build_deps_redos=('alsa-plugins-oss' 'oneVPL-devel' 'libva-devel' 'nlohmann-json' + 'qt6-qtsvg-devel' + 'libqrcodegencpp-devel' + 'websocketpp-devel' + 'asio-devel' + 'x264-devel' + 'pciutils-devel' + 'nv-codec-headers' ) sources=("https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2"