package/gdk-pixbuf: disable introspection
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 11 Mar 2020 19:19:18 +0000 (20:19 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 15 Mar 2020 14:47:40 +0000 (15:47 +0100)
Build will fail if host-gobject-introspection is built before
host-gdk-pixbuf:

Writing a loaders.cache file to use when running examples before installing gdk-pixbuf.
Couldn't find include 'GModule-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']')

So disable introspection on target and host variant

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/gdk-pixbuf/gdk-pixbuf.mk

index 33de2e3d3a92dc409e246ed569c0015963f9531d..59e0d5f4541b0cc95643ddf5a05349bc05f46ee9 100644 (file)
@@ -23,7 +23,10 @@ GDK_PIXBUF_CONF_ENV = \
 HOST_GDK_PIXBUF_CONF_ENV = \
        gio_can_sniff=no
 
-GDK_PIXBUF_CONF_OPTS = --disable-glibtest
+GDK_PIXBUF_CONF_OPTS = \
+       --disable-glibtest \
+       --disable-introspection
+HOST_GDK_PIXBUF_CONF_OPTS = --disable-introspection
 
 ifneq ($(BR2_PACKAGE_LIBPNG),y)
 GDK_PIXBUF_CONF_OPTS += --without-libpng