diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 18:59:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 18:59:30 +0000 |
commit | 1e1e7636b59380beebd325e8d256875e4f824230 (patch) | |
tree | cac3706b236cea47f66f8d45afc943890cd4375e /media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild | |
parent | 5cbf14acf23c82626389931f64cfe3ef12a1c29f (diff) |
gentoo auto-resync : 08:01:2024 - 18:59:30
Diffstat (limited to 'media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild')
-rw-r--r-- | media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.ebuild | 108 |
1 files changed, 0 insertions, 108 deletions
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 deleted file mode 100644 index b391b5756ff5..000000000000 --- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-21.50.2.1384496.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 -} |