summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO154
-rw-r--r--0001-disable-firmware-copy.patch24
-rw-r--r--0002-linux-4.9-fixes.patch50
-rw-r--r--0003-Change-seq_printf-format-for-64-bit-context.patch25
-rw-r--r--0003-add-archlinux-as-build-option.patch (renamed from 0005-add-archlinux-as-build-option.patch)14
-rw-r--r--0004-fix-warnings-for-Werror.patch46
-rw-r--r--PKGBUILD302
7 files changed, 300 insertions, 315 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 42bf4eb3c0e..9cd82e30e28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,53 +1,49 @@
pkgbase = amdgpu-pro-installer
- pkgver = 17.10.401251
- pkgrel = 2
+ pkgver = 17.40.492261
+ pkgrel = 1
url = http://www.amd.com
arch = x86_64
license = custom:AMD
makedepends = wget
- 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
source = 0001-disable-firmware-copy.patch
- source = 0002-linux-4.9-fixes.patch
- source = 0003-Change-seq_printf-format-for-64-bit-context.patch
- source = 0004-fix-warnings-for-Werror.patch
- source = 0005-add-archlinux-as-build-option.patch
- sha256sums = 0a10cf39841bf77eacb393ca112ce5f82ca0c4ea728d2fce975732855c039600
- sha256sums = 6aaf7566a70d1654bfc1ddfc73f25b246518e39c504c350cd131f4c40ce5a583
- sha256sums = 858828f9292e552dc2a20d838c602ab76e56c32384352d3de26e519c18a16db5
- sha256sums = 1e22be9d3e3aed6848cc0030f37d3fe710b37322d6db2219521827edf02cf38c
- sha256sums = 375a0caad148e018774fae57cc1c05926b01b71497c363b38d83163b0e6961ca
- sha256sums = 4e29fd4c1fd319b22c42d4d9e26e5cc75b9eab61e15f65e8acbe6db8a31ca3fb
+ source = 0003-add-archlinux-as-build-option.patch
+ sha256sums = b0645157577c9ff175dc02487c4c682ded2624c8c2cfd6aa603960962e1d07b0
+ sha256sums = 85359c89d7f1317cf5176bc9c489314aba2db20d962b120a43fc532575466345
+ sha256sums = 2bf8eac2afac3bce0d17f840c15009838b578a72412ff66df6e8caa6c00fade7
pkgname = amdgpu-pro
pkgdesc = The AMDGPU Pro driver package
install = amdgpu-pro-core.install
arch = x86_64
- depends = glib2>=2.37.3
- depends = gst-plugins-base>=1.6.0
- depends = gstreamer>=1.0.0
- depends = libomxil-bellagio
+ depends = binfmt-support
+ depends = libedit>=2.11-20080614
+ depends = libffi>=3.0.9
depends = libx11
- depends = libx11>=1.4.99.1
- depends = libxcb
- depends = libxcb>=1.8
- depends = libxcb>=1.9.2
- depends = libxdamage>=1.1
depends = libxext
depends = libxfixes
- depends = libxshmfence
- depends = libxxf86vm
+ depends = ncurses
depends = ncurses5-compat-libs>=6
- depends = openssl>=1.0.0
depends = zlib>=1.2.0
pkgname = amdgpu-pro-dkms
pkgdesc = amdgpu-pro driver in DKMS format.
arch = any
+ depends = amdgpu-pro=17.40.492261-1
depends = dkms>=1.95
+pkgname = amdgpu-pro-gst-omx
+ pkgdesc = GStreamer OpenMAX plugins for AMDGPU Pro
+ arch = x86_64
+ depends = glib2>=2.37.3
+ depends = gst-plugins-base>=1.6.0
+ depends = gstreamer>=1.0.0
+ depends = libomxil-bellagio
+
pkgname = amdgpu-pro-libdrm
pkgdesc = The AMDGPU Pro userspace interface to kernel DRM services
arch = x86_64
+ depends = amdgpu-pro=17.40.492261-1
depends = bcunit
provides = libdrm
conflicts = libdrm
@@ -55,102 +51,150 @@ pkgname = amdgpu-pro-libdrm
pkgname = amdgpu-pro-libgl
pkgdesc = The AMDGPU Pro libgl library symlinks
arch = x86_64
- depends = amdgpu-pro
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
+ depends = libx11
+ depends = libx11>=1.4.99.1
+ depends = libxcb
+ depends = libxcb>=1.8
+ depends = libxcb>=1.9.2
+ depends = libxdamage>=1.1
+ depends = libxext
+ depends = libxfixes
+ depends = libxshmfence
+ depends = libxxf86vm
provides = libgl
conflicts = libgl
+pkgname = amdgpu-pro-mesa-omx
+ pkgdesc = Mesa OpenMAX video drivers for AMDGPU Pro
+ arch = x86_64
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
+ depends = libomxil-bellagio
+ depends = libx11
+ depends = libxcb
+ depends = libxcb>=1.8
+ depends = ncurses5-compat-libs>=6
+ depends = zlib>=1.2.0
+
pkgname = amdgpu-pro-opencl
pkgdesc = The AMDGPU Pro OpenCL implementation
arch = x86_64
- depends =
+ depends = amdgpu-pro=17.40.492261-1
+ depends = pciutils>=3.3.1-1
provides = opencl-driver
pkgname = amdgpu-pro-vdpau
pkgdesc = The AMDGPU Pro VDPAU driver
arch = x86_64
- depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
depends = libvdpau>=1.1
depends = libxcb
depends = libxcb>=1.8
depends = ncurses5-compat-libs>=6
- depends = openssl>=1.0.0
depends = zlib>=1.2.0
pkgname = amdgpu-pro-vulkan
pkgdesc = The AMDGPU Pro Vulkan driver
arch = x86_64
- depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro=17.40.492261-1
provides = vulkan-driver
pkgname = lib32-amdgpu-pro
pkgdesc = Meta package to install amdgpu Pro components. (32bit libraries)
arch = x86_64
- depends = lib32-glib2>=2.37.3
- depends = lib32-gst-plugins-base>=1.6.0
- depends = lib32-gstreamer>=1.0.0
- depends = lib32-libomxil-bellagio
+ depends = binfmt-support
+ depends = lib32-libedit>=2.11-20080614
+ depends = lib32-libffi>=3.0.9
depends = lib32-libx11
- depends = lib32-libx11>=1.4.99.1
- depends = lib32-libxcb
- depends = lib32-libxcb>=1.8
- depends = lib32-libxcb>=1.9.2
- depends = lib32-libxdamage>=1.1
depends = lib32-libxext
depends = lib32-libxfixes
- depends = lib32-libxshmfence
- depends = lib32-libxxf86vm
+ depends = lib32-ncurses
depends = lib32-ncurses5-compat-libs>=6
- depends = lib32-openssl>=1.0.0
depends = lib32-zlib>=1.2.0
+pkgname = lib32-amdgpu-pro-gst-omx
+ pkgdesc = GStreamer OpenMAX plugins for AMDGPU Pro (32bit libraries)
+ arch = x86_64
+ depends = lib32-glib2>=2.37.3
+ depends = lib32-gst-plugins-base>=1.6.0
+ depends = lib32-gstreamer>=1.0.0
+ depends = lib32-libomxil-bellagio
+
pkgname = lib32-amdgpu-pro-libdrm
pkgdesc = The AMDGPU Pro userspace interface to kernel DRM services (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
provides = lib32-libdrm
conflicts = lib32-libdrm
pkgname = lib32-amdgpu-pro-libgl
pkgdesc = The AMDGPU Pro libgl library symlinks (32bit libraries)
arch = x86_64
- depends = lib32-amdgpu-pro
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro-libgl=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
+ depends = lib32-libx11
+ depends = lib32-libx11>=1.4.99.1
+ depends = lib32-libxcb
+ depends = lib32-libxcb>=1.8
+ depends = lib32-libxcb>=1.9.2
+ depends = lib32-libxdamage>=1.1
+ depends = lib32-libxext
+ depends = lib32-libxfixes
+ depends = lib32-libxshmfence
+ depends = lib32-libxxf86vm
provides = lib32-libgl
conflicts = lib32-libgl
+pkgname = 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
+ depends = amdgpu-pro=17.40.492261-1
+ depends = lib32-libomxil-bellagio
+ depends = lib32-libx11
+ depends = lib32-libxcb
+ depends = lib32-libxcb>=1.8
+ depends = lib32-ncurses5-compat-libs>=6
+ depends = lib32-zlib>=1.2.0
+
pkgname = lib32-amdgpu-pro-opencl
pkgdesc = The AMDGPU Pro OpenCL implementation
arch = x86_64
- depends =
+ depends = amdgpu-pro=17.40.492261-1
provides = lib32-opencl-driver
pkgname = lib32-amdgpu-pro-vdpau
pkgdesc = The AMDGPU Pro VDPAU driver (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
depends = lib32-libvdpau>=1.1
depends = lib32-libxcb
depends = lib32-libxcb>=1.8
depends = lib32-ncurses5-compat-libs>=6
- depends = lib32-openssl>=1.0.0
depends = lib32-zlib>=1.2.0
pkgname = lib32-amdgpu-pro-vulkan
pkgdesc = The AMDGPU Pro Vulkan driver (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro=17.40.492261-1
provides = lib32-vulkan-driver
pkgname = xf86-video-amdgpu-pro
pkgdesc = The AMDGPU Pro X.org video driver
arch = x86_64
- groups = xorg-driversxorg
- depends = amdgpu-pro-libdrm=17.10.401251-2
- depends = amdgpu-pro=17.10.401251-2
- depends = libepoxy>=1.0
+ groups = xorg-drivers
+ depends = amdgpu-pro-libdrm=17.40.492261-1
+ depends = amdgpu-pro=17.40.492261-1
depends = libsystemd>=183
provides = xf86-video-amdgpu
conflicts = xf86-video-amdgpu
- conflicts = xorg-server<1.18.0
- conflicts = xorg-server>=1.19.0X-ABI-VIDEODRV_VERSION<20
- conflicts = X-ABI-VIDEODRV_VERSION>=21
+ conflicts = xorg-server<1.19.0
+ conflicts = X-ABI-VIDEODRV_VERSION<23
+ conflicts = X-ABI-VIDEODRV_VERSION>=24
diff --git a/0001-disable-firmware-copy.patch b/0001-disable-firmware-copy.patch
index 7d624536b8b..99c0f1f7b2f 100644
--- a/0001-disable-firmware-copy.patch
+++ b/0001-disable-firmware-copy.patch
@@ -1,25 +1,27 @@
-From 704cef8638ffbdd8de9e57f28b43ea42c685ea87 Mon Sep 17 00:00:00 2001
+From 36b4ba44048aefb2a4d0096bc0ea1c4cc6fc5ef4 Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Sat, 28 Jan 2017 16:57:26 -0400
-Subject: [PATCH 1/5] disable firmware copy
+Subject: [PATCH 1/3] disable firmware copy
---
+
+brainpower: changed a little to fit 17.40
+
pre-build.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/pre-build.sh b/pre-build.sh
-index 622ff13..e3cd009 100755
+index 35d53e5..3c9d7d1 100755
--- a/pre-build.sh
+++ b/pre-build.sh
-@@ -35,8 +35,3 @@ find ttm -name '*.c' -exec grep EXPORT_SYMBOL {} + \
- | sort -u \
+@@ -39,7 +39,3 @@
| awk -F'[()]' '{print "#define "$2" amd"$2" //"$0}'\
- > include/rename_symbol.h
--
+ >> include/rename_symbol.h
+
-FW_DIR="/lib/firmware/$KERNELVER"
-mkdir -p $FW_DIR
--cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/radeon $FW_DIR
--cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/amdgpu $FW_DIR
---
-2.12.2
+-cp -ar /usr/src/amdgpu-17.40-492261/firmware/radeon $FW_DIR
+-cp -ar /usr/src/amdgpu-17.40-492261/firmware/amdgpu $FW_DIR
+--
+2.14.1
diff --git a/0002-linux-4.9-fixes.patch b/0002-linux-4.9-fixes.patch
deleted file mode 100644
index f29abe6f7c8..00000000000
--- a/0002-linux-4.9-fixes.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 0ead7017e1db18be971c24c891d4bdcc507deea7 Mon Sep 17 00:00:00 2001
-From: David McFarland <corngood@gmail.com>
-Date: Sun, 29 Jan 2017 18:23:47 -0400
-Subject: [PATCH 2/5] linux-4.9 fixes
-
----
- amd/amdkcl/kcl_io.c | 2 ++
- amd/display/amdgpu_dm/amdgpu_dm_types.c | 8 ++++++++
- 2 files changed, 10 insertions(+)
-
-diff --git a/amd/amdkcl/kcl_io.c b/amd/amdkcl/kcl_io.c
-index d8f843f..9a1bd9b 100644
---- a/amd/amdkcl/kcl_io.c
-+++ b/amd/amdkcl/kcl_io.c
-@@ -31,4 +31,6 @@ void amdkcl_io_init(void)
- _kcl_io_free_memtype = amdkcl_fp_setup("io_free_memtype", NULL);
- }
- #endif
-+#else
-+void amdkcl_io_init(void) {}
- #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) */
-diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-index 34313a9..44a4a71 100644
---- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
-+++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-@@ -1720,6 +1720,10 @@ static int dm_plane_helper_prepare_fb(
- static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
- const struct drm_plane_state *new_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static int dm_plane_helper_prepare_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *new_state)
- #else
- static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
-@@ -1766,6 +1770,10 @@ static void dm_plane_helper_cleanup_fb(
- static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,
- const struct drm_plane_state *old_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static void dm_plane_helper_cleanup_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *old_state)
- #else
- static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,
---
-2.12.2
-
diff --git a/0003-Change-seq_printf-format-for-64-bit-context.patch b/0003-Change-seq_printf-format-for-64-bit-context.patch
deleted file mode 100644
index 892d636d318..00000000000
--- a/0003-Change-seq_printf-format-for-64-bit-context.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From b6dd36dd90c5d88ae10b9dbc763d3bacb95ccddb Mon Sep 17 00:00:00 2001
-From: "Luke A. Guest" <laguest@archeia.com>
-Date: Sun, 25 Sep 2016 16:46:39 +0100
-Subject: [PATCH 3/5] Change seq_printf format for 64 bit context
-
----
- amd/amdgpu/amdgpu_sa.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/amd/amdgpu/amdgpu_sa.c b/amd/amdgpu/amdgpu_sa.c
-index 74932bf..db4119a 100644
---- a/amd/amdgpu/amdgpu_sa.c
-+++ b/amd/amdgpu/amdgpu_sa.c
-@@ -428,7 +428,7 @@ void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
- soffset, eoffset, eoffset - soffset);
-
- if (i->fence)
--#if defined(BUILD_AS_DKMS)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
- seq_printf(m, " protected by 0x%08x on context %d",
- i->fence->seqno, i->fence->context);
- #else
---
-2.12.2
-
diff --git a/0005-add-archlinux-as-build-option.patch b/0003-add-archlinux-as-build-option.patch
index f734d2a4399..3976de203a7 100644
--- a/0005-add-archlinux-as-build-option.patch
+++ b/0003-add-archlinux-as-build-option.patch
@@ -1,20 +1,20 @@
-From 2acf2e71a6ea4b4bf054b224482be6b5a0ba6f2c Mon Sep 17 00:00:00 2001
+From a15dae29e472aff257f7aa8d536ab057a683c354 Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Sat, 8 Apr 2017 15:58:42 -0300
-Subject: [PATCH 5/5] add archlinux as build option
+Subject: [PATCH 3/3] add archlinux as build option
---
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
-index e8f360e..019b65d 100644
+index 13b1f74..6b3686b 100644
--- a/Makefile
+++ b/Makefile
-@@ -24,6 +24,9 @@ else ifeq ("sled",$(OS_NAME))
- subdir-ccflags-y += -DOS_NAME_SLE
- else ifeq ("sles",$(OS_NAME))
+@@ -26,6 +26,9 @@ else ifeq ("sles",$(OS_NAME))
subdir-ccflags-y += -DOS_NAME_SLE
+ else ifeq ("amzn",$(OS_NAME))
+ subdir-ccflags-y += -DOS_NAME_AMZ
+else ifeq ("arch",$(OS_NAME))
+subdir-ccflags-y += -DOS_NAME_ARCH
+OS_VERSION = "0.0"
@@ -22,5 +22,5 @@ index e8f360e..019b65d 100644
subdir-ccflags-y += -DOS_NAME_UNKNOWN
endif
--
-2.12.2
+2.14.1
diff --git a/0004-fix-warnings-for-Werror.patch b/0004-fix-warnings-for-Werror.patch
deleted file mode 100644
index 54552626a9d..00000000000
--- a/0004-fix-warnings-for-Werror.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From dbf01d3934c52acaaa37f008859f69c5edf19ad5 Mon Sep 17 00:00:00 2001
-From: David McFarland <corngood@gmail.com>
-Date: Mon, 6 Feb 2017 22:13:49 -0400
-Subject: [PATCH 4/5] fix warnings for Werror
-
----
- amd/amdgpu/amdgpu_ttm.c | 2 ++
- amd/display/amdgpu_dm/amdgpu_dm_types.c | 2 +-
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/amd/amdgpu/amdgpu_ttm.c b/amd/amdgpu/amdgpu_ttm.c
-index 0e30389..890aafa 100644
---- a/amd/amdgpu/amdgpu_ttm.c
-+++ b/amd/amdgpu/amdgpu_ttm.c
-@@ -1083,6 +1083,7 @@ uint32_t amdgpu_ttm_tt_pte_flags(struct amdgpu_device *adev, struct ttm_tt *ttm,
- return flags;
- }
-
-+#if 0
- static void amdgpu_ttm_lru_removal(struct ttm_buffer_object *tbo)
- {
- struct amdgpu_device *adev = amdgpu_ttm_adev(tbo->bdev);
-@@ -1132,6 +1133,7 @@ static struct list_head *amdgpu_ttm_swap_lru_tail(struct ttm_buffer_object *tbo)
-
- return res;
- }
-+#endif
-
- static bool amdgpu_ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
- const struct ttm_place *place)
-diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-index 44a4a71..ae7e707 100644
---- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
-+++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-@@ -932,7 +932,7 @@ static void decide_crtc_timing_for_drm_display_mode(
- }
-
- static struct dc_target *create_target_for_sink(
-- const struct amdgpu_connector *aconnector,
-+ struct amdgpu_connector *aconnector,
- const struct drm_display_mode *drm_mode,
- const struct dm_connector_state *dm_state)
- {
---
-2.12.2
-
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"
}