diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2023-10-07 19:09:12 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-10-21 19:04:19 +0300 |
commit | e5e9c7f918391c83b0b6529bb519aea11012b6f5 (patch) | |
tree | 8446e5d5b4587da2b8193ee71625975ace2f4c5d /media-video | |
parent | media-libs/amdgpu-pro-vulkan: add 23.20.0.1654522 (diff) | |
download | gentoo-e5e9c7f918391c83b0b6529bb519aea11012b6f5.tar.gz gentoo-e5e9c7f918391c83b0b6529bb519aea11012b6f5.tar.bz2 gentoo-e5e9c7f918391c83b0b6529bb519aea11012b6f5.zip |
media-video/amdgpu-pro-amf: add 1.4.31.1654522
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/33234
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/amdgpu-pro-amf/Manifest | 1 | ||||
-rw-r--r-- | media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.31.1654522.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/amdgpu-pro-amf/Manifest b/media-video/amdgpu-pro-amf/Manifest index 1d5e82418fcc..3b6169ece602 100644 --- a/media-video/amdgpu-pro-amf/Manifest +++ b/media-video/amdgpu-pro-amf/Manifest @@ -2,3 +2,4 @@ DIST amdgpu-pro-amf-1.4.24.1452059.deb 1307216 BLAKE2B 2ecae593da961e2ff86e807c0 DIST amdgpu-pro-amf-1.4.26.1511376.deb 1502528 BLAKE2B c2199f6b026552f486f2c7f75af9e3d37193870850de75d87b7099257281f98f030f4f7816aaf8086e0011a0f4db16210a084d4e7fcb8c3519e02be1ecb82de9 SHA512 3a3da593dfb765b7302e627a0df4c6e7bc35cfc76ce60ee9e5df74de73bcaf09b7dc687d30cd8ca54b25b90c140830bdb5352c816b7c6569f8200ca0f9acfc48 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 diff --git a/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.31.1654522.ebuild b/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.31.1654522.ebuild new file mode 100644 index 000000000000..b21981e84afc --- /dev/null +++ b/media-video/amdgpu-pro-amf/amdgpu-pro-amf-1.4.31.1654522.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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="5.7" +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" +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" +} |