summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2024-03-23 17:36:16 +0100
committerJoonas Niilola <juippis@gentoo.org>2024-04-26 09:55:02 +0300
commite7139040b9ca26d6df3cc57860eee6baf787f608 (patch)
tree15bcb18cdeca7f0373051e1a82608eeba0968e2a /media-video/amdgpu-pro-amf
parentmedia-libs/amdgpu-pro-vulkan: drop versions (diff)
downloadgentoo-e7139040b9ca26d6df3cc57860eee6baf787f608.tar.gz
gentoo-e7139040b9ca26d6df3cc57860eee6baf787f608.tar.bz2
gentoo-e7139040b9ca26d6df3cc57860eee6baf787f608.zip
media-video/amdgpu-pro-amf: add 1.4.33.1718238
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/amdgpu-pro-amf')
-rw-r--r--media-video/amdgpu-pro-amf/Manifest1
-rw-r--r--media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.33.1718238.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/amdgpu-pro-amf/Manifest b/media-video/amdgpu-pro-amf/Manifest
index 3b6169ece602..6a0999834147 100644
--- a/media-video/amdgpu-pro-amf/Manifest
+++ b/media-video/amdgpu-pro-amf/Manifest
@@ -3,3 +3,4 @@ DIST amdgpu-pro-amf-1.4.26.1511376.deb 1502528 BLAKE2B c2199f6b026552f486f2c7f75
DIST amdgpu-pro-amf-1.4.29.1580631.deb 1653852 BLAKE2B 5af5250c07e1b99ae8c1ee28507927e28ee7811929c789b5939a06f631b81155d6795e1392830945bf377f5298a5153e9af3541b2d94533661db394a059fb715 SHA512 07568c5e2f92f10274f7ac25a9d68539b8ce2e5d24c87e9b6a3aec2b8d5a32980c8fd802394dfa6eb421d3321dd60e07929e7f481578d23afcf623c5c9aa2fcc
DIST amdgpu-pro-amf-1.4.30.1620044.deb 1671392 BLAKE2B 89611307dff4f77099ed52e8f7b523e842691b2fe970da7669a961048d5addd969068366a23d7c2df5710b67aeaf7a9cc3f4b902a708a4c686f00c32aa8cdb0c SHA512 4db5a814129a4d6e75466fd4e618eda155e031b70f184d5bf4dae78a13a61559fa26a1dcbc3d259064063467441822a34873af1142ab0366e38b61521c912bf4
DIST amdgpu-pro-amf-1.4.31.1654522.deb 1694280 BLAKE2B ed2b6ab43b72bc7062bf7c5ec572983a9e3ebc96d2ed47d57903ebe12180a53cbc4848b81c9061da0aed30f32ec890b65cb75e234c1e942de6a277a5335d38bc SHA512 fdfc989f7dfcbe82081846b8cecd230fc927b1036a3cd5305e5299d843a4b3f19790f0f3be625322cb5cd79e2bf46721787843a52573baf65809196d6680f0f9
+DIST amdgpu-pro-amf-1.4.33.1718238.deb 3311972 BLAKE2B 549ab0cae83e6014ef79ef70981cdb296cebee1cdeeb7d07258523018d9efa89e174fbabe537896e524b69064806dc12bf24aae29f291d76b5bddb3d2e203639 SHA512 ec5771eebe30d749e5fa753600a9fc02ca97b5023cbbd9f58ffbf657a5f6c4d1e2066da1974ad759c6d9089b233c25654fbb0ec019b34232445f9e4f53720388
diff --git a/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.33.1718238.ebuild b/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.33.1718238.ebuild
new file mode 100644
index 000000000000..3a60f81979fa
--- /dev/null
+++ b/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.33.1718238.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker
+
+MY_PV_HIGH=$(ver_cut 1)
+MY_PV_MIDDLE=$(ver_cut 2)
+MY_PV_LOW=$(ver_cut 3)
+MY_PV_REV=$(ver_cut 4)
+
+MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}.${MY_PV_LOW}"
+MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
+
+MY_PN="amf-amdgpu-pro"
+
+INTERNAL_VER="6.0.2"
+UBUNTU_VER="22.04"
+
+DESCRIPTION="AMD's closed source Advanced Media Framework (AMF) driver"
+HOMEPAGE="https://www.amd.com/en/support"
+SRC_URI="https://repo.radeon.com/amdgpu/${INTERNAL_VER}/ubuntu/pool/proprietary/a/${MY_PN}/${MY_PN}_${MY_PV_FULL}.${UBUNTU_VER}_amd64.deb -> ${P}.deb"
+
+S="${WORKDIR}"
+
+RESTRICT="bindist mirror"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0/31"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ media-libs/amdgpu-pro-vulkan
+ media-libs/libglvnd
+ x11-libs/libdrm
+ x11-libs/libX11
+"
+
+QA_PREBUILT="
+ usr/lib64/libamfrt64.so*
+"
+
+src_unpack() {
+ mkdir "${S}/${PN}-amd64" || die
+ cd "${S}/${PN}-amd64" || die
+ unpack_deb "${DISTDIR}/${P}.deb"
+}
+
+src_install() {
+ insinto "/usr/$(get_libdir)"
+
+ # AMF
+ doins "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamfrt64.so.${MY_PV}"
+ dosym "libamfrt64.so.${MY_PV}" "/usr/$(get_libdir)/libamfrt64.so.1"
+}