summaryrefslogtreecommitdiff
path: root/pcr/mesa-vanilla/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mesa-vanilla/PKGBUILD')
-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/