summaryrefslogtreecommitdiff
path: root/media-libs/nv-codec-headers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-22 14:25:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-22 14:25:03 +0100
commit5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (patch)
treeb041acef19bb9ae66c228d5c9d34d1e00aeb2b95 /media-libs/nv-codec-headers
parent5cfef3c94cd7e82136c69a0322f5ba21f7e64632 (diff)
gentoo resync : 22.04.2018
Diffstat (limited to 'media-libs/nv-codec-headers')
-rw-r--r--media-libs/nv-codec-headers/Manifest3
-rw-r--r--media-libs/nv-codec-headers/metadata.xml7
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild39
3 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/Manifest b/media-libs/nv-codec-headers/Manifest
new file mode 100644
index 000000000000..47cc27d30e47
--- /dev/null
+++ b/media-libs/nv-codec-headers/Manifest
@@ -0,0 +1,3 @@
+DIST nv-codec-headers-8.1.24.1.tar.xz 44672 BLAKE2B 52bd3d7abe6887b270c3c04c5416fb481f77c4b4516527e0439681460e69e3a5a288ddad8e752a111b3109fbde4dae78c0660892a8ee8b284d1b06b32eb92ea8 SHA512 aa63141d234c0bd5f9cb7f568c54a10119e3f0270f7c344030c684865ef0f33106f1a45ce59dd8189c3b7493ee1522f9ba558a667d75bea68b738522e7dc1d11
+EBUILD nv-codec-headers-8.1.24.1.ebuild 848 BLAKE2B 985aaaebd8ef70f9dbb5b10f123d6b48d434ca70c1d9bfd119b53ea14428cf8589fa1f20e91596213d6b436e4d5a69503e47884845c00eb3be688843e94ec133 SHA512 b86f9b51222b5ff3c1374cdf1034d58c65f065961b133419843e1b2fd8da8a58d6790f13c8c5fc967d0d3f02215d7183e1e384cc3130bd9828ad93a70364908b
+MISC metadata.xml 227 BLAKE2B 129a977f3a470f0774cb25c7d9d67968f807b5bbba6b1d1b1d0155e288555355796826ce187abf95a06ee0a448e08e9c5ec34ee79d9895bf2718b47ff0d9bfe8 SHA512 d39fc0676c06bf09884fa817e0d5dc386a536d5626a9c2cf34ddb8b7e29d612ecb2c617214788ffe729c5118c632c119e03ce6d38f17114c48c090c82a2ec2e5
diff --git a/media-libs/nv-codec-headers/metadata.xml b/media-libs/nv-codec-headers/metadata.xml
new file mode 100644
index 000000000000..106575f01e53
--- /dev/null
+++ b/media-libs/nv-codec-headers/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild
new file mode 100644
index 000000000000..94eab8fa1623
--- /dev/null
+++ b/media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ >=x11-drivers/nvidia-drivers-390.25[${MULTILIB_USEDEP}]
+"
+
+# Snapshot from:
+# EGIT_REPO_URI="https://git.videolan.org/git/ffmpeg/nv-codec-headers.git"
+# EGIT_COMMIT="n${PV}"
+
+S="${WORKDIR}/${PN}"
+
+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
+}