summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJanusz Lewandowski2016-03-29 00:45:39 +0200
committerJanusz Lewandowski2016-03-29 00:50:55 +0200
commit6eed4701b02b819d19f09f5b14227155f5c7cba8 (patch)
tree5668978a299ac259bdbd5e1356ed351e3f70dc6e /PKGBUILD
downloadaur-6eed4701b02b819d19f09f5b14227155f5c7cba8.tar.gz
Might work... Cannot test, as AMDGPU does not work on my Athlon 5350.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD580
1 files changed, 580 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8b7b87c5c01
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,580 @@
+# Maintainer: Janusz Lewandowski <lew21@xtreeme.org>
+# Autogenerated from AMD's Packages file
+# with https://github.com/LEW21/archlinux-amdgpu/blob/master/gen-PKGBUILD.py
+
+pkgbase=amdgpu-pro-installer
+pkgname=(amdgpu-pro amdgpu-pro-clinfo amdgpu-pro-computing amdgpu-pro-core amdgpu-pro-dkms amdgpu-pro-firmware amdgpu-pro-graphics lib32-amdgpu-pro-lib32 lib32-amdgpu-pro-libopencl-dev amdgpu-pro-libopencl-dev lib32-amdgpu-pro-libopencl1 amdgpu-pro-libopencl1 amdgpu-pro-opencl-icd lib32-amdgpu-pro-opencl-icd lib32-amdgpu-pro-vulkan-driver amdgpu-pro-vulkan-driver libdrm-amdgpu-pro-amdgpu1 lib32-libdrm-amdgpu-pro-amdgpu1 libdrm-amdgpu-pro-dev lib32-libdrm-amdgpu-pro-dev libdrm-amdgpu-pro-tools libdrm2-amdgpu-pro lib32-libdrm2-amdgpu-pro lib32-libegl1-amdgpu-pro libegl1-amdgpu-pro lib32-libegl1-amdgpu-pro-dev libegl1-amdgpu-pro-dev lib32-libgbm-amdgpu-pro-dev libgbm-amdgpu-pro-dev libgbm1-amdgpu-pro lib32-libgbm1-amdgpu-pro libgl1-amdgpu-pro-dev lib32-libgl1-amdgpu-pro-dev libgl1-amdgpu-pro-dri lib32-libgl1-amdgpu-pro-dri libgl1-amdgpu-pro-glx lib32-libgl1-amdgpu-pro-glx lib32-libgles2-amdgpu-pro libgles2-amdgpu-pro libgles2-amdgpu-pro-dev lib32-libgles2-amdgpu-pro-dev libvdpau-amdgpu-pro xserver-xorg-video-amdgpu-pro)
+pkgver=16.15.2
+pkgrel=277429
+arch=('x86_64')
+url="http://www.amd.com"
+
+url_ref="http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Beta-Driver-for-Vulkan-Release-Notes.aspx"
+DLAGENTS="https::/usr/bin/curl --referer ${url_ref} -o %o %u"
+
+source=(https://www2.ati.com/drivers/beta/amdgpu-pro_${pkgver}-277429.tar.xz)
+sha256sums=('e857cc74959706c276328b5876dfeba7d1ec0cbfacf966b607c50a748f7f5233')
+
+
+package_amdgpu-pro () {
+ pkgdesc="This package install all amdgpu-pro components."
+ depends=('amdgpu-pro-graphics=16.15.2-277429' 'amdgpu-pro-computing=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-clinfo () {
+ pkgdesc="AMD OpenCL info utility"
+ depends=('amdgpu-pro-libopencl1')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-clinfo_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-clinfo_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-clinfo_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-clinfo_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-computing () {
+ pkgdesc="This package install amdgpu-pro OpenCL components."
+ depends=('amdgpu-pro-core=16.15.2-277429' 'amdgpu-pro-clinfo=16.15.2-277429' 'amdgpu-pro-opencl-icd=16.15.2-277429' 'amdgpu-pro-libopencl-dev=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-computing_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-computing_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-computing_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-computing_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-core () {
+ pkgdesc="This package switchs the GPU stack to amdgpu-pro with basic components."
+ depends=('amdgpu-pro-firmware=16.15.2-277429' 'libdrm-amdgpu-pro-amdgpu1=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-core_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-core_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-core_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-core_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+
+ mv ${pkgdir}/lib ${pkgdir}/usr/
+}
+
+
+package_amdgpu-pro-dkms () {
+ pkgdesc="amdgpu-pro driver in DKMS format."
+ depends=('dkms>=1.95')
+ arch=('any')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-dkms_16.15.2-277429_all
+ mkdir "${srcdir}"/amdgpu-pro-dkms_16.15.2-277429_all
+ cd "${srcdir}"/amdgpu-pro-dkms_16.15.2-277429_all
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-dkms_16.15.2-277429_all.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-firmware () {
+ pkgdesc="Firmware for amdgpu-pro cards."
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-firmware_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-firmware_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-firmware_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-firmware_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+
+ mv ${pkgdir}/lib ${pkgdir}/usr/
+}
+
+
+package_amdgpu-pro-graphics () {
+ pkgdesc="This package install amdgpu-pro graphics components."
+ depends=('amdgpu-pro-core=16.15.2-277429' 'libgles2-amdgpu-pro=16.15.2-277429' 'libgl1-amdgpu-pro-dev=16.15.2-277429' 'libgl1-amdgpu-pro-dri=16.15.2-277429' 'xserver-xorg-video-amdgpu-pro=16.15.2-277429' 'amdgpu-pro-vulkan-driver=16.15.2-277429' 'libvdpau-amdgpu-pro=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-graphics_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-graphics_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-graphics_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-graphics_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-amdgpu-pro-lib32 () {
+ pkgdesc="This package contains x86 libs for x86_64 machine usage."
+ depends=('lib32-libgles2-amdgpu-pro=16.15.2-277429' 'lib32-libgl1-amdgpu-pro-dev=16.15.2-277429' 'lib32-libgl1-amdgpu-pro-dri=16.15.2-277429' 'lib32-libgbm1-amdgpu-pro=16.15.2-277429' 'lib32-amdgpu-pro-opencl-icd=16.15.2-277429' 'lib32-amdgpu-pro-libopencl-dev=16.15.2-277429' 'lib32-amdgpu-pro-vulkan-driver=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-lib32_16.15.2-277429_i386
+ mkdir "${srcdir}"/amdgpu-pro-lib32_16.15.2-277429_i386
+ cd "${srcdir}"/amdgpu-pro-lib32_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-lib32_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-amdgpu-pro-libopencl-dev () {
+ pkgdesc="AMD OpenCL ICD Loader library"
+ depends=('lib32-amdgpu-pro-libopencl1=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_i386
+ cd "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-libopencl-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-libopencl-dev () {
+ pkgdesc="AMD OpenCL ICD Loader library"
+ depends=('amdgpu-pro-libopencl1=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-libopencl-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-libopencl-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-amdgpu-pro-libopencl1 () {
+ pkgdesc="AMD OpenCL ICD Loader library"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_i386
+ mkdir "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_i386
+ cd "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-libopencl1_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-libopencl1 () {
+ pkgdesc="AMD OpenCL ICD Loader library"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-libopencl1_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-libopencl1_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-opencl-icd () {
+ pkgdesc="non-free AMD OpenCL ICD Loaders"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-opencl-icd_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-amdgpu-pro-opencl-icd () {
+ pkgdesc="non-free AMD OpenCL ICD Loaders"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_i386
+ mkdir "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_i386
+ cd "${srcdir}"/amdgpu-pro-opencl-icd_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-opencl-icd_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-amdgpu-pro-vulkan-driver () {
+ pkgdesc="AMDGPU Pro Vulkan driver"
+ depends=('lib32-libdrm-amdgpu-pro-amdgpu1' 'lib32-libx11' 'lib32-libxcb' 'lib32-libxcb>=1.9.2' 'lib32-libxext' 'lib32-libxshmfence')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_i386
+ mkdir "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_i386
+ cd "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-vulkan-driver_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_amdgpu-pro-vulkan-driver () {
+ pkgdesc="AMDGPU Pro Vulkan driver"
+ depends=('libdrm-amdgpu-pro-amdgpu1' 'libx11' 'libxcb' 'libxcb>=1.9.2' 'libxext' 'libxshmfence')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_amd64
+ mkdir "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_amd64
+ cd "${srcdir}"/amdgpu-pro-vulkan-driver_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./amdgpu-pro-vulkan-driver_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libdrm-amdgpu-pro-amdgpu1 () {
+ pkgdesc="Userspace interface to amdgpu-specific kernel DRM services -- runtime"
+ depends=('libdrm2-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_amd64
+ cd "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libdrm-amdgpu-pro-amdgpu1 () {
+ pkgdesc="Userspace interface to amdgpu-specific kernel DRM services -- runtime"
+ depends=('lib32-libdrm2-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_i386
+ mkdir "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_i386
+ cd "${srcdir}"/libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm-amdgpu-pro-amdgpu1_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libdrm-amdgpu-pro-dev () {
+ pkgdesc="Userspace interface to kernel DRM services -- development files"
+ depends=('libdrm2-amdgpu-pro=16.15.2-277429' 'libdrm-amdgpu-pro-amdgpu1=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm-amdgpu-pro-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libdrm-amdgpu-pro-dev () {
+ pkgdesc="Userspace interface to kernel DRM services -- development files"
+ depends=('lib32-libdrm2-amdgpu-pro=16.15.2-277429' 'lib32-libdrm-amdgpu-pro-amdgpu1=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_i386
+ cd "${srcdir}"/libdrm-amdgpu-pro-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm-amdgpu-pro-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libdrm-amdgpu-pro-tools () {
+ pkgdesc="testing tools for libdrm-amdgpu-pro"
+ depends=('cunit' 'libdrm-amdgpu-pro-amdgpu1' 'libdrm2-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm-amdgpu-pro-tools_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libdrm-amdgpu-pro-tools_16.15.2-277429_amd64
+ cd "${srcdir}"/libdrm-amdgpu-pro-tools_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm-amdgpu-pro-tools_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libdrm2-amdgpu-pro () {
+ pkgdesc="Userspace interface to kernel DRM services -- runtime"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm2-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libdrm2-amdgpu-pro () {
+ pkgdesc="Userspace interface to kernel DRM services -- runtime"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_i386
+ mkdir "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_i386
+ cd "${srcdir}"/libdrm2-amdgpu-pro_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libdrm2-amdgpu-pro_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libegl1-amdgpu-pro () {
+ pkgdesc="implementation of the EGL API -- runtime"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_i386
+ mkdir "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_i386
+ cd "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libegl1-amdgpu-pro_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libegl1-amdgpu-pro () {
+ pkgdesc="implementation of the EGL API -- runtime"
+ depends=()
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/libegl1-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libegl1-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libegl1-amdgpu-pro-dev () {
+ pkgdesc="implementation of the EGL API -- development files"
+ depends=('lib32-libegl1-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_i386
+ cd "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libegl1-amdgpu-pro-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libegl1-amdgpu-pro-dev () {
+ pkgdesc="implementation of the EGL API -- development files"
+ depends=('libegl1-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/libegl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libegl1-amdgpu-pro-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgbm-amdgpu-pro-dev () {
+ pkgdesc="generic buffer management API -- development files"
+ depends=('lib32-libgbm1-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_i386
+ cd "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgbm-amdgpu-pro-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgbm-amdgpu-pro-dev () {
+ pkgdesc="generic buffer management API -- development files"
+ depends=('libgbm1-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/libgbm-amdgpu-pro-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgbm-amdgpu-pro-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgbm1-amdgpu-pro () {
+ pkgdesc="generic buffer management API -- runtime"
+ depends=('libdrm-amdgpu-pro-amdgpu1')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgbm1-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgbm1-amdgpu-pro () {
+ pkgdesc="generic buffer management API -- runtime"
+ depends=('lib32-libdrm-amdgpu-pro-amdgpu1')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_i386
+ cd "${srcdir}"/libgbm1-amdgpu-pro_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgbm1-amdgpu-pro_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgl1-amdgpu-pro-dev () {
+ pkgdesc="implementation of the OpenGL API -- GLX development files"
+ depends=('libgl1-amdgpu-pro-glx=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgl1-amdgpu-pro-dev () {
+ pkgdesc="implementation of the OpenGL API -- GLX development files"
+ depends=('lib32-libgl1-amdgpu-pro-glx=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_i386
+ cd "${srcdir}"/libgl1-amdgpu-pro-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgl1-amdgpu-pro-dri () {
+ pkgdesc="implementation of the OpenGL API -- DRI modules"
+ depends=('libx11' 'libxext')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_amd64
+ cd "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-dri_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgl1-amdgpu-pro-dri () {
+ pkgdesc="implementation of the OpenGL API -- DRI modules"
+ depends=('lib32-libx11' 'lib32-libxext')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_i386
+ cd "${srcdir}"/libgl1-amdgpu-pro-dri_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-dri_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgl1-amdgpu-pro-glx () {
+ pkgdesc="implementation of the OpenGL API -- GLX runtime"
+ depends=('libdrm2-amdgpu-pro' 'libx11>=1.4.99.1' 'libxcb>=1.8' 'libxcb' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxxf86vm')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_amd64
+ cd "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-glx_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgl1-amdgpu-pro-glx () {
+ pkgdesc="implementation of the OpenGL API -- GLX runtime"
+ depends=('lib32-libdrm2-amdgpu-pro' 'lib32-libx11>=1.4.99.1' 'lib32-libxcb>=1.8' 'lib32-libxcb' 'lib32-libxdamage>=1.1' 'lib32-libxext' 'lib32-libxfixes' 'lib32-libxxf86vm')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_i386
+ cd "${srcdir}"/libgl1-amdgpu-pro-glx_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgl1-amdgpu-pro-glx_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgles2-amdgpu-pro () {
+ pkgdesc="implementation of the OpenGL|ES 2.x API -- runtime"
+ depends=('lib32-libegl1-amdgpu-pro=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_i386
+ cd "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgles2-amdgpu-pro_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgles2-amdgpu-pro () {
+ pkgdesc="implementation of the OpenGL|ES 2.x API -- runtime"
+ depends=('libegl1-amdgpu-pro=16.15.2-277429')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/libgles2-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgles2-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libgles2-amdgpu-pro-dev () {
+ pkgdesc="implementation of the OpenGL|ES 2.x API -- development files"
+ depends=('libgles2-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_amd64
+ cd "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgles2-amdgpu-pro-dev_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_lib32-libgles2-amdgpu-pro-dev () {
+ pkgdesc="implementation of the OpenGL|ES 2.x API -- development files"
+ depends=('lib32-libgles2-amdgpu-pro')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_i386
+ mkdir "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_i386
+ cd "${srcdir}"/libgles2-amdgpu-pro-dev_16.15.2-277429_i386
+ ar x "${srcdir}"/amdgpu-pro-driver/./libgles2-amdgpu-pro-dev_16.15.2-277429_i386.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_libvdpau-amdgpu-pro () {
+ pkgdesc="AMDGPU Pro VDPAU driver"
+ depends=('libdrm-amdgpu-pro-amdgpu1' 'libdrm>=2.4.31' 'libdrm2-amdgpu-pro' 'libelf>=0.142' 'libx11' 'libxcb>=1.8' 'libxcb')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/libvdpau-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/libvdpau-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/libvdpau-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./libvdpau-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+
+
+package_xserver-xorg-video-amdgpu-pro () {
+ pkgdesc="X.Org X server -- AMD/ATI Amdgpu-Pro display driver"
+ depends=('libdrm-amdgpu-pro-amdgpu1' 'libdrm2-amdgpu-pro' 'libepoxy>=1.0' 'libgbm1-amdgpu-pro' 'libgl1-amdgpu-pro-glx' 'libpciaccess' 'libsystemd>=183' 'libx11' 'libxcb' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxxf86vm' 'xorg-server')
+ arch=('x86_64')
+
+ rm -Rf "${srcdir}"/xserver-xorg-video-amdgpu-pro_16.15.2-277429_amd64
+ mkdir "${srcdir}"/xserver-xorg-video-amdgpu-pro_16.15.2-277429_amd64
+ cd "${srcdir}"/xserver-xorg-video-amdgpu-pro_16.15.2-277429_amd64
+ ar x "${srcdir}"/amdgpu-pro-driver/./xserver-xorg-video-amdgpu-pro_16.15.2-277429_amd64.deb
+ tar -C "${pkgdir}" -xf data.tar.xz
+}
+