nv-codec-headers
This commit is contained in:
parent
0548ef7765
commit
8fea677b11
34
nv-codec-headers/alr.sh
Normal file
34
nv-codec-headers/alr.sh
Normal file
@ -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="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
|
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
|
||||||
|
}
|
@ -84,6 +84,13 @@ build_deps_redos=('alsa-plugins-oss'
|
|||||||
'oneVPL-devel'
|
'oneVPL-devel'
|
||||||
'libva-devel'
|
'libva-devel'
|
||||||
'nlohmann-json'
|
'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"
|
sources=("https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2"
|
||||||
|
Loading…
Reference in New Issue
Block a user