forked from ports/contrib
ffnvcodec-headers: initial import, headers for nvidia hardware encoding
This commit is contained in:
parent
636154be3b
commit
2380f25fb6
11
ffnvcodec-headers/.footprint
Normal file
11
ffnvcodec-headers/.footprint
Normal file
@ -0,0 +1,11 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/ffnvcodec/
|
||||
-rw-r--r-- root/root usr/include/ffnvcodec/dynlink_cuda.h
|
||||
-rw-r--r-- root/root usr/include/ffnvcodec/dynlink_cuviddec.h
|
||||
-rw-r--r-- root/root usr/include/ffnvcodec/dynlink_loader.h
|
||||
-rw-r--r-- root/root usr/include/ffnvcodec/dynlink_nvcuvid.h
|
||||
-rw-r--r-- root/root usr/include/ffnvcodec/nvEncodeAPI.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/ffnvcodec.pc
|
4
ffnvcodec-headers/.signature
Normal file
4
ffnvcodec-headers/.signature
Normal file
@ -0,0 +1,4 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36q8FYdMX+9GyvjNbFatvmm64J1Wc8M8fUfnn+/WT/s9bYHf4gl7d2ofsj6FevEl2vxl7q733Eq77IWOhqXxnQk=
|
||||
SHA256 (Pkgfile) = f4c3842c462fd66f0dcc74df5b8d63db9efb1bb4c4e8bd01445f8fd511127174
|
||||
SHA256 (.footprint) = be8f6cf36b436f78bec9ce3612513e6d35ecd8a0518cc970d176d3613a721566
|
27
ffnvcodec-headers/Pkgfile
Normal file
27
ffnvcodec-headers/Pkgfile
Normal file
@ -0,0 +1,27 @@
|
||||
# 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
|
||||
version=9.0.18.0
|
||||
scersion=9d031613c3aa5fb517821ba81f8f57dd22474345
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user