pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gtk4: fix options.mk



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Tue Feb 24 17:50:29 2026 +0100
Changeset:	b1d82fbad689ce9be6426d003beb54afa5d731a4

Modified Files:
	gtk4/options.mk

Log Message:
gtk4: fix options.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b1d82fbad689ce9be6426d003beb54afa5d731a4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gtk4/options.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/gtk4/options.mk b/gtk4/options.mk
index 272bb8cbb7..85f1e6c800 100644
--- a/gtk4/options.mk
+++ b/gtk4/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.3 2023/07/25 01:09:27 wiz Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.gtk4
-PKG_SUPPORTED_OPTIONS=	cups debug wayland
+PKG_SUPPORTED_OPTIONS=	cups debug
 
 PKG_OPTIONS_REQUIRED_GROUPS=	gui
 PKG_OPTIONS_GROUP.gui=		x11
@@ -10,6 +10,9 @@ PKG_OPTIONS_GROUP.gui=		x11
 PKG_OPTIONS_GROUP.gui+=	quartz
 PKG_SUGGESTED_OPTIONS+=	quartz
 .else
+# Wayland option is outside the gui group
+# since it can be enabled with x11.
+PKG_SUPPORTED_OPTIONS+=	wayland
 PKG_SUGGESTED_OPTIONS+=	x11
 .endif
 .include "../../devel/wayland/platform.mk"
@@ -21,7 +24,6 @@ PKG_SUGGESTED_OPTIONS+=	cups
 
 .include "../../mk/bsd.options.mk"
 
-#PKG_SUPPORTED_OPTIONS+=	wayland
 PLIST_VARS+=		wayland
 .if !empty(PKG_OPTIONS:Mwayland)
 PLIST.wayland=		yes
@@ -60,9 +62,7 @@ MESON_ARGS+=		-Dx11-backend=true
 MESON_ARGS+=		-Dx11-backend=false
 .endif
 
-PLIST_VARS+=		cups
 .if !empty(PKG_OPTIONS:Mcups)
-PLIST.cups=		yes
 MESON_ARGS+=		-Dprint-cups=enabled
 .include "../../print/libcups/buildlink3.mk"
 .else


Home | Main Index | Thread Index | Old Index