summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-31 21:22:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-31 21:22:17 +0000
commit820f109bd2ccce6c9123fd4df490152a347aebea (patch)
tree0a3e1892344ad7499b6b9306764fc05ba2c91d9d /media-libs
parent536ca625d8308a264616f095d25ac20ab48af5cf (diff)
media-libs/nv-codec-headers : import from gentoo, drop dependency on nvidia-drivers
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/nv-codec-headers/Manifest1
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/Manifest b/media-libs/nv-codec-headers/Manifest
new file mode 100644
index 00000000..70e2ebb7
--- /dev/null
+++ b/media-libs/nv-codec-headers/Manifest
@@ -0,0 +1 @@
+DIST nv-codec-headers-10.0.26.1.tar.gz 62544 BLAKE2B a19d87101fe0bb511383ca6d5f61fe5a8ecce54827a09ae5526d6b546f50cf14368887550f7689180041e8a36b61ba53c103b8a225a7765670b5d97169d62a62 SHA512 18c507d73efc8b7194bcc79a2e25f88c81390d10766511f9b0c4826cb7b9332e9d0f2667441dd5529575dd1d2c0e0625304ee489c643c9f66ec90f2dbab566c9
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild
new file mode 100644
index 00000000..6612d6f5
--- /dev/null
+++ b/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ multilib_copy_sources
+ default
+}
+
+multilib_src_compile() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
+}
+
+multilib_src_install() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install
+}