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

  GISCAN   Gdk-3.0.gir
Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/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']')
make[5]: *** [/home/fabrice/buildroot/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:156: Gdk-3.0.gir] Error 1

So disable introspection on host and target 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/libgtk3/libgtk3.mk

index fc131132f995c8d347a16ffba50c7544661457d5..7df4426fa627c8a0411a92fca3134db8473c9e4e 100644 (file)
@@ -20,7 +20,9 @@ LIBGTK3_CONF_ENV = \
 
 LIBGTK3_CONF_OPTS = \
        --disable-glibtest \
+       --disable-introspection \
        --enable-explicit-deps=no
+HOST_LIBGTK3_CONF_OPTS = --disable-introspection
 
 # Override pkg-config pkgdatadir variable, it needs the prefix
 LIBGTK3_MAKE_OPTS = \