mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/libgtk4: enable introspection when gobject-introspection is enabled
libgtk4 passes -Dintrospection=disabled unconditionally, so Gtk-4.0.gir is
never installed. webkitgtk depends on gobject-introspection and generates
WebKit-6.0.gir, which includes Gtk-4.0.gir, so building both fails:
FAILED: WebKit-6.0.gir
Couldn't find include 'Gtk-4.0.gir' (search path:
'['.../usr/share/gir-1.0', ...]')
Tie the option to BR2_PACKAGE_GOBJECT_INTROSPECTION and add the dependency,
the way package/libgtk3 already does. Systems without introspection keep the
previous behaviour.
Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
(cherry picked from commit 8c5f774172)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
committed by
Titouan Christophe
parent
cc822da5c5
commit
0f3adb8ea0
@@ -33,11 +33,17 @@ LIBGTK4_CONF_OPTS = \
|
||||
-Dsysprof=disabled \
|
||||
-Dtracker=disabled \
|
||||
-Dcolord=disabled \
|
||||
-Dintrospection=disabled \
|
||||
-Ddocumentation=false \
|
||||
-Dscreenshots=false \
|
||||
-Dman-pages=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBGTK4_CONF_OPTS += -Dintrospection=enabled
|
||||
LIBGTK4_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
LIBGTK4_CONF_OPTS += -Dintrospection=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK4_X11),y)
|
||||
LIBGTK4_DEPENDENCIES += xlib_libXcursor xlib_libXi xlib_libXinerama
|
||||
LIBGTK4_CONF_OPTS += -Dx11-backend=true
|
||||
|
||||
Reference in New Issue
Block a user