pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk3 gtk3: Default to xquartz if available on macOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7276352cbd90
branches:  trunk
changeset: 386977:7276352cbd90
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 19 10:36:59 2022 +0000

description:
gtk3: Default to xquartz if available on macOS.

The x11 option does not currently work due to cairo:xlib.

diffstat:

 x11/gtk3/options.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r a9dff91a363e -r 7276352cbd90 x11/gtk3/options.mk
--- a/x11/gtk3/options.mk       Wed Oct 19 10:36:47 2022 +0000
+++ b/x11/gtk3/options.mk       Wed Oct 19 10:36:59 2022 +0000
@@ -1,16 +1,19 @@
-# $NetBSD: options.mk,v 1.23 2022/08/11 05:11:40 gutteridge Exp $
+# $NetBSD: options.mk,v 1.24 2022/10/19 10:36:59 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gtk3
 PKG_SUPPORTED_OPTIONS+=        gtk3-atk-bridge cups debug
 PKG_SUPPORTED_OPTIONS+=        wayland x11
 .if exists(/System/Library/Frameworks/Quartz.framework)
 PKG_SUPPORTED_OPTIONS+=        quartz
+PKG_SUGGESTED_OPTIONS+=        quartz
+.else
+PKG_SUGGESTED_OPTIONS+=        x11
 .endif
 .include "../../devel/wayland/platform.mk"
 .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
 PKG_SUGGESTED_OPTIONS+=        wayland
 .endif
-PKG_SUGGESTED_OPTIONS+=        gtk3-atk-bridge x11 cups
+PKG_SUGGESTED_OPTIONS+=        gtk3-atk-bridge cups
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index