public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-03-16 15:54 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2022-03-16 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     90ba79bcdd0f93cbd505cf24de8e8f2ddb1eae34
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Mar  9 11:43:48 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar 16 15:54:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ba79bc

media-libs/amdgpu-pro-vulkan: minor version bump to 21.50.2

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/24460
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-21.50.2.1384496.ebuild       | 106 +++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 81846043966e..d28d2cdcc208 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -1,2 +1,4 @@
 DIST amdgpu-pro-vulkan-21.50.1.1376756-amd64.deb 8342920 BLAKE2B a99ba48ded384e39beca0f7321ee6cc77f751843c7ee5d9b45e284740ac1a0932497e3029e95e6f7f6bc1a0d3772619be01a0bc22b4b3857bf24a47f1cfa7b2d SHA512 ff9479652c6b7d359e3b1b1c8f5038f4e447fe2f5f5f186414ecae30ed99be75373bacb599045b23d530c93a78d8049d2bedf129e655c198c9e9e9f8b528d951
 DIST amdgpu-pro-vulkan-21.50.1.1376756-i386.deb 8124604 BLAKE2B 5d325d2b6fe0b22c227df41049330f394315f17aa97203c7032131d5932e75d494539eac4d5e7ea89193a2736068e3a8e5f7a60de9a1a94b8af0b7fba757da21 SHA512 11480ebec72408a5727f99055c32d979912f838256d622c77c7efec37735d2805cf5c52e78d3c86dc0420d29ad52df2d65cd788b67cef1b2df1cfaa5a30c4bc2
+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

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild
new file mode 100644
index 000000000000..db6883188d30
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild
@@ -0,0 +1,106 @@
+# 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="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"
+
+BDEPEND="dev-util/patchelf"
+
+QA_PREBUILT="
+	usr/lib64/amdvlkpro64.so*
+	usr/lib/amdvlkpro32.so*
+"
+
+src_unpack() {
+	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
+		mv amdvlk64.so.1.0 amdvlkpro64.so.1.0 || die
+		patchelf --set-soname amdvlkpro64.so.1.0 "${PWD}"/amdvlkpro64.so.1.0 || 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
+		mv amdvlk32.so.1.0 amdvlkpro32.so.1.0 || die
+		patchelf --set-soname amdvlkpro32.so.1.0 "${PWD}"/amdvlkpro32.so.1.0 || 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
+		insinto /usr/lib64
+
+		# Vulkan
+		doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so.1.0
+		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so
+		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so.1
+
+		# 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
+		insinto /usr/lib
+
+		# Vulkan
+		doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so.1.0
+		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so
+		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so.1
+
+		# ICD loader
+		insinto /usr/share/vulkan/icd.d
+		doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-03-26 14:20 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2022-03-26 14:20 UTC (permalink / raw
  To: gentoo-commits

commit:     cabbeb4102125e08e682c3cd49af7a8e53ce209b
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Mar 19 10:59:57 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 14:15:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabbeb41

media-libs/amdgpu-pro-vulkan: restrict to video_cards_amdgpu

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild | 4 +++-
 media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild
index db6883188d30..b391b5756ff5 100644
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild
@@ -30,7 +30,9 @@ RESTRICT="bindist mirror"
 LICENSE="AMD-GPU-PRO-EULA"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="abi_x86_32 abi_x86_64"
+IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
+
+REQUIRED_USE="video_cards_amdgpu"
 
 BDEPEND="dev-util/patchelf"
 

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild
index db6883188d30..b391b5756ff5 100644
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild
@@ -30,7 +30,9 @@ RESTRICT="bindist mirror"
 LICENSE="AMD-GPU-PRO-EULA"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="abi_x86_32 abi_x86_64"
+IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
+
+REQUIRED_USE="video_cards_amdgpu"
 
 BDEPEND="dev-util/patchelf"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-04-07 19:28 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2022-04-07 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     b513599fd109414cb295f00c1dde32aa77ab666c
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Apr  2 14:19:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 19:28:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b513599f

media-libs/amdgpu-pro-vulkan: version bump to 22.10

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-22.10.0.1395274.ebuild       | 134 +++++++++++++++++++++
 2 files changed, 136 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index d28d2cdcc208..98be7e7cd098 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -2,3 +2,5 @@ DIST amdgpu-pro-vulkan-21.50.1.1376756-amd64.deb 8342920 BLAKE2B a99ba48ded384e3
 DIST amdgpu-pro-vulkan-21.50.1.1376756-i386.deb 8124604 BLAKE2B 5d325d2b6fe0b22c227df41049330f394315f17aa97203c7032131d5932e75d494539eac4d5e7ea89193a2736068e3a8e5f7a60de9a1a94b8af0b7fba757da21 SHA512 11480ebec72408a5727f99055c32d979912f838256d622c77c7efec37735d2805cf5c52e78d3c86dc0420d29ad52df2d65cd788b67cef1b2df1cfaa5a30c4bc2
 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.0.1395274-amd64.deb 9243596 BLAKE2B b083b636cc2f4e1b62a1e89a168a718a16690e7a605daa93693da5ce03b7a03c501db6ddf59b2823016c90cac28ba5e7f9288486799408b76bb85ca86bdd9424 SHA512 6791e536700fcc3558b74978b2a717a8da4e24f4a391fbd00264d1bf505b09fe8fc9bffd3817cfc1cbf5294761dcf6ad38c4c0191d20948b9e219c1b7f393100
+DIST amdgpu-pro-vulkan-22.10.0.1395274-i386.deb 8992376 BLAKE2B 7b3ea214e5cc6a987cc8cfefa3bce1e06426fca6e0cf125b71e90b5f3d350a8f15c635abb541d479703b5ca0f546a968076a522d526a68e1ec12a90b466721da SHA512 5e5ba42933c820be524cd21685f85c0efc3787e9f1f2bf1d985aea7fd3a386ca98ea7f9f75d32d15d3f9d66e444177cbc7e6f357fe1092bbf193bc9b0f97ee8a

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild
new file mode 100644
index 000000000000..dabe6936012a
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild
@@ -0,0 +1,134 @@
+# 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_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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-06-03 11:01 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2022-06-03 11:01 UTC (permalink / raw
  To: gentoo-commits

commit:     f87f1ffe86b53979f0e6f651ee0f6890ce2848af
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat May  7 20:37:51 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jun  3 11:01:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87f1ffe

media-libs/amdgpu-pro-vulkan: version bump to 22.10.3

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-22.10.3.1420322.ebuild       | 134 +++++++++++++++++++++
 2 files changed, 136 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 98be7e7cd098..3d89b47ae5a9 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -4,3 +4,5 @@ DIST amdgpu-pro-vulkan-21.50.2.1384496-amd64.deb 8320356 BLAKE2B 1a5997ee983bf47
 DIST amdgpu-pro-vulkan-21.50.2.1384496-i386.deb 8124180 BLAKE2B 697899e40cedc584d8507c3c4c908c54db3676d47d720fb7b7fcab6e1f542e1d1e5efedb5b46231d4cd6974d3d03a19816d6ab4cc6d2f0279547058b5e4143e3 SHA512 8662efb65f14172f4261401115737f3c7eebbe071a9660f5146eaee9a1d4684c30174b18bea94d31686dbe679d66ab77f252192c1cda27ed57784cc9a57e5fdf
 DIST amdgpu-pro-vulkan-22.10.0.1395274-amd64.deb 9243596 BLAKE2B b083b636cc2f4e1b62a1e89a168a718a16690e7a605daa93693da5ce03b7a03c501db6ddf59b2823016c90cac28ba5e7f9288486799408b76bb85ca86bdd9424 SHA512 6791e536700fcc3558b74978b2a717a8da4e24f4a391fbd00264d1bf505b09fe8fc9bffd3817cfc1cbf5294761dcf6ad38c4c0191d20948b9e219c1b7f393100
 DIST amdgpu-pro-vulkan-22.10.0.1395274-i386.deb 8992376 BLAKE2B 7b3ea214e5cc6a987cc8cfefa3bce1e06426fca6e0cf125b71e90b5f3d350a8f15c635abb541d479703b5ca0f546a968076a522d526a68e1ec12a90b466721da SHA512 5e5ba42933c820be524cd21685f85c0efc3787e9f1f2bf1d985aea7fd3a386ca98ea7f9f75d32d15d3f9d66e444177cbc7e6f357fe1092bbf193bc9b0f97ee8a
+DIST amdgpu-pro-vulkan-22.10.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a9896e0ff588de13e0a162b88eb3412c3ceea339c469fa08da6a079941209384169fc17cc5251db133d362c5fc631310c636ee23d45338498c SHA512 4bc98bfeb206274f782dea5464d7569cb0edab7816386ec496e8ddb2dba939adffd58cf9fbc470023b28e1cfd0336515ba41d07274547e4994d7a3940a4cacf6
+DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.3.1420322.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.3.1420322.ebuild
new file mode 100644
index 000000000000..dabe6936012a
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.3.1420322.ebuild
@@ -0,0 +1,134 @@
+# 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_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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-08-17 16:18 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2022-08-17 16:18 UTC (permalink / raw
  To: gentoo-commits

commit:     f95f522cef2e681c07608bef7b9b8282ea8ca177
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Fri Jul 22 21:18:22 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 16:17:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95f522c

media-libs/amdgpu-pro-vulkan: version bump to 22.20

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-22.20.0.1438747.ebuild       | 136 +++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 3d89b47ae5a9..91550f848c48 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -6,3 +6,5 @@ DIST amdgpu-pro-vulkan-22.10.0.1395274-amd64.deb 9243596 BLAKE2B b083b636cc2f4e1
 DIST amdgpu-pro-vulkan-22.10.0.1395274-i386.deb 8992376 BLAKE2B 7b3ea214e5cc6a987cc8cfefa3bce1e06426fca6e0cf125b71e90b5f3d350a8f15c635abb541d479703b5ca0f546a968076a522d526a68e1ec12a90b466721da SHA512 5e5ba42933c820be524cd21685f85c0efc3787e9f1f2bf1d985aea7fd3a386ca98ea7f9f75d32d15d3f9d66e444177cbc7e6f357fe1092bbf193bc9b0f97ee8a
 DIST amdgpu-pro-vulkan-22.10.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a9896e0ff588de13e0a162b88eb3412c3ceea339c469fa08da6a079941209384169fc17cc5251db133d362c5fc631310c636ee23d45338498c SHA512 4bc98bfeb206274f782dea5464d7569cb0edab7816386ec496e8ddb2dba939adffd58cf9fbc470023b28e1cfd0336515ba41d07274547e4994d7a3940a4cacf6
 DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37
+DIST amdgpu-pro-vulkan-22.20.0.1438747-amd64.deb 9225180 BLAKE2B 0567f16e7ffe0f7c2a46e54eb93d57001f870e9450d63587f9e1b0b74740a4ed43155b36abb155a0e614da36a4241f1b3b26ae06de5472207f7efd62a0823011 SHA512 0629652977190f61138b25daacb5ab13c27121cf674a43aef6023e0c9c5d5d29ae21f7e20cfdb3ca53e354c6409940d664a18df39cc43093a7929af8a84b8998
+DIST amdgpu-pro-vulkan-22.20.0.1438747-i386.deb 8953448 BLAKE2B 4a004ce7fe93fef484e234ca25c1df7798d82e9ce77dba9c8316baebaa567a0a05564bfdcedb35f557ff72b45bd7bbf102bc2d376fb3c36e57dd831c3d768652 SHA512 8ec2b53a42c7c589a6471fd955cb69a3ad40d91551d60a1583bf7bf37927fd6936064a18392a81e123ab3765a3a6353b1cc1ca51632e5466602e460e2ed98891

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild
new file mode 100644
index 000000000000..a9b1cda7a17a
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild
@@ -0,0 +1,136 @@
+# 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_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}"
+
+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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2022-10-05  7:00 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2022-10-05  7:00 UTC (permalink / raw
  To: gentoo-commits

commit:     7ed432129fc19c1eacaf2b131d5d9a1a2cd028cc
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Thu Sep  8 20:12:40 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 07:00:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed43212

media-libs/amdgpu-pro-vulkan: version bump to 22.20.3

The naming scheme has changed, the latest ebuild
has been udpated accordingly.

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-22.20.3.1462318.ebuild       | 138 +++++++++++++++++++++
 2 files changed, 140 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 91550f848c48..260bb4787bbd 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -8,3 +8,5 @@ DIST amdgpu-pro-vulkan-22.10.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a
 DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37
 DIST amdgpu-pro-vulkan-22.20.0.1438747-amd64.deb 9225180 BLAKE2B 0567f16e7ffe0f7c2a46e54eb93d57001f870e9450d63587f9e1b0b74740a4ed43155b36abb155a0e614da36a4241f1b3b26ae06de5472207f7efd62a0823011 SHA512 0629652977190f61138b25daacb5ab13c27121cf674a43aef6023e0c9c5d5d29ae21f7e20cfdb3ca53e354c6409940d664a18df39cc43093a7929af8a84b8998
 DIST amdgpu-pro-vulkan-22.20.0.1438747-i386.deb 8953448 BLAKE2B 4a004ce7fe93fef484e234ca25c1df7798d82e9ce77dba9c8316baebaa567a0a05564bfdcedb35f557ff72b45bd7bbf102bc2d376fb3c36e57dd831c3d768652 SHA512 8ec2b53a42c7c589a6471fd955cb69a3ad40d91551d60a1583bf7bf37927fd6936064a18392a81e123ab3765a3a6353b1cc1ca51632e5466602e460e2ed98891
+DIST amdgpu-pro-vulkan-22.20.3.1462318-amd64.deb 9222240 BLAKE2B 044b4b819573ff0038a531dc21cb1461313539d26665e9c6be93ccb6c9dfb4273ef24440c4fc077d799662d4be18fee81df0c4f63aa9b0674254229a1adb1633 SHA512 6d08256c67b3d7a1034019c263e7376866ddb5f8a8265b362bdd4f5c410c9e5dafe0e6c00e804357f1a70a3cbddd07826d11e646b5bd792afaa8ad9bdb6fd3fe
+DIST amdgpu-pro-vulkan-22.20.3.1462318-i386.deb 8944468 BLAKE2B af8ef51cd42d28a2202231cabc2c371dcf9c0bc16ef7a056e43abea65acd08fa71d31337de1309a700b6781d6f97e9c27d194a2069238843e82a504d013cfa28 SHA512 61256d5d828e18a44581eda6a40c0e86b42fbc777055b35a02f596ec463b89d47b6642cac8b5ff5d3e33d8b9901f633ffaf8e76d5e5a9434922e2564548dfa21

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild
new file mode 100644
index 000000000000..7545f1b4d580
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild
@@ -0,0 +1,138 @@
+# 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_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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2023-08-18 11:05 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2023-08-18 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     aa6695fa54d444e1dcde21b64d984e3c64d4c209
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Fri Aug 11 01:01:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 11:04:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6695fa

media-libs/amdgpu-pro-vulkan: drop old versions

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   6 -
 .../amdgpu-pro-vulkan-21.50.1.1376756.ebuild       | 108 ----------------
 .../amdgpu-pro-vulkan-22.10.0.1395274.ebuild       | 134 --------------------
 .../amdgpu-pro-vulkan-22.20.0.1438747.ebuild       | 136 ---------------------
 4 files changed, 384 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 260bb4787bbd..531d17a14920 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -1,12 +1,6 @@
-DIST amdgpu-pro-vulkan-21.50.1.1376756-amd64.deb 8342920 BLAKE2B a99ba48ded384e39beca0f7321ee6cc77f751843c7ee5d9b45e284740ac1a0932497e3029e95e6f7f6bc1a0d3772619be01a0bc22b4b3857bf24a47f1cfa7b2d SHA512 ff9479652c6b7d359e3b1b1c8f5038f4e447fe2f5f5f186414ecae30ed99be75373bacb599045b23d530c93a78d8049d2bedf129e655c198c9e9e9f8b528d951
-DIST amdgpu-pro-vulkan-21.50.1.1376756-i386.deb 8124604 BLAKE2B 5d325d2b6fe0b22c227df41049330f394315f17aa97203c7032131d5932e75d494539eac4d5e7ea89193a2736068e3a8e5f7a60de9a1a94b8af0b7fba757da21 SHA512 11480ebec72408a5727f99055c32d979912f838256d622c77c7efec37735d2805cf5c52e78d3c86dc0420d29ad52df2d65cd788b67cef1b2df1cfaa5a30c4bc2
 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.0.1395274-amd64.deb 9243596 BLAKE2B b083b636cc2f4e1b62a1e89a168a718a16690e7a605daa93693da5ce03b7a03c501db6ddf59b2823016c90cac28ba5e7f9288486799408b76bb85ca86bdd9424 SHA512 6791e536700fcc3558b74978b2a717a8da4e24f4a391fbd00264d1bf505b09fe8fc9bffd3817cfc1cbf5294761dcf6ad38c4c0191d20948b9e219c1b7f393100
-DIST amdgpu-pro-vulkan-22.10.0.1395274-i386.deb 8992376 BLAKE2B 7b3ea214e5cc6a987cc8cfefa3bce1e06426fca6e0cf125b71e90b5f3d350a8f15c635abb541d479703b5ca0f546a968076a522d526a68e1ec12a90b466721da SHA512 5e5ba42933c820be524cd21685f85c0efc3787e9f1f2bf1d985aea7fd3a386ca98ea7f9f75d32d15d3f9d66e444177cbc7e6f357fe1092bbf193bc9b0f97ee8a
 DIST amdgpu-pro-vulkan-22.10.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a9896e0ff588de13e0a162b88eb3412c3ceea339c469fa08da6a079941209384169fc17cc5251db133d362c5fc631310c636ee23d45338498c SHA512 4bc98bfeb206274f782dea5464d7569cb0edab7816386ec496e8ddb2dba939adffd58cf9fbc470023b28e1cfd0336515ba41d07274547e4994d7a3940a4cacf6
 DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37
-DIST amdgpu-pro-vulkan-22.20.0.1438747-amd64.deb 9225180 BLAKE2B 0567f16e7ffe0f7c2a46e54eb93d57001f870e9450d63587f9e1b0b74740a4ed43155b36abb155a0e614da36a4241f1b3b26ae06de5472207f7efd62a0823011 SHA512 0629652977190f61138b25daacb5ab13c27121cf674a43aef6023e0c9c5d5d29ae21f7e20cfdb3ca53e354c6409940d664a18df39cc43093a7929af8a84b8998
-DIST amdgpu-pro-vulkan-22.20.0.1438747-i386.deb 8953448 BLAKE2B 4a004ce7fe93fef484e234ca25c1df7798d82e9ce77dba9c8316baebaa567a0a05564bfdcedb35f557ff72b45bd7bbf102bc2d376fb3c36e57dd831c3d768652 SHA512 8ec2b53a42c7c589a6471fd955cb69a3ad40d91551d60a1583bf7bf37927fd6936064a18392a81e123ab3765a3a6353b1cc1ca51632e5466602e460e2ed98891
 DIST amdgpu-pro-vulkan-22.20.3.1462318-amd64.deb 9222240 BLAKE2B 044b4b819573ff0038a531dc21cb1461313539d26665e9c6be93ccb6c9dfb4273ef24440c4fc077d799662d4be18fee81df0c4f63aa9b0674254229a1adb1633 SHA512 6d08256c67b3d7a1034019c263e7376866ddb5f8a8265b362bdd4f5c410c9e5dafe0e6c00e804357f1a70a3cbddd07826d11e646b5bd792afaa8ad9bdb6fd3fe
 DIST amdgpu-pro-vulkan-22.20.3.1462318-i386.deb 8944468 BLAKE2B af8ef51cd42d28a2202231cabc2c371dcf9c0bc16ef7a056e43abea65acd08fa71d31337de1309a700b6781d6f97e9c27d194a2069238843e82a504d013cfa28 SHA512 61256d5d828e18a44581eda6a40c0e86b42fbc777055b35a02f596ec463b89d47b6642cac8b5ff5d3e33d8b9901f633ffaf8e76d5e5a9434922e2564548dfa21

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild
deleted file mode 100644
index b391b5756ff5..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.1.1376756.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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="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() {
-	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
-		mv amdvlk64.so.1.0 amdvlkpro64.so.1.0 || die
-		patchelf --set-soname amdvlkpro64.so.1.0 "${PWD}"/amdvlkpro64.so.1.0 || 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
-		mv amdvlk32.so.1.0 amdvlkpro32.so.1.0 || die
-		patchelf --set-soname amdvlkpro32.so.1.0 "${PWD}"/amdvlkpro32.so.1.0 || 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
-		insinto /usr/lib64
-
-		# Vulkan
-		doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so.1.0
-		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so
-		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so.1
-
-		# 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
-		insinto /usr/lib
-
-		# Vulkan
-		doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so.1.0
-		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so
-		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so.1
-
-		# ICD loader
-		insinto /usr/share/vulkan/icd.d
-		doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
-	fi
-}

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild
deleted file mode 100644
index dabe6936012a..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.0.1395274.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# 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_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() {
-	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
-}
-
-pkg_postinst() {
-
-	if use abi_x86_32; then
-		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
-		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
-		elog "must be set beforehand"
-		elog
-	fi
-
-	if use abi_x86_64; then
-		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
-		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
-		elog "must be set beforehand"
-	fi
-}

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild
deleted file mode 100644
index a9b1cda7a17a..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.0.1438747.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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_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}"
-
-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() {
-	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
-}
-
-pkg_postinst() {
-
-	if use abi_x86_32; then
-		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
-		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
-		elog "must be set beforehand"
-		elog
-	fi
-
-	if use abi_x86_64; then
-		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
-		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
-		elog "must be set beforehand"
-	fi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2023-08-18 11:05 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2023-08-18 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     5dd0f832660c1f93be4c006618b75d0211ceb5fe
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Fri Aug 11 01:51:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 11:04:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd0f832

media-libs/amdgpu-pro-vulkan: add 22.40.6.1580631, 23.10.3.1620044

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   4 +
 .../amdgpu-pro-vulkan-22.40.6.1580631.ebuild       | 137 +++++++++++++++++++++
 .../amdgpu-pro-vulkan-23.10.3.1620044.ebuild       | 136 ++++++++++++++++++++
 3 files changed, 277 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 9f91de8e92aa..9643f02bd5ba 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -4,3 +4,7 @@ DIST amdgpu-pro-vulkan-22.10.4.1452060-amd64.deb 8934992 BLAKE2B b44beedf1294ae0
 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

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.40.6.1580631.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.40.6.1580631.ebuild
new file mode 100644
index 000000000000..ef77796e708e
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.40.6.1580631.ebuild
@@ -0,0 +1,137 @@
+# 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}"
+
+INTERNAL_VER="5.4.6"
+
+MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
+
+MY_PN="vulkan-amdgpu-pro"
+# https://repo.radeon.com/amdgpu/5.4.6/ubuntu/pool/proprietary/v/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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044.ebuild
new file mode 100644
index 000000000000..a64dd02a653f
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044.ebuild
@@ -0,0 +1,136 @@
+# 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}"
+
+INTERNAL_VER="5.5.3"
+
+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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2023-08-18 11:05 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2023-08-18 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     8edb85219b0ae05fd1c417dd6d80ba5d9f8ef44f
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Fri Aug 11 01:28:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 11:04:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edb8521

media-libs/amdgpu-pro-vulkan: verbump existing ebuilds

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest                             | 8 ++++----
 ....3.1420322.ebuild => amdgpu-pro-vulkan-22.10.4.1452060.ebuild} | 0
 ....3.1462318.ebuild => amdgpu-pro-vulkan-22.20.5.1511376.ebuild} | 0
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 531d17a14920..9f91de8e92aa 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -1,6 +1,6 @@
 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.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a9896e0ff588de13e0a162b88eb3412c3ceea339c469fa08da6a079941209384169fc17cc5251db133d362c5fc631310c636ee23d45338498c SHA512 4bc98bfeb206274f782dea5464d7569cb0edab7816386ec496e8ddb2dba939adffd58cf9fbc470023b28e1cfd0336515ba41d07274547e4994d7a3940a4cacf6
-DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37
-DIST amdgpu-pro-vulkan-22.20.3.1462318-amd64.deb 9222240 BLAKE2B 044b4b819573ff0038a531dc21cb1461313539d26665e9c6be93ccb6c9dfb4273ef24440c4fc077d799662d4be18fee81df0c4f63aa9b0674254229a1adb1633 SHA512 6d08256c67b3d7a1034019c263e7376866ddb5f8a8265b362bdd4f5c410c9e5dafe0e6c00e804357f1a70a3cbddd07826d11e646b5bd792afaa8ad9bdb6fd3fe
-DIST amdgpu-pro-vulkan-22.20.3.1462318-i386.deb 8944468 BLAKE2B af8ef51cd42d28a2202231cabc2c371dcf9c0bc16ef7a056e43abea65acd08fa71d31337de1309a700b6781d6f97e9c27d194a2069238843e82a504d013cfa28 SHA512 61256d5d828e18a44581eda6a40c0e86b42fbc777055b35a02f596ec463b89d47b6642cac8b5ff5d3e33d8b9901f633ffaf8e76d5e5a9434922e2564548dfa21
+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

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.3.1420322.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060.ebuild
similarity index 100%
rename from media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.3.1420322.ebuild
rename to media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.10.4.1452060.ebuild

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376.ebuild
similarity index 100%
rename from media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild
rename to media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376.ebuild


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2023-10-21 16:10 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2023-10-21 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     18dd6556090f9fca7d12100b8f665a7ef48c2f1e
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Oct  7 16:58:12 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Oct 21 16:04:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18dd6556

media-libs/amdgpu-pro-vulkan: add 23.20.0.1654522

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-23.20.0.1654522.ebuild       | 136 +++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 9643f02bd5ba..a52cff141fd9 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -8,3 +8,5 @@ DIST amdgpu-pro-vulkan-22.40.6.1580631-amd64.deb 26403020 BLAKE2B 9af314b75ec6af
 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

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522.ebuild
new file mode 100644
index 000000000000..4b94367c04b7
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.20.0.1654522.ebuild
@@ -0,0 +1,136 @@
+# 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}"
+
+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() {
+	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
+}
+
+pkg_postinst() {
+
+	if use abi_x86_32; then
+		elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+		elog "must be set beforehand"
+		elog
+	fi
+
+	if use abi_x86_64; then
+		elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+		elog "     VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+		elog "must be set beforehand"
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-04-26  6:55 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-04-26  6:55 UTC (permalink / raw
  To: gentoo-commits

commit:     75f111be5b0fe7574276b706b9d32d4160ee2b2c
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Mar 23 16:34:25 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 06:55:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f111be

media-libs/amdgpu-pro-vulkan: drop versions

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   8 --
 .../amdgpu-pro-vulkan-22.10.4.1452060-r1.ebuild    | 135 --------------------
 .../amdgpu-pro-vulkan-22.20.5.1511376-r1.ebuild    | 136 ---------------------
 .../amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild    | 134 --------------------
 .../amdgpu-pro-vulkan-23.20.0.1654522-r1.ebuild    | 134 --------------------
 5 files changed, 547 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 0f26568f8904..6b124f7642a2 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -1,14 +1,6 @@
 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

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.10.3.1620044-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044-r1.ebuild
deleted file mode 100644
index c53292fd171a..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.10.3.1620044-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.5.3"
-
-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.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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-04-26  6:55 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-04-26  6:55 UTC (permalink / raw
  To: gentoo-commits

commit:     718fb860b148fc356fb5fbb37da719aa9022f22d
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Mar 23 16:33:07 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 06:55:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718fb860

media-libs/amdgpu-pro-vulkan: add 23.40.0.1718238

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-23.40.0.1718238.ebuild       | 134 +++++++++++++++++++++
 2 files changed, 136 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index a52cff141fd9..0f26568f8904 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -10,3 +10,5 @@ DIST amdgpu-pro-vulkan-23.10.3.1620044-amd64.deb 28230396 BLAKE2B f0c59e5c955640
 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

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
new file mode 100644
index 000000000000..a6e635176f5a
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
@@ -0,0 +1,134 @@
+# 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}"
+
+INTERNAL_VER="6.0.2"
+
+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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-07-23 16:45 Jakov Smolić
  0 siblings, 0 replies; 17+ messages in thread
From: Jakov Smolić @ 2024-07-23 16:45 UTC (permalink / raw
  To: gentoo-commits

commit:     cf8d9217b9f35d2518037f698d389eac6c28a682
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 16:45:42 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 16:45:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8d9217

media-libs/amdgpu-pro-vulkan: Stabilize 23.40.0.1718238 amd64, #936515

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
index a6e635176f5a..a6410d03eb85 100644
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
@@ -33,7 +33,7 @@ RESTRICT="bindist mirror"
 
 LICENSE="AMD-GPU-PRO-EULA"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
 
 REQUIRED_USE="video_cards_amdgpu"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-09-26  7:17 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-09-26  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     b50daa7e8a1e587f15f75de2e41ee57e4ebe96b5
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Sep 22 18:37:21 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 07:10:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50daa7e

media-libs/amdgpu-pro-vulkan: add 23.40.0.1741713

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-23.40.0.1741713.ebuild       | 128 +++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 6b124f7642a2..f07ed31e6e9d 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -4,3 +4,5 @@ DIST amdgpu-pro-vulkan-22.40.6.1580631-amd64.deb 26403020 BLAKE2B 9af314b75ec6af
 DIST amdgpu-pro-vulkan-22.40.6.1580631-i386.deb 28131372 BLAKE2B 4f92814a1f1aa3cecec5321252990c87548b94c633be2080fb4be9c9ef72772e45943b62c55e1424b03671540b599f13666d49599c7ef8e2a93a51a66cc17e92 SHA512 7ffd0cebb630cbf2a3845c0e673c408f56a046bf68d1c73a02b2a1d3a245d5fdc3cb00b461fe52dbd74abd15cdd3e75007539de584750fce22176e6994007d94
 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
+DIST amdgpu-pro-vulkan-23.40.0.1741713-amd64.deb 23818448 BLAKE2B 7772466630e2435b0c37ddcb7f6e377afb69f698c61752b03f6be9962bf9cc30265b29e4629d6c61d1760c20a6df2ed4da629e302c43195124d71358c3774f4c SHA512 bb5af1c1b547d6bb19fc4c4c5525acf14cc8eb7f9b6f3c1a480156aad476d1ec5f7530b4a3c8f474195a2c81af6d55f7bed793b17c82b0ded9f6a6d077b527db
+DIST amdgpu-pro-vulkan-23.40.0.1741713-i386.deb 25236404 BLAKE2B 936761b0489950e20b3cc1dbf9dad3aaecc394bb79dc3d9f761afbafb005385edbcb6e32fc966e5f5d9a4b414d5e17b83b88b6926157f7beca450c5cba955bbb SHA512 fcf6995af686d205e9cddbb44d8bb57c0eb98985cd5579a806435cd40300fa6baa2c97e7087855ba3a09390cec6a91176156932f84e271a8c5a3b210c177bc0d

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1741713.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1741713.ebuild
new file mode 100644
index 000000000000..24ab0cf868e7
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1741713.ebuild
@@ -0,0 +1,128 @@
+# 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}"
+
+INTERNAL_VER="6.0.3"
+
+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}"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="-* amd64 ~x86"
+IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
+
+RESTRICT="bindist mirror"
+
+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
+
+		# Add "pro" in the .so file's name
+		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
+
+		# Add "pro" in the .so file's name
+		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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-09-26  7:17 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-09-26  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     32ee5cea4521b8a749abb4db09f18b9b65d421ce
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Sep 22 18:37:44 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 07:10:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ee5cea

media-libs/amdgpu-pro-vulkan: drop 23.40.0.1718238

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 -
 .../amdgpu-pro-vulkan-23.40.0.1718238.ebuild       | 134 ---------------------
 2 files changed, 136 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index f07ed31e6e9d..3220530acaf5 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -2,7 +2,5 @@ DIST amdgpu-pro-vulkan-21.50.2.1384496-amd64.deb 8320356 BLAKE2B 1a5997ee983bf47
 DIST amdgpu-pro-vulkan-21.50.2.1384496-i386.deb 8124180 BLAKE2B 697899e40cedc584d8507c3c4c908c54db3676d47d720fb7b7fcab6e1f542e1d1e5efedb5b46231d4cd6974d3d03a19816d6ab4cc6d2f0279547058b5e4143e3 SHA512 8662efb65f14172f4261401115737f3c7eebbe071a9660f5146eaee9a1d4684c30174b18bea94d31686dbe679d66ab77f252192c1cda27ed57784cc9a57e5fdf
 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.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
 DIST amdgpu-pro-vulkan-23.40.0.1741713-amd64.deb 23818448 BLAKE2B 7772466630e2435b0c37ddcb7f6e377afb69f698c61752b03f6be9962bf9cc30265b29e4629d6c61d1760c20a6df2ed4da629e302c43195124d71358c3774f4c SHA512 bb5af1c1b547d6bb19fc4c4c5525acf14cc8eb7f9b6f3c1a480156aad476d1ec5f7530b4a3c8f474195a2c81af6d55f7bed793b17c82b0ded9f6a6d077b527db
 DIST amdgpu-pro-vulkan-23.40.0.1741713-i386.deb 25236404 BLAKE2B 936761b0489950e20b3cc1dbf9dad3aaecc394bb79dc3d9f761afbafb005385edbcb6e32fc966e5f5d9a4b414d5e17b83b88b6926157f7beca450c5cba955bbb SHA512 fcf6995af686d205e9cddbb44d8bb57c0eb98985cd5579a806435cd40300fa6baa2c97e7087855ba3a09390cec6a91176156932f84e271a8c5a3b210c177bc0d

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
deleted file mode 100644
index a6410d03eb85..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# 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}"
-
-INTERNAL_VER="6.0.2"
-
-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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-09-26  7:17 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-09-26  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     134a811c63bc421e4fe2f0e1d6bd802266958c29
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Sep 22 18:58:25 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 07:10:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134a811c

media-libs/amdgpu-pro-vulkan: add 24.10.0.1787253

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 +
 .../amdgpu-pro-vulkan-24.10.0.1787253.ebuild       | 128 +++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 3220530acaf5..5ba97fd8eb9b 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -4,3 +4,5 @@ DIST amdgpu-pro-vulkan-22.40.6.1580631-amd64.deb 26403020 BLAKE2B 9af314b75ec6af
 DIST amdgpu-pro-vulkan-22.40.6.1580631-i386.deb 28131372 BLAKE2B 4f92814a1f1aa3cecec5321252990c87548b94c633be2080fb4be9c9ef72772e45943b62c55e1424b03671540b599f13666d49599c7ef8e2a93a51a66cc17e92 SHA512 7ffd0cebb630cbf2a3845c0e673c408f56a046bf68d1c73a02b2a1d3a245d5fdc3cb00b461fe52dbd74abd15cdd3e75007539de584750fce22176e6994007d94
 DIST amdgpu-pro-vulkan-23.40.0.1741713-amd64.deb 23818448 BLAKE2B 7772466630e2435b0c37ddcb7f6e377afb69f698c61752b03f6be9962bf9cc30265b29e4629d6c61d1760c20a6df2ed4da629e302c43195124d71358c3774f4c SHA512 bb5af1c1b547d6bb19fc4c4c5525acf14cc8eb7f9b6f3c1a480156aad476d1ec5f7530b4a3c8f474195a2c81af6d55f7bed793b17c82b0ded9f6a6d077b527db
 DIST amdgpu-pro-vulkan-23.40.0.1741713-i386.deb 25236404 BLAKE2B 936761b0489950e20b3cc1dbf9dad3aaecc394bb79dc3d9f761afbafb005385edbcb6e32fc966e5f5d9a4b414d5e17b83b88b6926157f7beca450c5cba955bbb SHA512 fcf6995af686d205e9cddbb44d8bb57c0eb98985cd5579a806435cd40300fa6baa2c97e7087855ba3a09390cec6a91176156932f84e271a8c5a3b210c177bc0d
+DIST amdgpu-pro-vulkan-24.10.0.1787253-amd64.deb 24104776 BLAKE2B 716f21242a7509abd7be7472dd6933f2e991818dd501cbb30002914589e82f74f389e95c4a921f17cb435279618b3cfeec7c691fb608d44e93c6acca52d458cb SHA512 8837965d33cdf8756bbb114d25a9e31d3e3572103b79a410521edd452372ec58d548f0b9e351f1d965bc4deb8d7a58cd4db77dd0f26957d54badd416ad430953
+DIST amdgpu-pro-vulkan-24.10.0.1787253-i386.deb 25584368 BLAKE2B 926196eea01f54b4274caa1c808cc948bcdb6bb2543622832f709175b7481d96ff34acd230b604c3e3adbdcdb1fb9c561b56560a9cb3516a8129da963b95fd5c SHA512 a48cdc9174290956c3eb77d7f2308696203cd2514374a87eb55a3b4ce13fec23aac670d9baff91e84e0ef4aeccc2397905af930b25c46c3586a49dd0fbc5a4c1

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-24.10.0.1787253.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-24.10.0.1787253.ebuild
new file mode 100644
index 000000000000..f844f4c6774b
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-24.10.0.1787253.ebuild
@@ -0,0 +1,128 @@
+# 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}"
+
+INTERNAL_VER="6.1.3"
+
+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}"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="-* amd64 ~x86"
+IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
+
+RESTRICT="bindist mirror"
+
+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
+
+		# Add "pro" in the .so file's name
+		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
+
+		# Add "pro" in the .so file's name
+		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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/
@ 2024-09-26  7:17 Joonas Niilola
  0 siblings, 0 replies; 17+ messages in thread
From: Joonas Niilola @ 2024-09-26  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2d0b746537dc7cf1185d2b9f2760d5ddc2bf146a
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Sep 22 18:59:12 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 07:10:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0b7465

media-libs/amdgpu-pro-vulkan: drop 21.50.2.1384496-r1

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/amdgpu-pro-vulkan/Manifest              |   2 -
 .../amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild    | 122 ---------------------
 2 files changed, 124 deletions(-)

diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 5ba97fd8eb9b..cabf0920ce29 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -1,5 +1,3 @@
-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.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.40.0.1741713-amd64.deb 23818448 BLAKE2B 7772466630e2435b0c37ddcb7f6e377afb69f698c61752b03f6be9962bf9cc30265b29e4629d6c61d1760c20a6df2ed4da629e302c43195124d71358c3774f4c SHA512 bb5af1c1b547d6bb19fc4c4c5525acf14cc8eb7f9b6f3c1a480156aad476d1ec5f7530b4a3c8f474195a2c81af6d55f7bed793b17c82b0ded9f6a6d077b527db

diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild
deleted file mode 100644
index 10cd494f94c5..000000000000
--- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild
+++ /dev/null
@@ -1,122 +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_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
-		mv amdvlk64.so.1.0 amdvlkpro64.so.1.0 || die
-		patchelf --set-soname amdvlkpro64.so.1.0 "${PWD}"/amdvlkpro64.so.1.0 || 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
-		mv amdvlk32.so.1.0 amdvlkpro32.so.1.0 || die
-		patchelf --set-soname amdvlkpro32.so.1.0 "${PWD}"/amdvlkpro32.so.1.0 || 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
-		insinto /usr/lib64
-
-		# Vulkan
-		doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so.1.0
-		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so
-		dosym amdvlkpro64.so.1.0 /usr/lib64/amdvlkpro64.so.1
-
-		# 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
-		insinto /usr/lib
-
-		# Vulkan
-		doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so.1.0
-		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so
-		dosym amdvlkpro32.so.1.0 /usr/lib/amdvlkpro32.so.1
-
-		# 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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-09-26  7:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-21 16:10 [gentoo-commits] repo/gentoo:master commit in: media-libs/amdgpu-pro-vulkan/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2024-09-26  7:17 Joonas Niilola
2024-09-26  7:17 Joonas Niilola
2024-09-26  7:17 Joonas Niilola
2024-09-26  7:17 Joonas Niilola
2024-07-23 16:45 Jakov Smolić
2024-04-26  6:55 Joonas Niilola
2024-04-26  6:55 Joonas Niilola
2023-08-18 11:05 Sam James
2023-08-18 11:05 Sam James
2023-08-18 11:05 Sam James
2022-10-05  7:00 Joonas Niilola
2022-08-17 16:18 Joonas Niilola
2022-06-03 11:01 Joonas Niilola
2022-04-07 19:28 Sam James
2022-03-26 14:20 Joonas Niilola
2022-03-16 15:54 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox