diff options
| author | Charlie Li <vishwin@FreeBSD.org> | 2025-12-02 20:05:49 +0000 |
|---|---|---|
| committer | Charlie Li <vishwin@FreeBSD.org> | 2025-12-02 20:14:01 +0000 |
| commit | 5d0dccb35b45764e3383df37d53bc5c677016d41 (patch) | |
| tree | cd0dc90a2dcd9497cc741f4c28aa77f705548aa4 | |
| parent | 0fa6898ebf180b89ca34a92951ecf763c8e80e45 (diff) | |
devel/glib20: integrate the meson option for NLS
| -rw-r--r-- | devel/glib20/Makefile | 9 | ||||
| -rw-r--r-- | devel/glib20/pkg-plist | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 3971aa1251c8..27df4348667e 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,6 +1,6 @@ PORTNAME= glib DISTVERSION= 2.84.1 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -32,7 +32,7 @@ bootstrap_PKGNAMESUFFIX= -bootstrap # iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo) # (wchar_t is used by glibmm, rawtherapee triggered this) -USES= compiler:c11 cpe gettext gnome iconv:wchar_t localbase:ldflags \ +USES= compiler:c11 cpe gettext-runtime gnome iconv:wchar_t localbase:ldflags \ meson perl5 pkgconfig python tar:xz ${${FLAVOR}_USES} USE_LDCONFIG= yes USE_PERL5= build @@ -69,13 +69,16 @@ FAM_ALTBACKEND_DESC= Alternate file monitor backend MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= man-pages +NLS_USES= gettext-tools +NLS_MESON_ENABLED= nls + TEST_MESON_TRUE= tests # doesn't build yet MESON_ARGS+= -Ddtrace=disabled .if ${FLAVOR:U} == bootstrap -MESON_ARGS+= -Dintrospection=disabled -Ddocumentation=false -Dman-pages=disabled +MESON_ARGS+= -Dintrospection=disabled -Ddocumentation=false -Dman-pages=disabled -Dnls=disabled OPTIONS_DEFINE= PREFIX= ${LOCALBASE}/glib-bootstrap PLIST_SUB+= DOCS='@comment ' NLS='@comment ' MANPAGES='@comment ' diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist index daedea01b309..80613e13a2e4 100644 --- a/devel/glib20/pkg-plist +++ b/devel/glib20/pkg-plist @@ -7931,7 +7931,7 @@ share/gettext/its/gschema.loc %%DATADIR%%-2.0/dtds/gresource.dtd %%DATADIR%%-2.0/gdb/glib_gdb.py %%DATADIR%%-2.0/gdb/gobject_gdb.py -%%DATADIR%%-2.0/gettext/po/Makefile.in.in +%%NLS%%%%DATADIR%%-2.0/gettext/po/Makefile.in.in %%DATADIR%%-2.0/schemas/gschema.dtd %%DATADIR%%-2.0/valgrind/glib.supp %%NLS%%share/locale/ab/LC_MESSAGES/glib20.mo |
