mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
22b516a1cc
commit
326b2feddb
|
@ -42,7 +42,7 @@ install_data(
|
|||
|
||||
# Vala version
|
||||
|
||||
if have_vala
|
||||
if have_vala and have_gobject_introspection
|
||||
exe = executable('goat-exercise-vala',
|
||||
'goat-exercise-vala.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()
|
|||
warning(gobject_introspection_warning)
|
||||
warnings += gobject_introspection_warning
|
||||
else
|
||||
have_gobject_introspection = true
|
||||
libgimp_gir_includes = [
|
||||
'Babl-0.1',
|
||||
'cairo-1.0',
|
||||
|
|
Loading…
Reference in New Issue