mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-24 12:45:11 +02:00
24 lines
937 B
Diff
24 lines
937 B
Diff
diff --git a/meson_options.txt b/meson_options.txt
|
|
index 9c32a5f..0fea01b 100644
|
|
--- meson_options.txt
|
|
+++ meson_options.txt
|
|
@@ -6,3 +6,5 @@ option('enable-libgcrypt', type: 'combo', choices : ['yes', 'no', 'auto'], value
|
|
description : 'Enable libgcrypt support.')
|
|
option('enable-gtk-doc', type: 'boolean', value: 'false',
|
|
description : 'Generate the API reference (depends on GTK-Doc)')
|
|
+option('introspection', type: 'boolean', value: 'true',
|
|
+ description : 'Generate GObject Introspection bindings')
|
|
diff --git a/plparse/meson.build b/plparse/meson.build
|
|
index bdfde9d..668a072 100644
|
|
--- plparse/meson.build
|
|
+++ plparse/meson.build
|
|
@@ -121,7 +121,7 @@ if have_quvi
|
|
endif
|
|
|
|
# Introspection
|
|
-if not meson.is_cross_build()
|
|
+if get_option('introspection')
|
|
gnome.generate_gir(plparser_lib,
|
|
sources: plparser_public_headers + plparser_sources + [
|
|
totem_pl_parser_marshalers[1],
|
|
|