[crux-commits] ports/contrib (3.6): [notify] nv-codec-headers: -> 11.0.10.0 renamed from ffnvcodec-headers

crux at crux.nu crux at crux.nu
Sun Apr 18 02:32:03 UTC 2021


commit 3cf076f427fcdc9393ed3ce4c69637e0f22842ec
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Apr 18 12:31:55 2021 +1000

    [notify] nv-codec-headers:  -> 11.0.10.0 renamed from ffnvcodec-headers

diff --git a/ffnvcodec-headers/.signature b/ffnvcodec-headers/.signature
deleted file mode 100644
index b08641325..000000000
--- a/ffnvcodec-headers/.signature
+++ /dev/null
@@ -1,4 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36lDm0U5V/RcRup1DAap5nATQJt1mFDqYXgVhYkmKJZ8X/U1dKxJB36KU0ZSFWyT7/6GLL1uKTUbN45fURzs+AY=
-SHA256 (Pkgfile) = 0fad224f83b2ec7ae2e4584feffbdf00f7f728b4cc288e9e0a76718b45154d17
-SHA256 (.footprint) = be8f6cf36b436f78bec9ce3612513e6d35ecd8a0518cc970d176d3613a721566
diff --git a/ffnvcodec-headers/Pkgfile b/ffnvcodec-headers/Pkgfile
deleted file mode 100644
index d0dfac4b9..000000000
--- a/ffnvcodec-headers/Pkgfile
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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=10.0.26.1
-sversion=a99740a84b49fd609e04b03279e66c5a8b767440
-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
-}
diff --git a/ffnvcodec-headers/.footprint b/nv-codec-headers/.footprint
similarity index 75%
rename from ffnvcodec-headers/.footprint
rename to nv-codec-headers/.footprint
index f92e7f53d..77ac29ce2 100644
--- a/ffnvcodec-headers/.footprint
+++ b/nv-codec-headers/.footprint
@@ -6,6 +6,6 @@ drwxr-xr-x	root/root	usr/include/ffnvcodec/
 -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
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/pkgconfig/
+-rw-r--r--	root/root	usr/share/pkgconfig/ffnvcodec.pc
diff --git a/nv-codec-headers/.signature b/nv-codec-headers/.signature
new file mode 100644
index 000000000..5ffc7d95e
--- /dev/null
+++ b/nv-codec-headers/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3771g+OzZg6t74m9K7OHY1zSsATTi5bWSL2xG7ZNjJnjb5jI7riX/Ed+Tak1ng7vzepBIzb8t87aD6x86apNyw8=
+SHA256 (Pkgfile) = 957b82f8f2d55232c1e3a51ba1258a035e0e7c5ed7dad42af419ac639ddb518b
+SHA256 (.footprint) = 5d781dfd08b3879be9f6f5eb4e0df66519c6aa0ea2af326ddf989f1db58ee481
+SHA256 (nv-codec-headers-n11.0.10.0.tar.gz) = 96db8f4a5cda18cd757fc0e74bc27f372441fdbf814ec7f0f1ee6caa73780310
diff --git a/nv-codec-headers/Pkgfile b/nv-codec-headers/Pkgfile
new file mode 100644
index 000000000..a100c54a7
--- /dev/null
+++ b/nv-codec-headers/Pkgfile
@@ -0,0 +1,17 @@
+# 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
+}


More information about the crux-commits mailing list