summaryrefslogtreecommitdiff
path: root/libre/mesa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mesa/PKGBUILD')
-rw-r--r--libre/mesa/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/libre/mesa/PKGBUILD b/libre/mesa/PKGBUILD
index 2fde9e5f4..bb3c55c98 100644
--- a/libre/mesa/PKGBUILD
+++ b/libre/mesa/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mesa
pkgname=("${pkgbase}")
pkgdesc="A free implementation of the OpenGL specification, without nonfree software recommendations in drirc"
pkgver=18.0.3
-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' 'wayland-protocols'
@@ -152,6 +152,9 @@ package_mesa() {
_install fakeinstall/usr/lib/d3d
_install fakeinstall/usr/lib/lib{gbm,glapi}.so*
_install fakeinstall/usr/lib/libOSMesa.so*
+ if [ "$CARCH" = "i686" ]; then
+ _install fakeinstall/usr/lib/libwayland*.so*
+ fi
if [ "$CARCH" != "armv7h" ]; then
_install fakeinstall/usr/lib/libxatracker.so*
@@ -164,9 +167,11 @@ package_mesa() {
# in vulkan-headers
rm -rv fakeinstall/usr/include/vulkan
- # in wayland
- rm -v fakeinstall/usr/lib/libwayland-egl.so*
- rm -v fakeinstall/usr/lib/pkgconfig/wayland-egl.pc
+ if [ "$CARCH" != "i686" ]; then
+ # in wayland
+ rm -v fakeinstall/usr/lib/libwayland-egl.so*
+ rm -v fakeinstall/usr/lib/pkgconfig/wayland-egl.pc
+ fi
_install fakeinstall/usr/include
_install fakeinstall/usr/lib/pkgconfig