18 lines
517 B
Plaintext
18 lines
517 B
Plaintext
![]() |
# Description: FFmpeg version of headers required to interface with Nvidias codec APIs.
|
||
|
# URL: https://github.com/FFmpeg/nv-codec-headers
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
|
||
|
name=nv-codec-headers
|
||
|
version=11.0.10.0
|
||
|
release=1
|
||
|
source=(https://github.com/FFmpeg/nv-codec-headers/archive/n$version/$name-n$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-n$version
|
||
|
|
||
|
sed -i -e 's|/include|/include/ffnvcodec|g' ffnvcodec.pc.in
|
||
|
|
||
|
make PREFIX=/usr LIBDIR=/share
|
||
|
make PREFIX=/usr LIBDIR=/share DESTDIR="$PKG" install
|
||
|
}
|