summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2022-07-30 21:16:23 +0000
committerJoonas Niilola <juippis@gentoo.org>2022-08-17 19:17:55 +0300
commitb01249f6100d1e80b8bbf48148254933eb8d1350 (patch)
tree35ae12696cf710ae4a1287066b235d222b489a63 /media-libs/amf-headers
parentmedia-video/amdgpu-pro-amf: version bump to 1.4.26 (diff)
downloadgentoo-b01249f6100d1e80b8bbf48148254933eb8d1350.tar.gz
gentoo-b01249f6100d1e80b8bbf48148254933eb8d1350.tar.bz2
gentoo-b01249f6100d1e80b8bbf48148254933eb8d1350.zip
media-libs/amf-headers: version bump to 1.4.26
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Closes: https://github.com/gentoo/gentoo/pull/26526 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/amf-headers')
-rw-r--r--media-libs/amf-headers/Manifest1
-rw-r--r--media-libs/amf-headers/amf-headers-1.4.26.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/amf-headers/Manifest b/media-libs/amf-headers/Manifest
index 51310f46cb03..746ffb905173 100644
--- a/media-libs/amf-headers/Manifest
+++ b/media-libs/amf-headers/Manifest
@@ -1,2 +1,3 @@
DIST amf-headers-1.4.23.tar.gz 14971091 BLAKE2B d569851ccb5b3cd57bfff3e6475207e9f01681c2215add160a83165653efce2f0c8acc41a49c227952a649f0cfe92e7e713fbee8bd45b0489844c19e83fa5c74 SHA512 98b2b7d634ac24be5c5234fad99d58c9668b2dab83e89162a0508f9b06efec5de29b307534dc1dd677f9586be2c4fa58c8f04a535d5e66fa0be3b233a117a5d7
DIST amf-headers-1.4.24.tar.gz 180663559 BLAKE2B 68d5da7a3398393f30c8dcea8d2398cb8140e29f1ed92e6a0e801531ece9af614ddb4e8ea647665352da8f2f107a574dd5d016f3244527f85e6867339c5e4901 SHA512 6183ca9ebf430b444b0754400566c8f84f6957d652c1f288ac181f308e34f418f2f138c34b2f2840079cc04c8a17ba757996650783c7e40482a36c9949667995
+DIST amf-headers-1.4.26.tar.gz 178442976 BLAKE2B a6ef9e69a2d8caab94e5d17d6bd777b3b01683e6bcdd6872df0148f742fb7bc5c4927143239320a01c3f74f033e9a3665bbcd3698949c6f66fcaf31e1edbe3f2 SHA512 2c931ef7d38ade88a96041e0012605a5d25ec484bb2134f58310cf1a2c7212a869797cef99e2e751c8a6b3c473ba1f8762d4a5d41466d38cb5e31bf664a25f55
diff --git a/media-libs/amf-headers/amf-headers-1.4.26.ebuild b/media-libs/amf-headers/amf-headers-1.4.26.ebuild
new file mode 100644
index 000000000000..f96ac72bc0e6
--- /dev/null
+++ b/media-libs/amf-headers/amf-headers-1.4.26.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
+else
+ SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="The Advanced Media Framework (AMF) SDK"
+HOMEPAGE="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+S="${WORKDIR}/AMF-${PV}"
+
+src_unpack() {
+ default
+
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ fi
+}
+
+src_install() {
+ insinto "/usr/include/AMF"
+ doins -r "${S}/amf/public/include/"*
+}