pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: Make icu support optional.
details: https://anonhg.NetBSD.org/pkgsrc/rev/322b4fd4ce9f
branches: trunk
changeset: 441613:322b4fd4ce9f
user: nia <nia%pkgsrc.org@localhost>
date: Sat Nov 07 10:05:11 2020 +0000
description:
vte3: Make icu support optional.
According to upstream it's only used for legacy charset support, and
doesn't seem to be enabled in some popular Linux distributions I checked.
diffstat:
x11/vte3/Makefile | 6 +++---
x11/vte3/options.mk | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
diffs (50 lines):
diff -r 137389e6be13 -r 322b4fd4ce9f x11/vte3/Makefile
--- a/x11/vte3/Makefile Sat Nov 07 09:28:40 2020 +0000
+++ b/x11/vte3/Makefile Sat Nov 07 10:05:11 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2020/11/05 09:09:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2020/11/07 10:05:11 nia Exp $
DISTNAME= vte-0.60.3
PKGNAME= ${DISTNAME:S/vte/vte3/}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vte/0.60/}
EXTRACT_SUFX= .tar.xz
@@ -25,6 +25,7 @@
# have libsystemd.
MESON_ARGS+= -D_systemd=false
+.include "options.mk"
.include "../../devel/meson/build.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
@@ -34,7 +35,6 @@
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
-.include "../../textproc/icu/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
diff -r 137389e6be13 -r 322b4fd4ce9f x11/vte3/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/vte3/options.mk Sat Nov 07 10:05:11 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2020/11/07 10:05:11 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.vte3
+PKG_SUPPORTED_OPTIONS= icu
+
+.include "../../mk/bsd.options.mk"
+
+#
+# Enable legacy charsets support.
+#
+.if !empty(PKG_OPTIONS:Micu)
+. include "../../textproc/icu/buildlink3.mk"
+MESON_ARGS+= -Dicu=true
+.else
+MESON_ARGS+= -Dicu=false
+.endif
Home |
Main Index |
Thread Index |
Old Index