summaryrefslogtreecommitdiff
path: root/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 01:05:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 01:05:28 +0000
commitbb9a27e9bdeb952a1a69fd1fcdcdab352f34bccf (patch)
tree55017fb74a6c7cb2955d144c3c754df602db16c9 /media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild
parentd8f5aa92552bc478c28511ef29121c7cc1dc6940 (diff)
media-libs/nv-codec-headers : version bump
Diffstat (limited to 'media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild')
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild
new file mode 100644
index 00000000..c0aec01f
--- /dev/null
+++ b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r10.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+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_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+}
+
+multilib_src_install() {
+ emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install
+}