[Slackbuilds-users] Update for 15.0: nv-codec-headers

andrew andrew.david.strong at gmail.com
Fri Mar 4 03:16:03 UTC 2022


Hi,

Attached is a patch against latest git for Slackware 15.0 and
nv-codec-headers.

Andrew

-- 
You think that's air you're breathing now?
-------------- next part --------------
diff --git a/libraries/nv-codec-headers/README b/libraries/nv-codec-headers/README
index 54f1224e..35098671 100644
--- a/libraries/nv-codec-headers/README
+++ b/libraries/nv-codec-headers/README
@@ -1,8 +1,8 @@
 The FFmpeg version of Nvidia Codec SDK headers which are required
 to interface with Nvidia's codec APIs. The purpose of these
 headers is to allow hardware (GPU) encoding with suitable NVidia
-cards. This version corresponds to Video Codec SDK version 11.0.10
-and requires NVidia drivers version 455.28 or newer.
+cards. This version corresponds to Video Codec SDK version 11.1.5
+and requires NVidia drivers version 470.57.02 or newer.
 
 There are 3 stages in the history of NVidia GPU encoding with FFmpeg:
 
diff --git a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
old mode 100644
new mode 100755
index fb90b4c4..4fcd92f2
--- a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
+++ b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
@@ -2,7 +2,7 @@
 
 # Slackware build script for nv-codec-headers
 
-# Copyright 2018-2021, Andrew Strong, Blue Mountains, Australia.
+# Copyright 2018-2022, Andrew Strong, Blue Mountains, Australia.
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
 PRGNAM=nv-codec-headers
 # Note that the version number is contained
 # within the file ffnvcodec.pc.in:
-VERSION=${VERSION:-11.0.10.0}
+VERSION=${VERSION:-11.1.5.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -72,10 +72,10 @@ rm -rf $PRGNAM
 rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 
+rm -rf $PRGNAM-n$VERSION
+tar xvf $CWD/$PRGNAM-n$VERSION.tar.gz 
 
-cd $PRGNAM-$VERSION
+cd $PRGNAM-n$VERSION
 chown -R root:root .
 
 make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX} install DESTDIR=$PKG
diff --git a/libraries/nv-codec-headers/nv-codec-headers.info b/libraries/nv-codec-headers/nv-codec-headers.info
index ff59df3c..da209c24 100644
--- a/libraries/nv-codec-headers/nv-codec-headers.info
+++ b/libraries/nv-codec-headers/nv-codec-headers.info
@@ -1,8 +1,8 @@
 PRGNAM="nv-codec-headers"
-VERSION="11.0.10.0"
+VERSION="11.1.5.1"
 HOMEPAGE="https://github.com/FFmpeg/nv-codec-headers"
-DOWNLOAD="https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.0.10.0/nv-codec-headers-11.0.10.0.tar.gz"
-MD5SUM="b3513b09f42036a0d591f2e68a27dfb5"
+DOWNLOAD="https://github.com/FFmpeg/nv-codec-headers/archive/refs/tags/n11.1.5.1.tar.gz"
+MD5SUM="7369898ed93e0c9bb4ad1fef80888806"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
diff --git a/libraries/nv-codec-headers/slack-desc b/libraries/nv-codec-headers/slack-desc
index 2d7cc06f..c690a433 100644
--- a/libraries/nv-codec-headers/slack-desc
+++ b/libraries/nv-codec-headers/slack-desc
@@ -9,7 +9,7 @@
 nv-codec-headers: nv-codec-headers (FFmpeg version of Nvidia Codec SDK headers)
 nv-codec-headers:
 nv-codec-headers: FFmpeg version of headers required to interface with Nvidia's
-nv-codec-headers: codec APIs. Corresponds to Video Codec SDK version 11.0.10.
+nv-codec-headers: codec APIs. Corresponds to Video Codec SDK version 11.1.5.
 nv-codec-headers:
 nv-codec-headers:
 nv-codec-headers:


More information about the SlackBuilds-users mailing list