pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mutter: Detect the features available in MesaLib and enable accordingly
Module Name: pkgsrc-wip
Committed By: nia <nia%netbsd.org@localhost>
Pushed By: nee
Date: Thu Nov 5 13:39:17 2020 +0100
Changeset: dc34fe605c8f2f349aadf7f74e11ad2069a0d278
Modified Files:
mutter/Makefile
Log Message:
mutter: Detect the features available in MesaLib and enable accordingly
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dc34fe605c8f2f349aadf7f74e11ad2069a0d278
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mutter/Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
diffs:
diff --git a/mutter/Makefile b/mutter/Makefile
index d565da60c2..1820ed607c 100644
--- a/mutter/Makefile
+++ b/mutter/Makefile
@@ -14,6 +14,16 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= yes
+.include "../../graphics/MesaLib/features.mk"
+
+.if ${MESALIB_SUPPORTS_EGL} == "no"
+MESON_ARGS+= -Degl=false
+.endif
+
+.if ${MESALIB_SUPPORTS_GLESv2} == "no"
+MESON_ARGS+= -Dgles2=false
+.endif
+
MESON_ARGS+= -Dudev=false
MESON_ARGS+= -Dnative_backend=false
MESON_ARGS+= -Dlibwacom=false
Home |
Main Index |
Thread Index |
Old Index