summaryrefslogtreecommitdiff
path: root/media-libs/amdgpu-pro-vulkan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-26 23:59:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-26 23:59:37 +0100
commit3e42d1577189af123b773dc0f11e5419035308c8 (patch)
tree95d77507c924544b12363e6da6aa741c444f3e8a /media-libs/amdgpu-pro-vulkan
parent6243676c91946098c06d42bc87b5eb99aac40bf0 (diff)
gentoo auto-resync : 26:04:2024 - 23:59:36
Diffstat (limited to 'media-libs/amdgpu-pro-vulkan')
-rw-r--r--media-libs/amdgpu-pro-vulkan/Manifest15
-rw-r--r--media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild135
-rw-r--r--media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild136
-rw-r--r--media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild134
-rw-r--r--media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild (renamed from media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild)4
5 files changed, 5 insertions, 419 deletions
diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 765ded8e992e..dec3ff7bf6ab 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -4,20 +4,11 @@ AUX vk_pro 121 BLAKE2B 833ed55d23b89a00641c3f685bfc06feec10ca352ec2ab4fc8ec6c78d
AUX vk_radv 127 BLAKE2B 3fb35e8b89b0baec70eb302abf9c6ccf67b2a04dc8b1dd68e8db7abd870510c72a8b759a8dda6d93e893c50e14b1776335c7abe9705274f3486277ff54356aa5 SHA512 0b7db271d8db8e26d39372d47cf715be7933ceeb474897af56614aae8ce413057f9e80631f7a0bee057ea0e88c68271e105808670c9d117dab57b2b31f0e2244
DIST amdgpu-pro-vulkan-21.50.2.1384496-amd64.deb 8320356 BLAKE2B 1a5997ee983bf4729c429dae7d333fd49f8bb24a5022238299fd87e4ad8a7579c0535a8198fc3869db3b8079634b1e06e9bb90ff761239486cb4ffb7ea6ead4a SHA512 16299cb567d9573080d6e3b83124e931692392c5282a3be5f39638682b2c8d4aa9395787382e0145d61dc5a5df3f3e143d9f01b1710ad11e940f3e8ea5137c7a
DIST amdgpu-pro-vulkan-21.50.2.1384496-i386.deb 8124180 BLAKE2B 697899e40cedc584d8507c3c4c908c54db3676d47d720fb7b7fcab6e1f542e1d1e5efedb5b46231d4cd6974d3d03a19816d6ab4cc6d2f0279547058b5e4143e3 SHA512 8662efb65f14172f4261401115737f3c7eebbe071a9660f5146eaee9a1d4684c30174b18bea94d31686dbe679d66ab77f252192c1cda27ed57784cc9a57e5fdf
-DIST amdgpu-pro-vulkan-22.10.4.1452060-amd64.deb 8934992 BLAKE2B b44beedf1294ae0a63252133f8c55554a5993209a787c7391a192dc76cf18b11d5c059cb231c2bd3f04bc8697fcba2cbf091b84c5b4fba8989afa8c46f94e4fd SHA512 cb12a8c20d10b94d14bc43961474a8fee2a17d91012f18e532c6f9e4893224a74f076c892df2ea4838227b35cf2372fdfdc6734d792d7913de77fc3abb78e617
-DIST amdgpu-pro-vulkan-22.10.4.1452060-i386.deb 8727612 BLAKE2B 41ce1ca9739bfc8d75f9b84435e48605728d6daa593c118d8626457614f64d73e76a623f913764c3b7a799126e0160ffbf9f3bc7077d3bd2f73ccba8dd4c9158 SHA512 113d27d832e6457f1b1a3c409a15b5d4f1b6e67c0e79b45f6d554eb04f18f7628684ab38a83c9f682dc3e76a34a8d748054b20baf9d47c86515dbfd4c13f070c
-DIST amdgpu-pro-vulkan-22.20.5.1511376-amd64.deb 9224820 BLAKE2B 6c7d54bdca0015c3e1330f86e0c57b434f94ceb0b06f4714864598b432f2538d3f37e44c3d5203537dd89e7586caf8437d90fcb377cf758677388a785642d842 SHA512 aa788c4c687f732bd2dab001638c210a5c65e676f7eff37ea12a8404e4442bcdf403fee3bc4c3aba93f81d2b2a3d4a74949b5afdc986d1aa6e79346a0f04381a
-DIST amdgpu-pro-vulkan-22.20.5.1511376-i386.deb 8944844 BLAKE2B 05e7a649addedc5aa640767ca0c427d7c2972283d3fc26441c5a6f652d03837716020fbfe769e23b1b38b497bb62c7cfad1ff2998adf4c9c02e41e715ae266aa SHA512 9d904ae27cc4f7faa4c3a9b6c76c4ae53632162a58882f001934af19de8d9a00930febc3b5be0368cc204fe9d9d5993527028f8e94b29f4021f2867df26d7a4d
DIST amdgpu-pro-vulkan-22.40.6.1580631-amd64.deb 26403020 BLAKE2B 9af314b75ec6af3ff1085f9eabf1f4d4c4c8e0bfdf2aea7ce64adf21fbc1e227784751861b1c42e7d66e458854be01e1b2f7da4bcd1c72cb5f74b12b02294de3 SHA512 2f097724b6063ef1a8e3dcb6a29884b580342e5a00ac59c2338f13f9162056dd4ab3e07d330805e48c81e7e8f42dc5cb927635c3c40f19bfe68c04ffbba41843
DIST amdgpu-pro-vulkan-22.40.6.1580631-i386.deb 28131372 BLAKE2B 4f92814a1f1aa3cecec5321252990c87548b94c633be2080fb4be9c9ef72772e45943b62c55e1424b03671540b599f13666d49599c7ef8e2a93a51a66cc17e92 SHA512 7ffd0cebb630cbf2a3845c0e673c408f56a046bf68d1c73a02b2a1d3a245d5fdc3cb00b461fe52dbd74abd15cdd3e75007539de584750fce22176e6994007d94
-DIST amdgpu-pro-vulkan-23.10.3.1620044-amd64.deb 28230396 BLAKE2B f0c59e5c955640ff8b98d1fe5982593b8ccd450fd51b11de256e30388afd7ccf7f8cf236149556186fb5b2bbbc60ff4c31a33aaf8456391403adb899dd77fc10 SHA512 7d454178c3ee601ebd51cbfa0ce72e8a097014a65079d5955702de030dc4172a4fdb368d40c781a54891bc2b31966455802db497237177112e35aab2d94c717b
-DIST amdgpu-pro-vulkan-23.10.3.1620044-i386.deb 29943120 BLAKE2B cb15cd340854d2d023c1d5d700790d7ef37f3cddb6ec5e11a0642da8dd6c9bcf375bcc3793f4a6a1e379c78b518c68e6bb188b91cd815bca1abc1e09f6516c02 SHA512 2c251b68a4910e8873256316248d4c932483e928e38b9752fd919df0165e3db134e7d08c2c1f95cceda24e47cd5b419d482243ff7e42af3cb4bec8abb4162436
-DIST amdgpu-pro-vulkan-23.20.0.1654522-amd64.deb 24480404 BLAKE2B 10e2dea7e03bc6c24b40b8d8c4933897e17edb8e9b1fb1aebc7a6151c2bf051bbd5e994b771a045e747730f41996b2b3819edd8163daeb22a0487d5a96ea15f7 SHA512 4014a3f5cdbc3e977d5953719e8d0ea34a0ff1cc9b7292513df69e98d1c6556643392dd77edf10a682f049c689d69c92ba307d5af5b8e68003ccbba014f7aa9a
-DIST amdgpu-pro-vulkan-23.20.0.1654522-i386.deb 25453504 BLAKE2B 46940aecb2d6981846534f49b7f2d829924c03ba7fe8fe84c84408968a761683183524f4aa58ac9a2810bbc16975634cc6dcaaba3331604ab2bb74bd9949bb3b SHA512 ab8e7df7d093bc25dcdda942456ba54f3d21312435af025619b1f9531606ea5a18b975fe291e06154dabaaafb48cd5f58261d958c765058ed23e53517032b5fe
+DIST amdgpu-pro-vulkan-23.40.0.1718238-amd64.deb 23555536 BLAKE2B fc3aa3d0fe271bb9184999c6ba887cbd466ef41a61d1e35aaa0e94838322f8182e9c40393fa250fda7489ce5b04514b70f3b49274b6e58ce6db2a70223a11280 SHA512 6f6ca7cabc665fefbb8d2308cc3654baec726899ea1923885056bfa80e681c5f96eaba7e912bc73b7889dac322ffefec0cda061b7e0a1d099bca378e7afc5ae1
+DIST amdgpu-pro-vulkan-23.40.0.1718238-i386.deb 24907864 BLAKE2B 438cec19c1e96b872a81690b212b1693a048fab92cc67bab2aedaf917fa802760100631e408d70a5f3ff70bb88b8f888ee566926055770d318fbaa9a88a4490f SHA512 5f46fb6ab37ad596762f46fcd2ac2a0568a98023e97c92408d943e4a1033f4811450331f688da6f90a070d9cd0a56962284c71e645111c6c4f52e205fd41bf82
EBUILD amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild 3270 BLAKE2B e36c39386c36d8f179a2a62b020ffac69a43a7cade3b2619b8ba6755e9c5a42e66c1bb5e560fca5b319eb5cc77d3d7ea489acd1aa2a71410e3efeec393101490 SHA512 77d275f8281bc2f73918879bcfa0f33f83c490188ad6bb11f05e21eaa9b3d00d9db6e00ac598723e247fdafdb32369b6f96838556c01e3863cf34a1ed688b9de
-EBUILD amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild 3792 BLAKE2B 991c484ef3461f0a5cc160be758695d63ae16151723458b8a9c33120bda1b9b3e90e7aef22f4d85f3bfc97ac9c92573d305fd88ee8ac9177129b5da59b8f7433 SHA512 8d056add08d788f9ea0ab59cb59644312b16a006b91d36eda8d2f4d3b87f79118fd72d501a3b28af7be08fbbaf39edaa7dee49ca16d093895c41257b80376cc1
-EBUILD amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild 3785 BLAKE2B 7d28cd25508acd28b846b32589bf054dc904b796786cfe672368d42681e7be116a12b4b10cf7e960a5ff99ce298c6cc9aa590f5b18a97c52ddc601823a6f60d4 SHA512 3d4ea8ca8d7007a381e9b4c956b0fbb14616a32290c0bffa3a76942ee04125b9de7e3e052ac129faecf4c807c97ad647e0144c3c56e972f20fe5ad026da41e81
EBUILD amdgpu-pro-vulkan-22.40.6.1580631-r1.ebuild 3818 BLAKE2B e1f8338c6b4c0a7db5a3c8d512ea0c45b1af7fc7d5a6f62dc46a812dce123b6a70b68d89c3701a52bd63745ef7b90163d4e5eaa226976256f01fcc8e217bb44d SHA512 b361a9cd23f6b398fa0a45b3de6bd5d987ae74a721826c0f6a6275f215b52c0cb8b55c3c30f79cf1f6090a43ded0655bc6154d9aa6a2dbdbc991685ea4f3355b
-EBUILD amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild 3734 BLAKE2B 98542258b49e165398a46143d8d03e19f78a0bd2b5a5cb6390cb8d8ed6f4a28d60b5524ee9511ee4ed4ba439f017b7a5205247292b5d4ab74afbe31c6777e74b SHA512 4d2e40e3cd3b4f7cfe099e6ec5debd16dc00a6c54bf11d70d85b8b17513d8b03b594c4eed49505ac51a47c602a2eecde971a7bae69070fa452b63008a0b48976
-EBUILD amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild 3732 BLAKE2B c3bde4656e718ca91a2c851198c181d8adfeab96408a48d4f2c82932268e9cd2cf54189ec35fd884ef142454d491695ff6c63ab5b96e0c71b30e2417c465a410 SHA512 f4df1747caf3692c7891233eca9002b142450895910938b271c2038163b8d350949f0581de5e8b50eac525226671d69c985dd98979d699cae67087e640c69016
+EBUILD amdgpu-pro-vulkan-23.40.0.1718238.ebuild 3734 BLAKE2B c36d10a1a30797ce8dfd22db7b6c8a0cd99428baee5f0f1f159ad1e66e07a0e0218674fc3e3e1cfdbb1e48c72e16533ea8ebab801e7d04e825013771dd3bb7d6 SHA512 57ab0157e9ffe975ec56640a72103466ce7af6408123c0c07eaee8f463f639db3ac3832722f51f6c4c14ab2678cdb8ff28ea3f6b8c6270e4e1edf0626ff6e25e
MISC metadata.xml 402 BLAKE2B 45f4e6adffb186b9a9b36b420aaa5727f025206eca039d9f6fbe3eb302f7200cc24c079480d91c9d92ccd932bef86b87401400f17eba2fd8b4baa3fca66cf236 SHA512 dc9e5a699437291c5f768d66bdfd9d2aaa00e931f358e6d0045e764638332a8db14bd19a782aac0918dc4b42b8658a5974bdfec2971690e6718be247fff512b3
diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild
deleted file mode 100644
index 670a2f29aaf6..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2023 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_LOW = "0" ]] && MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}"
-
-MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
-
-MY_PN="vulkan-amdgpu-pro"
-
-MY_LINK="https://repo.radeon.com/amdgpu/${MY_PV}/ubuntu/pool/proprietary/v/${MY_PN}"
-
-DESCRIPTION="AMD's closed source vulkan driver, from Radeon Software for Linux"
-HOMEPAGE="https://www.amd.com/en/support"
-SRC_URI="
- abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}_amd64.deb -> ${P}-amd64.deb )
- abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}_i386.deb -> ${P}-i386.deb )
-"
-S="${WORKDIR}"
-
-RESTRICT="bindist mirror"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
-
-REQUIRED_USE="video_cards_amdgpu"
-
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="
- usr/lib64/amdvlkpro64.so*
- usr/lib/amdvlkpro32.so*
-"
-
-src_unpack() {
- default
-
- if use abi_x86_64 ; then
- mkdir "${S}/${PN}-amd64" || die
- cd "${S}/${PN}-amd64" || die
- unpack_deb "${DISTDIR}/${P}-amd64.deb"
- fi
-
- if use abi_x86_32 ; then
- mkdir "${S}/${PN}-i386" || die
- cd "${S}/${PN}-i386" || die
- unpack_deb "${DISTDIR}/${P}-i386.deb"
- fi
-}
-
-src_prepare() {
- if use abi_x86_64 ; then
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/x86_64-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk64.so.1"
- mv amdvlk64.so* amdvlkpro64.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro64.so "${PWD}"/amdvlkpro64.so || die
-
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_amd64.patch
- mv amd_icd64.json amd_pro_icd64.json || die
- fi
-
- if use abi_x86_32 ; then
- cd "${S}/${PN}-i386/opt/amdgpu-pro/lib/i386-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/i386-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk32.so.1"
- mv amdvlk32.so* amdvlkpro32.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro32.so "${PWD}"/amdvlkpro32.so || die
-
- cd "${S}/${PN}-i386/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_x86.patch
- mv amd_icd32.json amd_pro_icd32.json || die
- fi
-
- default
-}
-
-src_install() {
- if use abi_x86_64 ; then
- # Vulkan driver
- insinto /usr/lib64
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd64.json
- fi
-
- if use abi_x86_32 ; then
- # Vulkan driver
- insinto /usr/lib
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
- fi
-
- # AMDGPU-PRO Vulkan prefix
- dobin "${FILESDIR}/vk_pro"
-
- # AMDGPU-PRO & RADV Vulkan prefix
- dobin "${FILESDIR}/vk_pro"
- dobin "${FILESDIR}/vk_radv"
-}
-
-pkg_postinst() {
- elog "To execute programs with the amdgpu-pro-vulkan driver:"
- elog " - Use the `vk_pro` wrapper script: e.g. 'vk_pro vkcube'"
- elog " - Define the following environment variable: "
- elog " VK_DRIVER_FILES=/usr/share/vulkan/icd.d/amd_pro_icd64.json:/usr/share/vulkan/icd.d/amd_pro_icd32.json"
- elog
-}
diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild
deleted file mode 100644
index 8152f796b69e..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2023 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_LINK="$MY_PV"
-[[ $MY_PV_LOW != "0" ]] && MY_PV_LINK+=".$MY_PV_LOW"
-
-MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
-
-MY_PN="vulkan-amdgpu-pro"
-
-MY_LINK="https://repo.radeon.com/amdgpu/${MY_PV_LINK}/ubuntu/pool/proprietary/v/${MY_PN}"
-
-UBUNTU_VER="22.04"
-
-DESCRIPTION="AMD's closed source vulkan driver, from Radeon Software for Linux"
-HOMEPAGE="https://www.amd.com/en/support"
-SRC_URI="
- abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_amd64.deb -> ${P}-amd64.deb )
- abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_i386.deb -> ${P}-i386.deb )
-"
-S="${WORKDIR}"
-
-RESTRICT="bindist mirror"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
-
-REQUIRED_USE="video_cards_amdgpu"
-
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="
- usr/lib64/amdvlkpro64.so*
- usr/lib/amdvlkpro32.so*
-"
-
-src_unpack() {
- default
-
- if use abi_x86_64 ; then
- mkdir "${S}/${PN}-amd64" || die
- cd "${S}/${PN}-amd64" || die
- unpack_deb "${DISTDIR}/${P}-amd64.deb"
- fi
-
- if use abi_x86_32 ; then
- mkdir "${S}/${PN}-i386" || die
- cd "${S}/${PN}-i386" || die
- unpack_deb "${DISTDIR}/${P}-i386.deb"
- fi
-}
-
-src_prepare() {
- if use abi_x86_64 ; then
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/x86_64-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk64.so.1"
- mv amdvlk64.so* amdvlkpro64.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro64.so "${PWD}"/amdvlkpro64.so || die
-
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_amd64.patch
- mv amd_icd64.json amd_pro_icd64.json || die
- fi
-
- if use abi_x86_32 ; then
- cd "${S}/${PN}-i386/opt/amdgpu-pro/lib/i386-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/i386-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk32.so.1"
- mv amdvlk32.so* amdvlkpro32.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro32.so "${PWD}"/amdvlkpro32.so || die
-
- cd "${S}/${PN}-i386/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_x86.patch
- mv amd_icd32.json amd_pro_icd32.json || die
- fi
-
- default
-}
-
-src_install() {
- if use abi_x86_64 ; then
- # Vulkan driver
- insinto /usr/lib64
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd64.json
- fi
-
- if use abi_x86_32 ; then
- # Vulkan driver
- insinto /usr/lib
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
- fi
-
- # AMDGPU-PRO & RADV Vulkan prefix
- dobin "${FILESDIR}/vk_pro"
- dobin "${FILESDIR}/vk_radv"
-}
-
-pkg_postinst() {
- elog "To execute programs with the amdgpu-pro-vulkan driver:"
- elog " - Use the `vk_pro` wrapper script: e.g. 'vk_pro vkcube'"
- elog " - Define the following environment variable: "
- elog " VK_DRIVER_FILES=/usr/share/vulkan/icd.d/amd_pro_icd64.json:/usr/share/vulkan/icd.d/amd_pro_icd32.json"
- elog
-}
diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild
deleted file mode 100644
index 21610a0f0b64..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2023 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}"
-
-INTERNAL_VER="5.7"
-
-MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
-
-MY_PN="vulkan-amdgpu-pro"
-MY_LINK="https://repo.radeon.com/amdgpu/${INTERNAL_VER}/ubuntu/pool/proprietary/v/${MY_PN}"
-
-UBUNTU_VER="22.04"
-
-DESCRIPTION="AMD's closed source vulkan driver, from Radeon Software for Linux"
-HOMEPAGE="https://www.amd.com/en/support"
-SRC_URI="
- abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}.${UBUNTU_VER}_amd64.deb -> ${P}-amd64.deb )
- abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}.${UBUNTU_VER}_i386.deb -> ${P}-i386.deb )
-"
-S="${WORKDIR}"
-
-RESTRICT="bindist mirror"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
-
-REQUIRED_USE="video_cards_amdgpu"
-
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="
- usr/lib64/amdvlkpro64.so*
- usr/lib/amdvlkpro32.so*
-"
-
-src_unpack() {
- default
-
- if use abi_x86_64 ; then
- mkdir "${S}/${PN}-amd64" || die
- cd "${S}/${PN}-amd64" || die
- unpack_deb "${DISTDIR}/${P}-amd64.deb"
- fi
-
- if use abi_x86_32 ; then
- mkdir "${S}/${PN}-i386" || die
- cd "${S}/${PN}-i386" || die
- unpack_deb "${DISTDIR}/${P}-i386.deb"
- fi
-}
-
-src_prepare() {
- if use abi_x86_64 ; then
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/x86_64-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk64.so.1"
- mv amdvlk64.so* amdvlkpro64.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro64.so "${PWD}"/amdvlkpro64.so || die
-
- cd "${S}/${PN}-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_amd64.patch
- mv amd_icd64.json amd_pro_icd64.json || die
- fi
-
- if use abi_x86_32 ; then
- cd "${S}/${PN}-i386/opt/amdgpu-pro/lib/i386-linux-gnu/" || die
-
- # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
- [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/i386-linux-gnu/"
-
- # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk32.so.1"
- mv amdvlk32.so* amdvlkpro32.so || die
-
- # same with the SONAME
- patchelf --set-soname amdvlkpro32.so "${PWD}"/amdvlkpro32.so || die
-
- cd "${S}/${PN}-i386/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
- eapply "${FILESDIR}"/icd_x86.patch
- mv amd_icd32.json amd_pro_icd32.json || die
- fi
-
- default
-}
-
-src_install() {
- if use abi_x86_64 ; then
- # Vulkan driver
- insinto /usr/lib64
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd64.json
- fi
-
- if use abi_x86_32 ; then
- # Vulkan driver
- insinto /usr/lib
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so
-
- # ICD loader
- insinto /usr/share/vulkan/icd.d
- doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
- fi
-
- # AMDGPU-PRO & RADV Vulkan prefix
- dobin "${FILESDIR}/vk_pro"
- dobin "${FILESDIR}/vk_radv"
-}
-
-pkg_postinst() {
- elog "To execute programs with the amdgpu-pro-vulkan driver:"
- elog " - Use the `vk_pro` wrapper script: e.g. 'vk_pro vkcube'"
- elog " - Define the following environment variable: "
- elog " VK_DRIVER_FILES=/usr/share/vulkan/icd.d/amd_pro_icd64.json:/usr/share/vulkan/icd.d/amd_pro_icd32.json"
- elog
-}
diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
index c53292fd171a..a6e635176f5a 100644
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ MY_PV_REV=$(ver_cut 4)
MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}"
-INTERNAL_VER="5.5.3"
+INTERNAL_VER="6.0.2"
MY_PV_FULL="${MY_PV}-${MY_PV_REV}"