pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/wayland wayland: don't claim support on non-EGL ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/da01ac9a0aef
branches: trunk
changeset: 426216:da01ac9a0aef
user: maya <maya%pkgsrc.org@localhost>
date: Sat Mar 28 08:58:25 2020 +0000
description:
wayland: don't claim support on non-EGL platforms.
GTK3 expects wayland and EGL to come together. EGL isn't a requirement
for wayland, but not claiming support will possibly make life easier
on lesser-used platforms, and is certainly a good idea for the freeze.
"good for now" - nia
PR pkg/55117: gtk3 does not compile w/o EGL
diffstat:
devel/wayland/platform.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 9d5d502b52e7 -r da01ac9a0aef devel/wayland/platform.mk
--- a/devel/wayland/platform.mk Sat Mar 28 07:56:03 2020 +0000
+++ b/devel/wayland/platform.mk Sat Mar 28 08:58:25 2020 +0000
@@ -1,13 +1,17 @@
-# $NetBSD: platform.mk,v 1.5 2020/01/04 02:06:02 nia Exp $
+# $NetBSD: platform.mk,v 1.6 2020/03/28 08:58:25 maya Exp $
.if !defined(PLATFORM_SUPPORTS_WAYLAND)
. include "../../mk/bsd.fast.prefs.mk"
+.include "../../graphics/MesaLib/features.mk"
+
# Please only add operating systems here after verifying that both
# devel/wayland and devel/wayland-protocols build.
WAYLAND_PLATFORMS+= Linux-*-*
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
+# We can have Wayland without EGL, but a lot of things expect
+# wayland and EGL support together.
+.if ${OPSYS} == "NetBSD" && !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
PLATFORM_SUPPORTS_WAYLAND= yes
.endif
Home |
Main Index |
Thread Index |
Old Index