Diff amdgpu-pro-vulkan-22.10.4.1452060 with a amdgpu-pro-vulkan-22.20.5.1511376
/usr/portage/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.5.1511376.ebuild 2023-10-09 14:52:31.656368405 +0300 | ||
---|---|---|
10 | 10 |
MY_PV_LOW=$(ver_cut 3) |
11 | 11 |
MY_PV_REV=$(ver_cut 4) |
12 | 12 | |
13 |
MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}.${MY_PV_LOW}" |
|
14 |
[[ $MY_PV_LOW = "0" ]] && MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}" |
|
13 |
MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}" |
|
14 | ||
15 |
MY_PV_LINK="$MY_PV" |
|
16 |
[[ $MY_PV_LOW != "0" ]] && MY_PV_LINK+=".$MY_PV_LOW" |
|
15 | 17 | |
16 | 18 |
MY_PV_FULL="${MY_PV}-${MY_PV_REV}" |
17 | 19 | |
18 | 20 |
MY_PN="vulkan-amdgpu-pro" |
19 | 21 | |
20 |
MY_LINK="https://repo.radeon.com/amdgpu/${MY_PV}/ubuntu/pool/proprietary/v/${MY_PN}" |
|
22 |
MY_LINK="https://repo.radeon.com/amdgpu/${MY_PV_LINK}/ubuntu/pool/proprietary/v/${MY_PN}" |
|
23 | ||
24 |
UBUNTU_VER="22.04" |
|
21 | 25 | |
22 | 26 |
DESCRIPTION="AMD's closed source vulkan driver, from Radeon Software for Linux" |
23 | 27 |
HOMEPAGE="https://www.amd.com/en/support" |
24 | 28 |
SRC_URI=" |
25 |
abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}_amd64.deb -> ${P}-amd64.deb ) |
|
26 |
abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}_i386.deb -> ${P}-i386.deb ) |
|
29 |
abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_amd64.deb -> ${P}-amd64.deb ) |
|
30 |
abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_i386.deb -> ${P}-i386.deb ) |
|
27 | 31 |
" |
28 | 32 |
S="${WORKDIR}" |
29 | 33 |