summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD86
1 files changed, 10 insertions, 76 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5caee3e7a48..77eb5f6fffb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,11 @@
# Author: Janusz Lewandowski <lew21@xtreeme.org>
-# Maintainer: Carson Rueter <roachh at proton mail dot com>
# Contributor: David McFarland <corngood@gmail.com>
-# Contributor: Andrew Shark <ashark @at@ linuxcomp.ru>
+# Maintainer: Andrew Shark <ashark @at@ linuxcomp.ru>
# Autogenerated from AMD's Packages file
# with https://github.com/Ashark/archlinux-amdgpu-pro/blob/master/gen-PKGBUILD.py
-major=20.40
-minor=1147286
+major=20.45
+minor=1188099
ubuntu_ver=20.04
pkgbase=amdgpu-pro-installer
@@ -14,28 +13,23 @@ pkgname=(
amdgpu-core-meta
amdgpu-pro-core-meta
amf-amdgpu-pro
-hip-amdgpu-pro
amdgpu-pro-libgl
lib32-amdgpu-pro-libgl
-opencl-amdgpu-pro-comgr
-opencl-amdgpu-pro-dev
-opencl-amdgpu-pro-pal
-opencl-amdgpu-pro-orca
-lib32-opencl-amdgpu-pro-orca
vulkan-amdgpu-pro
lib32-vulkan-amdgpu-pro
)
pkgver=${major}_${minor}
pkgrel=1
arch=('x86_64')
-url=https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-40
+url=https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-30
license=('custom: multiple')
groups=('Radeon_Software_for_Linux')
makedepends=('wget')
-DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-40 -N %u'
+DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-30 -N %u'
+
source=(https://drivers.amd.com/drivers/linux/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}.tar.xz)
-sha256sums=('e6b2b2d76cc80ca989b5f2f1cf3e0c0bd0bdee97b1dba0767c28c91995cffb5e')
+sha256sums=(a4040db7822cde36c0783912428e1b4897ecdacb9b3d21d716357dae6e4fc6b7)
PKGEXT=".pkg.tar"
@@ -97,21 +91,12 @@ package_amdgpu-pro-core-meta () {
package_amf-amdgpu-pro () {
pkgdesc="AMDGPU Pro Advanced Multimedia Framework"
license=('custom: AMDGPU-PRO EULA')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "libglvnd" "libx11" "opencl-amdgpu-pro-orca=${major}_${minor}-${pkgrel}" "opencl-amdgpu-pro-pal=${major}_${minor}-${pkgrel}" "vulkan-amdgpu-pro=${major}_${minor}-${pkgrel}")
+ depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "libglvnd" "libx11" "opencl-amdgpu-pro-icd" "vulkan-amdgpu-pro=${major}_${minor}-${pkgrel}")
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/amf-amdgpu-pro_${major}-${minor}_amd64.deb
move_copyright
}
-package_hip-amdgpu-pro () {
- pkgdesc="HIP-CLANG runtime. HIP-CLANG allows developers to convert CUDA code to common C++"
- license=('custom: AMDGPU-PRO EULA')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}")
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/hip-amdgpu-pro_${major}-${minor}_amd64.deb
- move_copyright
-}
-
package_amdgpu-pro-libgl () {
pkgdesc="AMDGPU Pro OpenGL driver"
license=('custom: AMDGPU-PRO EULA')
@@ -148,57 +133,6 @@ package_lib32-amdgpu-pro-libgl () {
rm "${pkgdir}"/etc/amd/amdrc "${pkgdir}"/opt/amdgpu-pro/lib/xorg/modules/extensions/libglx.so "${pkgdir}"/opt/amdgpu/share/drirc.d/10-amdgpu-pro.conf
}
-package_opencl-amdgpu-pro-comgr () {
- pkgdesc="Code object manager (COMGR)"
- license=('custom: AMDGPU-PRO EULA')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}")
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/opencl-amdgpu-pro-comgr_${major}-${minor}_amd64.deb
- move_copyright
-}
-
-package_opencl-amdgpu-pro-dev () {
- pkgdesc="AMD OpenCL SDK"
- license=('custom: AMDGPU-PRO EULA')
- depends=("opencl-amdgpu-pro-comgr=${major}_${minor}-${pkgrel}")
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/opencl-amdgpu-pro-dev_${major}-${minor}_amd64.deb
- move_copyright
-}
-
-package_opencl-amdgpu-pro-pal () {
- pkgdesc="AMDGPU Pro OpenCL driver PAL"
- license=('custom: AMDGPU-PRO EULA')
- provides=('opencl-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "opencl-amdgpu-pro-comgr=${major}_${minor}-${pkgrel}")
- backup=(etc/OpenCL/vendors/amdocl64.icd)
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/opencl-amdgpu-pro-icd_${major}-${minor}_amd64.deb
- move_copyright
-}
-
-package_opencl-amdgpu-pro-orca () {
- pkgdesc="AMDGPU Pro OpenCL driver ORCA aka legacy"
- license=('custom: AMDGPU-PRO EULA')
- provides=('opencl-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}")
- backup=(etc/OpenCL/vendors/amdocl-orca64.icd)
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/opencl-orca-amdgpu-pro-icd_${major}-${minor}_amd64.deb
- move_copyright
-}
-
-package_lib32-opencl-amdgpu-pro-orca () {
- pkgdesc="AMDGPU Pro OpenCL driver ORCA aka legacy (32-bit)"
- license=('custom: AMDGPU-PRO EULA')
- provides=('lib32-opencl-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}")
- backup=(etc/OpenCL/vendors/amdocl-orca32.icd)
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}/opencl-orca-amdgpu-pro-icd_${major}-${minor}_i386.deb
- move_copyright
-}
-
package_vulkan-amdgpu-pro () {
pkgdesc="AMDGPU Pro Vulkan driver"
license=('custom: AMDGPU-PRO EULA')
@@ -211,7 +145,7 @@ package_vulkan-amdgpu-pro () {
# 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}"/opt/amdgpu-pro/etc/rm -rf "${pkgdir}"/etc/vulkan/icd.d/
}
package_lib32-vulkan-amdgpu-pro () {
@@ -226,6 +160,6 @@ package_lib32-vulkan-amdgpu-pro () {
# 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}"/opt/amdgpu-pro/etc/rm -rf "${pkgdir}"/etc/vulkan/icd.d/
}