summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-04-22 19:37:12 +0200
committerAlexis Ballier <aballier@gentoo.org>2018-04-22 19:37:30 +0200
commitc5375a788f0fc9bc32f67c5ee56c6e0b0debdc41 (patch)
tree8530c2cc40836c50a1392612faa0679c81daa9e5 /media-libs/nv-codec-headers
parentapp-misc/ca-certificates: Cleanup old (diff)
downloadgentoo-c5375a788f0fc9bc32f67c5ee56c6e0b0debdc41.tar.gz
gentoo-c5375a788f0fc9bc32f67c5ee56c6e0b0debdc41.tar.bz2
gentoo-c5375a788f0fc9bc32f67c5ee56c6e0b0debdc41.zip
media-libs/nv-codec-headers: use upstream tarball
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-libs/nv-codec-headers')
-rw-r--r--media-libs/nv-codec-headers/Manifest2
-rw-r--r--media-libs/nv-codec-headers/metadata.xml3
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-8.1.24.1.ebuild8
3 files changed, 6 insertions, 7 deletions
diff --git a/media-libs/nv-codec-headers/Manifest b/media-libs/nv-codec-headers/Manifest
index 3c9ef13cf9e4..606efea0a73e 100644
--- a/media-libs/nv-codec-headers/Manifest
+++ b/media-libs/nv-codec-headers/Manifest
@@ -1 +1 @@
-DIST nv-codec-headers-8.1.24.1.tar.xz 44672 BLAKE2B 52bd3d7abe6887b270c3c04c5416fb481f77c4b4516527e0439681460e69e3a5a288ddad8e752a111b3109fbde4dae78c0660892a8ee8b284d1b06b32eb92ea8 SHA512 aa63141d234c0bd5f9cb7f568c54a10119e3f0270f7c344030c684865ef0f33106f1a45ce59dd8189c3b7493ee1522f9ba558a667d75bea68b738522e7dc1d11
+DIST nv-codec-headers-8.1.24.1.tar.gz 53312 BLAKE2B debb3556399c19ab4d6b6399a187aae23d4480309531d8c60032cf0832f21943e6c568eddd05df200daa17fbfadb679f6b48f59721c0f66ce17ca916e3812dc9 SHA512 b3d8ac2611260bff20ecfb223e1fe84190ea1264a77fda7273624b2ec2dd1ccee3d92d91217546bf9db4c52997fc5c4a769466c363fd67b06dee4f962712776d
diff --git a/media-libs/nv-codec-headers/metadata.xml b/media-libs/nv-codec-headers/metadata.xml
index 106575f01e53..7e6631855605 100644
--- a/media-libs/nv-codec-headers/metadata.xml
+++ b/media-libs/nv-codec-headers/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">FFmpeg/nv-codec-headers</remote-id>
+ </upstream>
</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
index 94eab8fa1623..61ca145dbfff 100644
--- 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
@@ -7,7 +7,7 @@ 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"
+SRC_URI="https://github.com/FFmpeg/nv-codec-headers/releases/download/n${PV}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -19,11 +19,7 @@ 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}"
+S="${WORKDIR}/${PN}-n${PV}"
src_prepare() {
multilib_copy_sources