summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-11-23 02:31:30 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-11-23 03:04:23 -0500
commitfe1cf3e40c1140435e2628c3bd1e6aa10e69efea (patch)
tree1354e852d9d3e4978a9c208aed795c4a23418725 /media-libs/nv-codec-headers
parentmedia-libs/nv-codec-headers: drop 11.1.5.2-r0 (diff)
downloadgentoo-fe1cf3e40c1140435e2628c3bd1e6aa10e69efea.tar.gz
gentoo-fe1cf3e40c1140435e2628c3bd1e6aa10e69efea.tar.bz2
gentoo-fe1cf3e40c1140435e2628c3bd1e6aa10e69efea.zip
media-libs/nv-codec-headers: add 12.1.14.0
Bug: https://bugs.gentoo.org/917765 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/nv-codec-headers')
-rw-r--r--media-libs/nv-codec-headers/Manifest1
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-12.1.14.0.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/Manifest b/media-libs/nv-codec-headers/Manifest
index 35bac059a739..31197a9bd246 100644
--- a/media-libs/nv-codec-headers/Manifest
+++ b/media-libs/nv-codec-headers/Manifest
@@ -1 +1,2 @@
DIST nv-codec-headers-11.1.5.1.tar.gz 68516 BLAKE2B 0c47b885f1dc14aa6a6118ee66ffc2846626986eee0a3c5fc6159f16aa72e5d12e6ccc44bb68b095cb36f68d8b437bde98c870e23b2794048de96b40fc85acae SHA512 b0738e51e3d542483a15bdbf615b1233a2ef110f1a12853b1af45c650fbd144f4aa94dd68289c66582eedb2309bf266c7e1c0ef48b9e2ee1789fd009ed45bd88
+DIST nv-codec-headers-12.1.14.0.tar.gz 77418 BLAKE2B e9e9bb25da88108c8d9168c7d810f12ea3759b1e42e8a2115e5fc45164b1de18d59e30ed3b8a368945fd1a3774c4ad418a90b616cc9ac29cc7912a5e03a0876c SHA512 2b70becf2896a2bb1d1fe06a7e12245c69c34eb67592bb30fa64784063de0b952f9b066ab74c01aec4caca301fe7a3ecc615eeec919f23f6a5fafeff2ada6c18
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-12.1.14.0.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-12.1.14.0.ebuild
new file mode 100644
index 000000000000..fdfed74941ef
--- /dev/null
+++ b/media-libs/nv-codec-headers/nv-codec-headers-12.1.14.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="FFmpeg version of headers required to interface with Nvidias codec APIs"
+HOMEPAGE="https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"
+SRC_URI="https://github.com/FFmpeg/nv-codec-headers/releases/download/n${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install
+
+ dodir /usr/share
+ mv -- "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/share || die
+}