diff options
Diffstat (limited to 'user/mesa-amber/APKBUILD')
-rw-r--r-- | user/mesa-amber/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/user/mesa-amber/APKBUILD b/user/mesa-amber/APKBUILD index 080fdb348..9855b035d 100644 --- a/user/mesa-amber/APKBUILD +++ b/user/mesa-amber/APKBUILD @@ -17,6 +17,7 @@ subpackages="" install_if="mesa-dri" source="https://mesa.freedesktop.org/archive/mesa-$pkgver.tar.xz big-endian-flipping.patch + mesa-amber-i915c.patch no-tls.patch nouveau-flush-fix.patch " @@ -45,6 +46,7 @@ build() { -Ddri-drivers=$_dri_drivers \ -Ddri-drivers-path=$_dri_driverdir \ -Ddri3=enabled \ + -Dgbm=disabled \ -Dglvnd=true \ -Dllvm=disabled \ -Dosmesa=false \ @@ -59,8 +61,12 @@ build() { package() { DESTDIR="$pkgdir" meson install -C build + if [ -f "$pkgdir"/usr/lib/xorg/modules/dri/i915_dri.so ]; then + # Prevent file conflict with mesa-dri. + mv "$pkgdir"/usr/lib/xorg/modules/dri/i915_dri.so \ + "$pkgdir"/usr/lib/xorg/modules/dri/i915c_dri.so + fi rm -rf "$pkgdir"/usr/include - rm -rf "$pkgdir"/usr/lib/libgbm.so* rm -rf "$pkgdir"/usr/lib/libglapi.so* rm -rf "$pkgdir"/usr/lib/pkgconfig rm -rf "$pkgdir"/usr/share/drirc.d |