aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mesa/APKBUILD27
1 files changed, 21 insertions, 6 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 8131424e04..ea1ddf729d 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
-pkgver=19.2.6
+pkgver=19.2.7
pkgrel=0
pkgdesc="Mesa DRI OpenGL library"
url="https://www.mesa3d.org"
@@ -72,15 +72,19 @@ _dri_drivers="r100,r200,nouveau"
_gallium_drivers="r300,r600,radeonsi,nouveau,freedreno,swrast,virgl"
_vulkan_drivers="amd"
_arch_opts=""
+_vulkan_overlay_layer=false
case "$CARCH" in
x86*)
_dri_drivers="${_dri_drivers},i915,i965"
- _gallium_drivers="${_gallium_drivers},svga"
+ _gallium_drivers="${_gallium_drivers},svga,iris"
_vulkan_drivers="${_vulkan_drivers},intel"
+ _vulkan_overlay_layer=true
+ makedepends="$makedepends glslang"
subpackages="$subpackages \
$pkgname-dri-intel:_dri \
$pkgname-dri-vmwgfx:_dri \
- $pkgname-vulkan-intel:_vulkan"
+ $pkgname-vulkan-intel:_vulkan \
+ $pkgname-vulkan-layer:_vulkan_layer"
_arch_opts="-Ddri3=true"
case "$CARCH" in
x86)
@@ -113,14 +117,16 @@ build() {
-Dgallium-drivers=$_gallium_drivers \
-Ddri-drivers=$_dri_drivers \
-Dvulkan-drivers=$_vulkan_drivers \
+ -Dvulkan-overlay-layer=$_vulkan_overlay_layer \
-Dplatforms=x11,drm,wayland \
-Dllvm=true \
-Dshared-llvm=true \
-Dshared-glapi=true \
-Dgbm=true \
-Dglx=dri \
+ -Dopengl=true \
-Dosmesa=gallium \
- -Dgles1=true \
+ -Dgles1=false \
-Dgles2=true \
-Degl=true \
-Dgallium-xa=true \
@@ -261,7 +267,7 @@ _dri() {
&& _mv_va r600 radeonsi
;;
intel)
- _mv_dri i915_dri i965_dri
+ _mv_dri i915_dri i965_dri iris_dri
;;
nouveau)
_mv_dri nouveau_dri nouveau_vieux_dri \
@@ -317,7 +323,16 @@ _vulkan() {
_mv_vulkan intel ;;
esac
}
-sha512sums="2e961631ae8ea1cb64d87bede51432445a17d153244d8c76f5eb70cbdc8c069d3f08cac11928d85ce2730d772aff9b3aff089e5e552eb021fdcb65364bb685b6 mesa-19.2.6.tar.xz
+
+_vulkan_layer() {
+ pkgdesc="Vulkan overlay layer to display information about the application"
+
+ mkdir -p "$subpkgdir"/usr/share/vulkan "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/share/vulkan/explicit_layer.d "$subpkgdir"/usr/share/vulkan
+ mv "$pkgdir"/usr/lib/libVkLayer_MESA_overlay.so "$subpkgdir"/usr/lib
+}
+
+sha512sums="87a82664381432e956ee23dc92bec5accf667606232e38d9458d67132c16fdc44584f65671293b83f00c58ad7742b80e942a5d1bd66d457705be60aaaf35395b mesa-19.2.7.tar.xz
cdf22d2da3328e116c379264886bd01fd3ad5cc45fe03dc6fd97bdc4794502598ee195c0b9d975fa264d6ac31c6fa108c0535c91800ecf4fcabfd308e53074cc adjust-cache-deflate-buffer.patch
cf849044d6cc7d2af4ff015208fb09d70bf9660538699797da21bda2ecb7c1892d312af83d05116afd826708d9caafb1d05a13f09139c558aea6fee931e3eee7 musl-fix-includes.patch
6793388662ed98ae2a6bd964573d9ae380195f078386f0402957a1c9ac61b691b48a82ed41045c7172533f25b44f249af10f17f7ac68c8e03847594962cd4b04 add-use-elf-tls.patch"