summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Haag2017-12-22 23:06:29 +0100
committerChristoph Haag2017-12-22 23:08:33 +0100
commit34f2da1d85d82d4817207053860570576a82281c (patch)
treee050b1d820ae6a7d072c862744e6411304b96539 /PKGBUILD
parentd0fb1478748c8d1aef8de99a00b35f53b8d57f24 (diff)
downloadaur-34f2da1d85d82d4817207053860570576a82281c.tar.gz
add required settings & first makedep
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 86605ca7070..eab66e23ab1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=amdvlk-git
-pkgver=r6.a17a806
+pkgver=r6.2820967
pkgrel=1
pkgdesc="AMD's standalone Vulkan driver"
arch=(x86_64)
@@ -13,6 +13,7 @@ provides=(vulkan-amdvlk)
#conflicts=()
#TODO: makedepends=('libdrm' 'dri2proto' 'glproto' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libxmu'
# 'talloc' 'wayland' 'pkgconfig' 'imake' 'xorg-server-devel' 'python2-mako' 'python' 'git')
+makedepends=('dri2proto')
source=('git+https://github.com/GPUOpen-Drivers/llvm.git'
'git+https://github.com/GPUOpen-Drivers/xgl.git'
@@ -20,14 +21,16 @@ source=('git+https://github.com/GPUOpen-Drivers/llvm.git'
'git+https://github.com/GPUOpen-Drivers/AMDVLK.git'
'0001-workaround-remove-invalid-constexpr-modifier.patch'
'0001-fix-compile-error-on-clang.patch' # TODO: maybe not necessary on gcc
- '0001-remove-linking-with-whole-archive.patch')
+ '0001-remove-linking-with-whole-archive.patch'
+ 'amdPalSettings.cfg')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'784f2f61f8fbaab84a9015b7f9ade26ece43ccda20fd42b357fe911af5233a2b'
'9d2399c3cfd424c5c0645892306f1794de61a8270f95683ea1785a78e0326c5c'
- '4669fda7c492ae6f655e9ad3bb2c4782753b49350a29af29883d43c02d627f46')
+ '4669fda7c492ae6f655e9ad3bb2c4782753b49350a29af29883d43c02d627f46'
+ '5f798911bf1cbbe5a83f5ae4886107ef0d02be5753450753ae2d3fc6f80e7012')
pkgver() {
XGL_VER=$(cd xgl; printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
#PAL_VER=$(cd pal; printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
@@ -54,6 +57,7 @@ build() {
package() {
install -m755 -d "${pkgdir}"/etc/vulkan/icd.d
+ install -m755 -d "${pkgdir}"/etc/amd
install -m755 -d "${pkgdir}"/usr/lib
install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
@@ -65,5 +69,7 @@ echo '{
"abi_versions": "0.9.0"
}
}
-' >> "${pkgdir}"/etc/vulkan/icd.d/amd_icd64.json
+' >> "${pkgdir}"/etc/vulkan/icd.d/amd_icd64.json
+
+ install amdPalSettings.cfg "${pkgdir}"/etc/amd
}