summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Andrew Strong2020-01-03 03:15:07 +0100
committer Robby Workman2020-01-03 06:33:51 +0100
commit899d1f4beafee4ca45354ee1f03b148e1fcb12f4 (patch)
tree00bf6687ac4e35937246923775a265749f11ba51 /libraries
parent530afba0e73e57df68f64261e40e219af6a45b3d (diff)
downloadslackbuilds-899d1f4beafee4ca45354ee1f03b148e1fcb12f4.tar.gz
libraries/nv-codec-headers: Updated for version 9.1.23.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/nv-codec-headers/README6
-rw-r--r--libraries/nv-codec-headers/nv-codec-headers.SlackBuild13
-rw-r--r--libraries/nv-codec-headers/nv-codec-headers.info8
-rw-r--r--libraries/nv-codec-headers/slack-desc4
4 files changed, 14 insertions, 17 deletions
diff --git a/libraries/nv-codec-headers/README b/libraries/nv-codec-headers/README
index e0fae6c4d4..e2f3d1ece6 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 9.0.18
-and requires NVidia drivers version 418.30 or newer.
+cards. This version corresponds to Video Codec SDK version 9.1.23
+and requires NVidia drivers version 435.21 or newer.
There are 3 stages in the history of NVidia GPU encoding with FFmpeg:
@@ -15,4 +15,4 @@ There are 3 stages in the history of NVidia GPU encoding with FFmpeg:
to hold continuing work with these headers.
This nv-codec-headers script is for point 3 where the headers will
-need to be installed before compiling FFmpeg.
+need to be installed before compiling a recent FFmpeg.
diff --git a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
index 810ad2304a..8665910e35 100644
--- 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-2019, Andrew Strong, Blue Mountains, Australia.
+# Copyright 2018-2020, Andrew Strong, Blue Mountains, Australia.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=nv-codec-headers
# Note that the version number is contained
# within the file ffnvcodec.pc.in:
-VERSION=${VERSION:-9.0.18.2}
+VERSION=${VERSION:-9.1.23.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,6 +33,7 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -67,12 +68,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-# Adjust Makefile for Slackware needs:
-sed -i 's#PREFIX = /usr/local#PREFIX = /usr#' Makefile
-sed -i "s#LIBDIR = lib#LIBDIR = lib${LIBDIRSUFFIX}#" Makefile
-
-make
-make install DESTDIR=$PKG
+make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX}
+make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX} install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/nv-codec-headers/nv-codec-headers.info b/libraries/nv-codec-headers/nv-codec-headers.info
index facc7168b7..225116e308 100644
--- a/libraries/nv-codec-headers/nv-codec-headers.info
+++ b/libraries/nv-codec-headers/nv-codec-headers.info
@@ -1,10 +1,10 @@
PRGNAM="nv-codec-headers"
-VERSION="9.0.18.2"
+VERSION="9.1.23.2"
HOMEPAGE="http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary"
-DOWNLOAD="http://www.andrews-corner.org/downloads/nv-codec-headers-9.0.18.2.tar.gz"
-MD5SUM="1973f4c485d01795ba10863b71df680d"
+DOWNLOAD="http://www.andrews-corner.org/downloads/nv-codec-headers-9.1.23.2.tar.gz"
+MD5SUM="9be5b7eda70e2da532e38a989db1131e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
+EMAIL="andrew.david.strong@gmail.com" \ No newline at end of file
diff --git a/libraries/nv-codec-headers/slack-desc b/libraries/nv-codec-headers/slack-desc
index 6a14b897f9..0c45ab1180 100644
--- a/libraries/nv-codec-headers/slack-desc
+++ b/libraries/nv-codec-headers/slack-desc
@@ -9,11 +9,11 @@
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 9.0.18.
+nv-codec-headers: codec APIs. Corresponds to Video Codec SDK version 9.1.23.
nv-codec-headers:
+nv-codec-headers: http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary
nv-codec-headers:
nv-codec-headers:
-nv-codec-headers: http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary
nv-codec-headers:
nv-codec-headers:
nv-codec-headers: