sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ccdfb715cdf55c90803f8ddef772b44ebd2d7c12)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ccdfb715cdf55c90803f8ddef772b44ebd2d7c12)
- Date: Sun, 22 Mar 2026 03:43:10 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
graphics-libs/mesa/BUILD | 1 +
graphics-libs/mesa/CONFIGURE | 2 ++
graphics-libs/mesa/DEPENDS | 6 +++++-
graphics-libs/mesa/HISTORY | 3 +++
4 files changed, 11 insertions(+), 1 deletion(-)
New commits:
commit ccdfb715cdf55c90803f8ddef772b44ebd2d7c12
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/mesa: addwd option to use external libgbm
diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD
index c8cd619..3ee324b 100755
--- a/graphics-libs/mesa/BUILD
+++ b/graphics-libs/mesa/BUILD
@@ -58,6 +58,7 @@ meson_opt boolean "spirv-to-dxil"
"$MESA_SPIRV_DXIL" &&
meson_opt boolean "teflon" "$MESA_TEFLON" &&
meson_opt feature "xlib-lease" "$MESA_XLIB_LEASE" &&
meson_opt feature "xmlconfig" "$MESA_XMLCONFIG" &&
+meson_opt boolean "libgbm-external" "${MESA_EXTERNAL_GBM}" &&
if [ -n "$MESA_GALLIUM" ] && ! list_find "$MESA_GALLIUM" none ;then
meson_opt list "gallium-drivers" "$MESA_GALLIUM"
diff --git a/graphics-libs/mesa/CONFIGURE b/graphics-libs/mesa/CONFIGURE
index a06a86f..ee1ce5a 100755
--- a/graphics-libs/mesa/CONFIGURE
+++ b/graphics-libs/mesa/CONFIGURE
@@ -386,6 +386,8 @@ config_query_multi MESA_VIDEO_CODECS "Which codecs to
build?" \
config_query MESA_XMLCONFIG "Enable custom xmlconfig (driconf) support
(requires expat)?" n &&
+config_query MESA_EXTERNAL_GBM "Use external GBM?" n &&
+
# declare global persistent variables
persistent_add MESA_DRM &&
persistent_add MESA_GALLIUM &&
diff --git a/graphics-libs/mesa/DEPENDS b/graphics-libs/mesa/DEPENDS
index 3c439b6..bc95890 100755
--- a/graphics-libs/mesa/DEPENDS
+++ b/graphics-libs/mesa/DEPENDS
@@ -159,4 +159,8 @@ fi &&
buildsys_optional_depends libdisplay-info \
-o display-info \
- "use libdisplay-info to build driver"
+ "use libdisplay-info to build driver" &&
+
+if [[ "${MESA_EXTERNAL_GBM}" == "y" ]] ;then
+ buildsys_depends libgbm
+fi
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 8b8f72e..dfe76ca 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,6 @@
+2026-03-21 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS: added option to use external libgbm`
+
2026-03-18 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 26.0.3
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ccdfb715cdf55c90803f8ddef772b44ebd2d7c12), Pavel Vinogradov, 03/21/2026
Archive powered by MHonArc 2.6.24.