summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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