libraries/nv-codec-headers: Updated for version 9.1.23.2.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andrew Strong 2020-01-02 20:15:07 -06:00 committed by Robby Workman
parent 530afba0e7
commit 899d1f4bea
4 changed files with 15 additions and 18 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"

View File

@ -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:
nv-codec-headers:
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:
nv-codec-headers:
nv-codec-headers: