summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-31 19:28:00 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-31 19:47:02 -0400
commit706bd8b71b1a59508e99120e98037e0b309fa72a (patch)
tree254d5545a018c49960843379e19f8b3fe9e4bce2
parentaeaecdbf798fabfbc3d9f02ab2b20dbea67c2bc0 (diff)
downloadabslibre-706bd8b71b1a59508e99120e98037e0b309fa72a.tar.gz
abslibre-706bd8b71b1a59508e99120e98037e0b309fa72a.tar.bz2
abslibre-706bd8b71b1a59508e99120e98037e0b309fa72a.zip
pcr/mesa-vanilla: And that's what I get for being tired
-rw-r--r--pcr/mesa-vanilla/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/pcr/mesa-vanilla/PKGBUILD b/pcr/mesa-vanilla/PKGBUILD
index 875159e39..28714d962 100644
--- a/pcr/mesa-vanilla/PKGBUILD
+++ b/pcr/mesa-vanilla/PKGBUILD
@@ -46,7 +46,7 @@ case "$CARCH" in
x86_64|i686) pkgname+=("vulkan-intel${pkgbase#mesa}");;
esac
pkgver=17.0.2
-pkgrel=3.parabola1
+pkgrel=3.parabola2
arch=('i686' 'x86_64' 'armv7h')
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm'
@@ -157,8 +157,8 @@ package_opencl-mesa-vanilla() {
provides=('opencl-driver')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/etc
cp -rv ${srcdir}/fakeinstall/etc/OpenCL ${pkgdir}/etc/
@@ -177,8 +177,8 @@ package_vulkan-intel-vanilla() {
provides=('vulkan-driver')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/intel_icd*.json ${pkgdir}/usr/share/vulkan/icd.d/
@@ -197,8 +197,8 @@ package_vulkan-radeon-vanilla() {
provides=('vulkan-driver')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd*.json ${pkgdir}/usr/share/vulkan/icd.d/
@@ -216,8 +216,8 @@ package_libva-mesa-vanilla-driver() {
depends+=('lm_sensors')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/usr/lib
cp -rv ${srcdir}/fakeinstall/usr/lib/dri ${pkgdir}/usr/lib
@@ -232,8 +232,8 @@ package_mesa-vanilla-vdpau() {
depends+=('lm_sensors')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/usr/lib
cp -rv ${srcdir}/fakeinstall/usr/lib/vdpau ${pkgdir}/usr/lib
@@ -257,8 +257,8 @@ package_mesa-vanilla() {
replaces=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa-dri')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
install -m755 -d ${pkgdir}/etc
cp -rv ${srcdir}/drirc ${pkgdir}/etc
@@ -291,8 +291,9 @@ package_mesa-vanilla-libgl() {
conflicts=('libgl' 'libegl' 'libgles')
pkgdesc+=" (without libglvnd patches)"
- provides+=("${pkgname^$suffix}=$pkgver")
- conflicts+=("${pkgname^$suffix}")
+ provides+=("${pkgname%$suffix}=$pkgver")
+ conflicts+=("${pkgname%$suffix}")
+ replaces=('mesa-libgl') # A hack to make -Syu from the vanilla libre/mesa work
install -m755 -d "${pkgdir}/usr/lib/"
cp -rv ${srcdir}/fakeinstall/usr/lib/libGL.so* ${pkgdir}/usr/lib/