diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-03-20 13:09:43 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-03-20 13:14:09 +0000 |
commit | 7847fd71884884acfa8b9cee61f11ffa767e9ea6 (patch) | |
tree | f7fa0fa936c97d2264910312ae0b0fcb5065ed3d | |
parent | 22e5da75627377e665cebcd09e8ef141941a4de5 (diff) | |
download | ports-7847fd71884884acfa8b9cee61f11ffa767e9ea6.tar.gz ports-7847fd71884884acfa8b9cee61f11ffa767e9ea6.zip |
x11-toolkits/gtk40: explicitly enable introspection
Upstream prefers misleading "auto" instead of "disabled" by default
even if not consistent with other "auto" uses in Gtk's meson_options.txt
-rw-r--r-- | x11-toolkits/gtk40/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk40/files/patch-meson.build | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index f8175c06e50b..be5430f33c43 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -32,7 +32,7 @@ USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ librsvg2:run -MESON_ARGS= -Dbuild-testsuite=false +MESON_ARGS= -Dintrospection=enabled -Dbuild-testsuite=false LDFLAGS+= -lexecinfo BINARY_ALIAS= python3=${PYTHON_CMD} diff --git a/x11-toolkits/gtk40/files/patch-meson.build b/x11-toolkits/gtk40/files/patch-meson.build deleted file mode 100644 index c93d9bf8c833..000000000000 --- a/x11-toolkits/gtk40/files/patch-meson.build +++ /dev/null @@ -1,14 +0,0 @@ -https://gitlab.gnome.org/GNOME/gtk/-/issues/5633 - ---- meson.build.orig 2023-03-14 11:50:49 UTC -+++ meson.build -@@ -740,8 +740,7 @@ endif - error('Introspection enabled, but g-ir-scanner not found.') - endif - --build_gir = gir.found() and (get_option('introspection').enabled() or -- (get_option('introspection').allowed() and get_option('gtk_doc'))) -+build_gir = gir.found() and get_option('introspection').allowed() - - project_build_root = meson.current_build_dir() - |