mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/gdk-pixbuf: add gobject-introspection support
This will fix the following build failure when enabling introspection on libgtk2: Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/tmp/instance-0/output-1/host/bin/../mipsel-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/tmp/instance-0/output-1/host/share', 'gir-1.0', '/tmp/instance-0/output-1/host/share/gir-1.0', '/usr/share/gir-1.0']') Fixes: - http://autobuild.buildroot.org/results//86c6f55e0bd1a0fe3b70c9e97193aaad94d72a7f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 0712297a129386e9cf97d327f7b0f5f828f9bc83) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
34559273e6
commit
e25347e642
@ -23,11 +23,16 @@ GDK_PIXBUF_CONF_ENV = \
|
|||||||
HOST_GDK_PIXBUF_CONF_ENV = \
|
HOST_GDK_PIXBUF_CONF_ENV = \
|
||||||
gio_can_sniff=no
|
gio_can_sniff=no
|
||||||
|
|
||||||
GDK_PIXBUF_CONF_OPTS = \
|
GDK_PIXBUF_CONF_OPTS = --disable-glibtest
|
||||||
--disable-glibtest \
|
|
||||||
--disable-introspection
|
|
||||||
HOST_GDK_PIXBUF_CONF_OPTS = --disable-introspection
|
HOST_GDK_PIXBUF_CONF_OPTS = --disable-introspection
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||||
|
GDK_PIXBUF_CONF_OPTS += --enable-introspection
|
||||||
|
GDK_PIXBUF_DEPENDENCIES += gobject-introspection
|
||||||
|
else
|
||||||
|
GDK_PIXBUF_CONF_OPTS += --disable-introspection
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_LIBPNG),y)
|
ifneq ($(BR2_PACKAGE_LIBPNG),y)
|
||||||
GDK_PIXBUF_CONF_OPTS += --without-libpng
|
GDK_PIXBUF_CONF_OPTS += --without-libpng
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user