summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid McFarland2017-12-23 20:44:40 -0400
committerDavid McFarland2017-12-23 20:46:24 -0400
commitede737884af35e3fe5be94e8864a336a14839de4 (patch)
treeb94645fc5054c176e97eb7c21572bdd372d3800d /PKGBUILD
parentecef091f54a41fbfab721ea80c28801439476728 (diff)
downloadaur-ede737884af35e3fe5be94e8864a336a14839de4.tar.gz
17.40.492261-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD302
1 files changed, 181 insertions, 121 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c4743841f77..a090a7907bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
# Autogenerated from AMD's Packages file
pkgbase=amdgpu-pro-installer
-pkgname=(amdgpu-pro amdgpu-pro-dkms amdgpu-pro-libdrm amdgpu-pro-libgl amdgpu-pro-opencl amdgpu-pro-vdpau amdgpu-pro-vulkan lib32-amdgpu-pro lib32-amdgpu-pro-libdrm lib32-amdgpu-pro-libgl lib32-amdgpu-pro-opencl lib32-amdgpu-pro-vdpau lib32-amdgpu-pro-vulkan xf86-video-amdgpu-pro)
-pkgver=17.10.401251
-pkgrel=2
+pkgname=(amdgpu-pro amdgpu-pro-dkms amdgpu-pro-gst-omx amdgpu-pro-libdrm amdgpu-pro-libgl amdgpu-pro-mesa-omx amdgpu-pro-opencl amdgpu-pro-vdpau amdgpu-pro-vulkan lib32-amdgpu-pro lib32-amdgpu-pro-gst-omx lib32-amdgpu-pro-libdrm lib32-amdgpu-pro-libgl lib32-amdgpu-pro-mesa-omx lib32-amdgpu-pro-opencl lib32-amdgpu-pro-vdpau lib32-amdgpu-pro-vulkan xf86-video-amdgpu-pro)
+pkgver=17.40.492261
+pkgrel=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
@@ -13,18 +13,12 @@ makedepends=('wget')
DLAGENTS='https::/usr/bin/wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx -N %u'
-source=(https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-401251.tar.xz
+source=(https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
0001-disable-firmware-copy.patch
- 0002-linux-4.9-fixes.patch
- 0003-Change-seq_printf-format-for-64-bit-context.patch
- 0004-fix-warnings-for-Werror.patch
- 0005-add-archlinux-as-build-option.patch)
-sha256sums=(0a10cf39841bf77eacb393ca112ce5f82ca0c4ea728d2fce975732855c039600
- 6aaf7566a70d1654bfc1ddfc73f25b246518e39c504c350cd131f4c40ce5a583
- 858828f9292e552dc2a20d838c602ab76e56c32384352d3de26e519c18a16db5
- 1e22be9d3e3aed6848cc0030f37d3fe710b37322d6db2219521827edf02cf38c
- 375a0caad148e018774fae57cc1c05926b01b71497c363b38d83163b0e6961ca
- 4e29fd4c1fd319b22c42d4d9e26e5cc75b9eab61e15f65e8acbe6db8a31ca3fb)
+ 0003-add-archlinux-as-build-option.patch)
+sha256sums=(b0645157577c9ff175dc02487c4c682ded2624c8c2cfd6aa603960962e1d07b0
+ 85359c89d7f1317cf5176bc9c489314aba2db20d962b120a43fc532575466345
+ 2bf8eac2afac3bce0d17f840c15009838b578a72412ff66df6e8caa6c00fade7)
@@ -63,24 +57,25 @@ package_amdgpu-pro () {
pkgdesc="The AMDGPU Pro driver package"
install=amdgpu-pro-core.install
arch=('x86_64')
- depends=('glib2>=2.37.3' 'gst-plugins-base>=1.6.0' 'gstreamer>=1.0.0' 'libomxil-bellagio' 'libx11' 'libx11>=1.4.99.1' 'libxcb' 'libxcb>=1.8' 'libxcb>=1.9.2' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxshmfence' 'libxxf86vm' 'ncurses5-compat-libs>=6' 'openssl>=1.0.0' 'zlib>=1.2.0')
-
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro-lib32_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./gst-omx-amdgpu-pro_1.0.0.1-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libegl1-amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-base_17.10-401251_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-dev_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-appprofiles_17.10-401251_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-dri_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-ext_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-glx_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libglamor-amdgpu-pro-dev_1.18.3-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgles2-amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./mesa-amdgpu-pro-omx-drivers_13.0.3-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
+ depends=('binfmt-support' 'libedit>=2.11-20080614' 'libffi>=3.0.9' 'libx11' 'libxext' 'libxfixes' 'ncurses' 'ncurses5-compat-libs>=6' 'zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./amdgpu-pro-core_17.40-492261_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./amdgpu-pro-lib32_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./ids-amdgpu-pro_1.0.0-492261_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgbm1-amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgbm1-amdgpu-pro-base_17.40-492261_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgbm1-amdgpu-pro-dev_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-dri_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libllvm5.0-amdgpu-pro_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0-dev_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0-doc_5.0-492261_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0-runtime_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-dev_5.0-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-runtime_5.0-492261_amd64.deb
+
move_libdir "${pkgdir}/lib"
# extra_commands:
@@ -95,45 +90,49 @@ package_amdgpu-pro () {
package_amdgpu-pro-dkms () {
pkgdesc="amdgpu-pro driver in DKMS format."
arch=('any')
- depends=('dkms>=1.95')
+ depends=('amdgpu-pro=17.40.492261-1' 'dkms>=1.95')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./amdgpu-pro-dkms_17.40-492261_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro-dkms_17.10-401251_all.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
# extra_commands:
msg 'Applying patches...'
- (cd ${pkgdir}/usr/src/amdgpu-pro-17.10-401251;
+ (cd ${pkgdir}/usr/src/amdgpu-17.40-492261;
sed -i 's/\/extra/\/extramodules/' dkms.conf
msg2 '0001-disable-firmware-copy.patch'
patch -p1 -i "${srcdir}/0001-disable-firmware-copy.patch";
- msg2 '0002-linux-4.9-fixes.patch'
- patch -p1 -i "${srcdir}/0002-linux-4.9-fixes.patch";
- msg2 '0003-Change-seq_printf-format-for-64-bit-context.patch'
- patch -p1 -i "${srcdir}/0003-Change-seq_printf-format-for-64-bit-context.patch";
- msg2 '0004-fix-warnings-for-Werror.patch'
- patch -p1 -i "${srcdir}/0004-fix-warnings-for-Werror.patch";
- msg2 '0005-add-archlinux-as-build-option.patch'
- patch -p1 -i "${srcdir}/0005-add-archlinux-as-build-option.patch"
+ msg2 '0003-add-archlinux-as-build-option.patch'
+ patch -p1 -i "${srcdir}/0003-add-archlinux-as-build-option.patch"
)
}
+package_amdgpu-pro-gst-omx () {
+ pkgdesc="GStreamer OpenMAX plugins for AMDGPU Pro"
+ arch=('x86_64')
+ depends=('glib2>=2.37.3' 'gst-plugins-base>=1.6.0' 'gstreamer>=1.0.0' 'libomxil-bellagio')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./gst-omx-amdgpu-pro_1.0.0.1-492261_amd64.deb
+
+ move_libdir "${pkgdir}/lib"
+
+}
+
+
package_amdgpu-pro-libdrm () {
pkgdesc="The AMDGPU Pro userspace interface to kernel DRM services"
arch=('x86_64')
provides=('libdrm')
conflicts=('libdrm')
- depends=('bcunit')
-
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-amdgpu1_2.4.70-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-dev_2.4.70-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-radeon1_2.4.70-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-utils_2.4.70-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm2-amdgpu-pro_2.4.70-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
+ depends=('amdgpu-pro=17.40.492261-1' 'bcunit')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-amdgpu1_2.4.82-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-dev_2.4.82-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-radeon1_2.4.82-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-utils_2.4.82-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm2-amdgpu-pro_2.4.82-492261_amd64.deb
+
move_libdir "${pkgdir}/lib"
}
@@ -144,10 +143,26 @@ package_amdgpu-pro-libgl () {
arch=('x86_64')
provides=('libgl')
conflicts=('libgl')
- depends=(amdgpu-pro)
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'libx11' 'libx11>=1.4.99.1' 'libxcb' 'libxcb>=1.8' 'libxcb>=1.9.2' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxshmfence' 'libxxf86vm')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libegl1-amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-appprofiles_17.40-492261_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-ext_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-glx_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgles2-amdgpu-pro_17.40-492261_amd64.deb
+
+ move_libdir "${pkgdir}/lib"
+
+}
+
+
+package_amdgpu-pro-mesa-omx () {
+ pkgdesc="Mesa OpenMAX video drivers for AMDGPU Pro"
+ arch=('x86_64')
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'libomxil-bellagio' 'libx11' 'libxcb' 'libxcb>=1.8' 'ncurses5-compat-libs>=6' 'zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./mesa-amdgpu-pro-omx-drivers_17.0.1-492261_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
}
@@ -157,13 +172,24 @@ package_amdgpu-pro-opencl () {
pkgdesc="The AMDGPU Pro OpenCL implementation"
arch=('x86_64')
provides=('opencl-driver')
- depends=()
+ depends=('amdgpu-pro=17.40.492261-1' 'pciutils>=3.3.1-1')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./clinfo-amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./hsa-ext-amdgpu-pro-finalize_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./hsa-ext-amdgpu-pro-image_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./hsa-runtime-tools-amdgpu-pro_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./hsa-runtime-tools-amdgpu-pro-dev_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libopencl1-amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./opencl-amdgpu-pro-icd_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocm-amdgpu-pro_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocm-amdgpu-pro-icd_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocm-amdgpu-pro-opencl_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocm-amdgpu-pro-opencl-dev_17.40-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocr-amdgpu-pro_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./rocr-amdgpu-pro-dev_1.1.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./roct-amdgpu-pro_1.0.6-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./roct-amdgpu-pro-dev_1.0.6-492261_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./clinfo-amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libopencl1-amdgpu-pro_17.10-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./opencl-amdgpu-pro-icd_17.10-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
}
@@ -172,11 +198,10 @@ package_amdgpu-pro-opencl () {
package_amdgpu-pro-vdpau () {
pkgdesc="The AMDGPU Pro VDPAU driver"
arch=('x86_64')
- depends=('amdgpu-pro-libdrm=17.10.401251-2' 'libvdpau>=1.1' 'libxcb' 'libxcb>=1.8' 'ncurses5-compat-libs>=6' 'openssl>=1.0.0' 'zlib>=1.2.0')
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'libvdpau>=1.1' 'libxcb' 'libxcb>=1.8' 'ncurses5-compat-libs>=6' 'zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libvdpau-amdgpu-pro_17.0.1-492261_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libvdpau-amdgpu-pro_13.0.3-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
# extra_commands:
@@ -191,16 +216,16 @@ package_amdgpu-pro-vulkan () {
pkgdesc="The AMDGPU Pro Vulkan driver"
arch=('x86_64')
provides=('vulkan-driver')
- depends=('amdgpu-pro-libdrm=17.10.401251-2')
+ depends=('amdgpu-pro=17.40.492261-1')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./vulkan-amdgpu-pro_17.40-492261_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./vulkan-amdgpu-pro_17.10-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
# extra_commands:
mkdir -p "${pkgdir}"/usr/share/vulkan/icd.d/
mv "${pkgdir}"/etc/vulkan/icd.d/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/
+ sed -i "s@abi_versions\(.*\)0.9.0\(.*\)@api_version\11.0.61\2@" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
rm -rf "${pkgdir}"/etc/vulkan/
}
@@ -208,21 +233,20 @@ package_amdgpu-pro-vulkan () {
package_lib32-amdgpu-pro () {
pkgdesc="Meta package to install amdgpu Pro components. (32bit libraries)"
arch=('x86_64')
- depends=('lib32-glib2>=2.37.3' 'lib32-gst-plugins-base>=1.6.0' 'lib32-gstreamer>=1.0.0' 'lib32-libomxil-bellagio' 'lib32-libx11' 'lib32-libx11>=1.4.99.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-libxcb>=1.9.2' 'lib32-libxdamage>=1.1' 'lib32-libxext' 'lib32-libxfixes' 'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-ncurses5-compat-libs>=6' 'lib32-openssl>=1.0.0' 'lib32-zlib>=1.2.0')
-
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./gst-omx-amdgpu-pro_1.0.0.1-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libegl1-amdgpu-pro_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-dev_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-dri_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-ext_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-glx_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libglamor-amdgpu-pro-dev_1.18.3-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgles2-amdgpu-pro_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./mesa-amdgpu-pro-omx-drivers_13.0.3-401251_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
+ depends=('binfmt-support' 'lib32-libedit>=2.11-20080614' 'lib32-libffi>=3.0.9' 'lib32-libx11' 'lib32-libxext' 'lib32-libxfixes' 'lib32-ncurses' 'lib32-ncurses5-compat-libs>=6' 'lib32-zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./amdgpu-pro_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgbm1-amdgpu-pro_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgbm1-amdgpu-pro-dev_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-dri_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libllvm5.0-amdgpu-pro_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0-dev_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-5.0-runtime_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-dev_5.0-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./llvm-amdgpu-pro-runtime_5.0-492261_i386.deb
+
move_libdir "${pkgdir}/lib" "usr/lib32"
# extra_commands:
@@ -239,19 +263,35 @@ package_lib32-amdgpu-pro () {
}
+package_lib32-amdgpu-pro-gst-omx () {
+ pkgdesc="GStreamer OpenMAX plugins for AMDGPU Pro (32bit libraries)"
+ arch=('x86_64')
+ depends=('lib32-glib2>=2.37.3' 'lib32-gst-plugins-base>=1.6.0' 'lib32-gstreamer>=1.0.0' 'lib32-libomxil-bellagio')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./gst-omx-amdgpu-pro_1.0.0.1-492261_i386.deb
+
+ move_libdir "${pkgdir}/lib" "usr/lib32"
+
+
+ # lib32 cleanup
+ rm -rf "${pkgdir}"/usr/{bin,lib,include,share} "${pkgdir}/var" "${pkgdir}"/opt/amdgpu-pro/{bin,include,share}
+ rm -rf "${pkgdir}"/opt/amdgpu-pro/lib/xorg/modules/extensions/
+
+}
+
+
package_lib32-amdgpu-pro-libdrm () {
pkgdesc="The AMDGPU Pro userspace interface to kernel DRM services (32bit libraries)"
arch=('x86_64')
provides=('lib32-libdrm')
conflicts=('lib32-libdrm')
- depends=('amdgpu-pro-libdrm=17.10.401251-2')
-
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-amdgpu1_2.4.70-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-dev_2.4.70-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-radeon1_2.4.70-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm2-amdgpu-pro_2.4.70-401251_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-amdgpu1_2.4.82-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-dev_2.4.82-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm-amdgpu-pro-radeon1_2.4.82-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libdrm2-amdgpu-pro_2.4.82-492261_i386.deb
+
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -267,12 +307,36 @@ package_lib32-amdgpu-pro-libgl () {
arch=('x86_64')
provides=('lib32-libgl')
conflicts=('lib32-libgl')
- depends=(lib32-amdgpu-pro)
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro-libgl=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'lib32-libx11' 'lib32-libx11>=1.4.99.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-libxcb>=1.9.2' 'lib32-libxdamage>=1.1' 'lib32-libxext' 'lib32-libxfixes' 'lib32-libxshmfence' 'lib32-libxxf86vm')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libegl1-amdgpu-pro_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-ext_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgl1-amdgpu-pro-glx_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libgles2-amdgpu-pro_17.40-492261_i386.deb
+
+ move_libdir "${pkgdir}/lib" "usr/lib32"
+
+ # extra_commands:
+ rm -rf "${pkgdir}"/etc
+
+ # lib32 cleanup
+ rm -rf "${pkgdir}"/usr/{bin,lib,include,share} "${pkgdir}/var" "${pkgdir}"/opt/amdgpu-pro/{bin,include,share}
+ rm -rf "${pkgdir}"/opt/amdgpu-pro/lib/xorg/modules/extensions/
+
+}
+
+
+package_lib32-amdgpu-pro-mesa-omx () {
+ pkgdesc="Mesa OpenMAX video drivers for AMDGPU Pro (32bit libraries)"
+ arch=('x86_64')
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'lib32-libomxil-bellagio' 'lib32-libx11' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-ncurses5-compat-libs>=6' 'lib32-zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./mesa-amdgpu-pro-omx-drivers_17.0.1-492261_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
+ # extra_commands:
+ rm -f "${pkgdir}"/etc/xdg/gstomx.conf
# lib32 cleanup
rm -rf "${pkgdir}"/usr/{bin,lib,include,share} "${pkgdir}/var" "${pkgdir}"/opt/amdgpu-pro/{bin,include,share}
@@ -285,12 +349,11 @@ package_lib32-amdgpu-pro-opencl () {
pkgdesc="The AMDGPU Pro OpenCL implementation"
arch=('x86_64')
provides=('lib32-opencl-driver')
- depends=()
+ depends=('amdgpu-pro=17.40.492261-1')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libopencl1-amdgpu-pro_17.40-492261_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./opencl-amdgpu-pro-icd_17.40-492261_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libopencl1-amdgpu-pro_17.10-401251_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./opencl-amdgpu-pro-icd_17.10-401251_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -304,18 +367,17 @@ package_lib32-amdgpu-pro-opencl () {
package_lib32-amdgpu-pro-vdpau () {
pkgdesc="The AMDGPU Pro VDPAU driver (32bit libraries)"
arch=('x86_64')
- depends=('amdgpu-pro-libdrm=17.10.401251-2' 'lib32-libvdpau>=1.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-ncurses5-compat-libs>=6' 'lib32-openssl>=1.0.0' 'lib32-zlib>=1.2.0')
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'lib32-libvdpau>=1.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-ncurses5-compat-libs>=6' 'lib32-zlib>=1.2.0')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./libvdpau-amdgpu-pro_17.0.1-492261_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libvdpau-amdgpu-pro_13.0.3-401251_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
# extra_commands:
mkdir -p "${pkgdir}"/usr/lib32/
ln -s /opt/amdgpu-pro/lib/i386-linux-gnu/vdpau/libvdpau_amdgpu.so.1.0.0 "${pkgdir}"/usr/lib32/libvdpau_amdgpu.so.1.0.0
- ln -s /opt/amdgpu-pro/lib/i368-linux-gnu/vdpau/libvdpau_amdgpu.so.1.0.0 "${pkgdir}"/usr/lib32/libvdpau_amdgpu.so.1
- ln -s /opt/amdgpu-pro/lib/i368-linux-gnu/vdpau/libvdpau_amdgpu.so.1.0.0 "${pkgdir}"/usr/lib32/libvdpau_amdgpu.so
+ ln -s /opt/amdgpu-pro/lib/i386-linux-gnu/vdpau/libvdpau_amdgpu.so.1.0.0 "${pkgdir}"/usr/lib32/libvdpau_amdgpu.so.1
+ ln -s /opt/amdgpu-pro/lib/i386-linux-gnu/vdpau/libvdpau_amdgpu.so.1.0.0 "${pkgdir}"/usr/lib32/libvdpau_amdgpu.so
# lib32 cleanup
rm -rf "${pkgdir}"/usr/{bin,lib,include,share} "${pkgdir}/var" "${pkgdir}"/opt/amdgpu-pro/{bin,include,share}
@@ -328,16 +390,16 @@ package_lib32-amdgpu-pro-vulkan () {
pkgdesc="The AMDGPU Pro Vulkan driver (32bit libraries)"
arch=('x86_64')
provides=('lib32-vulkan-driver')
- depends=('amdgpu-pro-libdrm=17.10.401251-2')
+ depends=('amdgpu-pro=17.40.492261-1')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./vulkan-amdgpu-pro_17.40-492261_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./vulkan-amdgpu-pro_17.10-401251_i386.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
# extra_commands:
mkdir -p "${pkgdir}"/usr/share/vulkan/icd.d/
mv "${pkgdir}"/etc/vulkan/icd.d/amd_icd32.json "${pkgdir}"/usr/share/vulkan/icd.d/
+ sed -i "s@abi_versions\(.*\)0.9.0\(.*\)@api_version\11.0.61\2@" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd32.json
rm -rf "${pkgdir}"/etc/vulkan/
# lib32 cleanup
@@ -351,15 +413,13 @@ package_xf86-video-amdgpu-pro () {
pkgdesc="The AMDGPU Pro X.org video driver"
arch=('x86_64')
provides=('xf86-video-amdgpu')
- conflicts=('xf86-video-amdgpu' 'xorg-server<1.18.0' 'xorg-server>=1.19.0X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
- groups=('xorg-driversxorg')
- depends=('amdgpu-pro-libdrm=17.10.401251-2' 'amdgpu-pro=17.10.401251-2' 'libepoxy>=1.0' 'libsystemd>=183')
-
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-amdgpu-pro_1.2.99-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-glamoregl-amdgpu-pro_1.18.3-401251_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-modesetting-amdgpu-pro_1.18.3-401251_amd64.deb
- #move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
- #move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
+ conflicts=('xf86-video-amdgpu' 'xorg-server<1.19.0' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
+ groups=('xorg-drivers')
+ depends=('amdgpu-pro-libdrm=17.40.492261-1' 'amdgpu-pro=17.40.492261-1' 'libsystemd>=183')
+
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./xserver-xorg-video-amdgpu-pro_1.3.99-492261_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.40-492261/./xserver-xorg-video-modesetting-amdgpu-pro_1.19.0-492261_amd64.deb
+
move_libdir "${pkgdir}/lib"
}