Commit 326b2fed authored by Jehan's avatar Jehan

extensions: do not build Vala plug-in without GObject Introspection.

Though GObject Introspection is normally not an option, the only case we
don't build it yet is when cross-compiling (as we haven't found the
right way to do it). So let's not build the Goat Exercise plug-in in
Vala in such case as we needed the introspected libgimp.
parent 22b516a1
Pipeline #222184 passed with stages
in 40 minutes and 18 seconds
......@@ -42,7 +42,7 @@ install_data(
# Vala version
if have_vala
if have_vala and have_gobject_introspection
exe = executable('goat-exercise-vala',
include_directories: [ rootInclude, ],
......@@ -383,6 +383,7 @@ libgimpui_introspectable_files = [
if meson.is_cross_build()
have_gobject_introspection = false
gobject_introspection_warning = '\n '.join(['',
'GObject Introspection is disabled while cross-compiling because',
'GI tools do not manage to properly generate introspection data',
......@@ -393,6 +394,7 @@ if meson.is_cross_build()
warnings += gobject_introspection_warning
have_gobject_introspection = true
libgimp_gir_includes = [
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment