summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Shark2021-01-25 03:37:07 +0300
committerAndrew Shark2021-01-25 03:37:07 +0300
commitff407343922bfa9935b5bc0bfe28b8c23cec9630 (patch)
tree4eaeccb4be22eac53424773a7ba941a19ea87bea
parent36045a192a89dc06a4752e5bfadc8c9550d0c928 (diff)
downloadaur-ff407343922bfa9935b5bc0bfe28b8c23cec9630.tar.gz
20.45_1188099-3
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 18 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97df998e502..dd17f26ece7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = amdgpu-pro-installer
pkgver = 20.45_1188099
- pkgrel = 2
+ pkgrel = 3
url = https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-30
arch = x86_64
groups = Radeon_Software_for_Linux
@@ -20,19 +20,19 @@ pkgname = amdgpu-pro-core-meta
install = amdgpu-pro-core-meta.install
arch = any
license = custom: AMDGPU-PRO EULA
- depends = amdgpu-core-meta=20.45_1188099-2
+ depends = amdgpu-core-meta=20.45_1188099-3
pkgname = amf-amdgpu-pro
pkgdesc = AMDGPU Pro Advanced Multimedia Framework
license = custom: AMDGPU-PRO EULA
depends = libglvnd
depends = libx11
- depends = vulkan-amdgpu-pro=20.45_1188099-2
+ depends = vulkan-amdgpu-pro=20.45_1188099-3
pkgname = amdgpu-pro-libgl
pkgdesc = AMDGPU Pro OpenGL driver
license = custom: AMDGPU-PRO EULA
- depends = amdgpu-pro-core-meta=20.45_1188099-2
+ depends = amdgpu-pro-core-meta=20.45_1188099-3
depends = libdrm
depends = libx11
depends = libxcb
@@ -47,8 +47,8 @@ pkgname = amdgpu-pro-libgl
pkgname = lib32-amdgpu-pro-libgl
pkgdesc = AMDGPU Pro OpenGL driver (32-bit)
license = custom: AMDGPU-PRO EULA
- depends = amdgpu-pro-core-meta=20.45_1188099-2
- depends = amdgpu-pro-libgl=20.45_1188099-2
+ depends = amdgpu-pro-core-meta=20.45_1188099-3
+ depends = amdgpu-pro-libgl=20.45_1188099-3
depends = lib32-libdrm
depends = lib32-libx11
depends = lib32-libxcb
@@ -64,14 +64,12 @@ pkgname = lib32-amdgpu-pro-libgl
pkgname = vulkan-amdgpu-pro
pkgdesc = AMDGPU Pro Vulkan driver
license = custom: AMDGPU-PRO EULA
- depends = amdgpu-pro-core-meta=20.45_1188099-2
depends = wayland
provides = vulkan-driver
pkgname = lib32-vulkan-amdgpu-pro
pkgdesc = AMDGPU Pro Vulkan driver (32-bit)
license = custom: AMDGPU-PRO EULA
- depends = amdgpu-pro-core-meta=20.45_1188099-2
depends = lib32-wayland
provides = lib32-vulkan-driver
diff --git a/PKGBUILD b/PKGBUILD
index 57963ec507b..6fc37a599ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ vulkan-amdgpu-pro
lib32-vulkan-amdgpu-pro
)
pkgver=${major}_${minor}
-pkgrel=2
+pkgrel=3
arch=('x86_64')
url=https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-30
license=('custom: multiple')
@@ -93,6 +93,7 @@ package_amf-amdgpu-pro () {
depends=("libglvnd" "libx11" "vulkan-amdgpu-pro=${major}_${minor}-${pkgrel}")
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/amf-amdgpu-pro_${major}-${minor}_amd64.deb
+ move_libdir "opt/amdgpu-pro/lib/x86_64-linux-gnu" "usr/lib"
move_copyright
}
@@ -136,31 +137,35 @@ package_vulkan-amdgpu-pro () {
pkgdesc="AMDGPU Pro Vulkan driver"
license=('custom: AMDGPU-PRO EULA')
provides=('vulkan-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "wayland")
+ depends=("wayland")
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/vulkan-amdgpu-pro_${major}-${minor}_amd64.deb
+ move_libdir "opt/amdgpu-pro/lib/x86_64-linux-gnu" "usr/lib"
move_copyright
# extra_commands:
mkdir -p "${pkgdir}"/usr/share/vulkan/icd.d/
mv "${pkgdir}"/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/amd_pro_icd64.json
- rm -rf "${pkgdir}"/opt/amdgpu-pro/etc/
- rm -rf "${pkgdir}"/etc
+ mv "${pkgdir}"/usr/lib/amdvlk64.so "${pkgdir}"/usr/lib/amdvlkpro64.so
+ sed -i "s#/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlk64.so#/usr/lib/amdvlkpro64.so#" "${pkgdir}"/usr/share/vulkan/icd.d/amd_pro_icd64.json
+ find ${pkgdir} -type d -empty -delete
}
package_lib32-vulkan-amdgpu-pro () {
pkgdesc="AMDGPU Pro Vulkan driver (32-bit)"
license=('custom: AMDGPU-PRO EULA')
provides=('lib32-vulkan-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "lib32-wayland")
+ depends=("lib32-wayland")
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/vulkan-amdgpu-pro_${major}-${minor}_i386.deb
+ move_libdir "opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_copyright
# extra_commands:
mkdir -p "${pkgdir}"/usr/share/vulkan/icd.d/
mv "${pkgdir}"/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd32.json "${pkgdir}"/usr/share/vulkan/icd.d/amd_pro_icd32.json
- rm -rf "${pkgdir}"/opt/amdgpu-pro/etc/
- rm -rf "${pkgdir}"/etc
+ mv "${pkgdir}"/usr/lib32/amdvlk32.so "${pkgdir}"/usr/lib32/amdvlkpro32.so
+ sed -i "s#/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so#/usr/lib32/amdvlkpro32.so#" "${pkgdir}"/usr/share/vulkan/icd.d/amd_pro_icd32.json
+ find ${pkgdir} -type d -empty -delete
}