From 011babdaad41317bc0cba4a66f3cf46ad13c45ad Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 1 Apr 2021 15:20:25 +0200 Subject: extra/mesa: remove some conflicting files to libglnvd by hand (i486) --- extra/mesa/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'extra/mesa') 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 -- cgit v1.2.3-70-g09d2