summaryrefslogtreecommitdiff
path: root/extra/mesa
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-01 15:20:25 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-01 15:20:25 +0200
commit011babdaad41317bc0cba4a66f3cf46ad13c45ad (patch)
tree342aeb1b5878baf24f8fd777c60bafa6f82b826b /extra/mesa
parentc6edddc0112adbfc523bb5256d79117110823bfa (diff)
downloadpackages-011babdaad41317bc0cba4a66f3cf46ad13c45ad.tar.xz
extra/mesa: remove some conflicting files to libglnvd by hand (i486)
Diffstat (limited to 'extra/mesa')
-rw-r--r--extra/mesa/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index 9171347e..6cb3da73 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -74,6 +74,29 @@ if [ "$CARCH" = 'i486' ]; then
s/.*libEGL_mesa.so.*//g
s/.*find fakeinstall.*//g
'
+ declare -f package_mesa | \
+ sed '
+ $ i rm -rf $pkgdir/usr/include/EGL/egl.h \
+ rm -rf $pkgdir/usr/include/EGL/eglext.h \
+ rm -rf $pkgdir/usr/include/EGL/eglplatform.h \
+ rm -rf $pkgdir/usr/include/GL/gl.h \
+ rm -rf $pkgdir/usr/include/GL/glcorearb.h \
+ rm -rf $pkgdir/usr/include/GL/glext.h \
+ rm -rf $pkgdir/usr/include/GL/glx.h \
+ rm -rf $pkgdir/usr/include/GL/glxext.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2ext.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2platform.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl31.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl32.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3ext.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3platform.h \
+ rm -rf $pkgdir/usr/include/KHR/khrplatform.h \
+ rm -rf $pkgdir/usr/lib/pkgconfig/egl.pc \
+ rm -rf $pkgdir/usr/lib/pkgconfig/gl.pc \
+ rm -rf $pkgdir/usr/lib/pkgconfig/glesv2.pc
+ '
declare -f package_vulkan-mesa-layers | \
sed '
3 i if false; then