aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/mesa/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:17:52 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:17:52 +0800
commit0dede68b734c7366d9e0f44d10cb3507ba5e0f33 (patch)
tree49b19194e5dc7f55255751151dcaf8d1fb48bc4a /repos/extra/mesa/abuild
parent376803af43d2d32a80219b8970961792f240230c (diff)
downloadalicelinux-0dede68b734c7366d9e0f44d10cb3507ba5e0f33.tar.gz
alicelinux-0dede68b734c7366d9e0f44d10cb3507ba5e0f33.zip
move out wayland packages to its own repo
Diffstat (limited to 'repos/extra/mesa/abuild')
-rw-r--r--repos/extra/mesa/abuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/repos/extra/mesa/abuild b/repos/extra/mesa/abuild
index a28751ad..8f68e683 100644
--- a/repos/extra/mesa/abuild
+++ b/repos/extra/mesa/abuild
@@ -3,8 +3,10 @@ version=24.0.8
release=1
source="https://archive.mesa3d.org/$name-$version.tar.xz"
keep_static=1
+[ -f $SPM_PKGDB/wayland ] && build_opt="-Dplatforms=wayland"
+[ -f $SPM_PKGDB/libx11 ] && build_opt="-Dplatforms=x11"
build_opt="
- -Dplatforms=wayland
+ $build_opt
-Dgallium-drivers=auto
-Dvulkan-drivers=""
-Dvalgrind=disabled