2019-03-05 01:32:18 +11:00
|
|
|
# Description: FFmpeg version of headers required to interface with Nvidias codec APIs.
|
|
|
|
# URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: git
|
|
|
|
|
|
|
|
name=ffnvcodec-headers
|
2020-12-27 17:58:21 +11:00
|
|
|
version=10.0.26.1
|
|
|
|
sversion=a99740a84b49fd609e04b03279e66c5a8b767440
|
2019-03-05 01:32:18 +11:00
|
|
|
release=1
|
|
|
|
source=()
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $PKGMK_SOURCE_DIR
|
|
|
|
if cd $name; then
|
|
|
|
git pull --rebase git://git.videolan.org/git/ffmpeg/nv-codec-headers.git master
|
|
|
|
git checkout $sversion
|
|
|
|
else
|
|
|
|
git clone git://git.videolan.org/git/ffmpeg/nv-codec-headers.git $name
|
|
|
|
cd $name
|
|
|
|
git checkout $sversion
|
|
|
|
fi
|
|
|
|
cp -r $PKGMK_SOURCE_DIR/$name $SRC
|
|
|
|
|
|
|
|
cd $SRC/$name
|
|
|
|
make PREFIX='/usr'
|
|
|
|
make PREFIX='/usr' DESTDIR="$PKG" install
|
|
|
|
}
|