mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/nv-codec-headers: initial import
Bug: https://bugs.gentoo.org/653378 Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
1
media-libs/nv-codec-headers/Manifest
Normal file
1
media-libs/nv-codec-headers/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nv-codec-headers-8.1.24.1.tar.xz 44672 BLAKE2B 52bd3d7abe6887b270c3c04c5416fb481f77c4b4516527e0439681460e69e3a5a288ddad8e752a111b3109fbde4dae78c0660892a8ee8b284d1b06b32eb92ea8 SHA512 aa63141d234c0bd5f9cb7f568c54a10119e3f0270f7c344030c684865ef0f33106f1a45ce59dd8189c3b7493ee1522f9ba558a667d75bea68b738522e7dc1d11
|
||||
7
media-libs/nv-codec-headers/metadata.xml
Normal file
7
media-libs/nv-codec-headers/metadata.xml
Normal file
@@ -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>
|
||||
39
media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild
Normal file
39
media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user