[Buildroot] [PATCH vRFC 2/4] package/webkitgtk: add gobject-introspection optional dependency

Adrian Perez de Castro aperez at igalia.com
Thu Nov 4 01:41:15 UTC 2021


On Wed, 03 Nov 2021 17:36:05 -0700 Adam Duskett <aduskett at gmail.com> wrote:
> Enable introspection when GObject Introspection is enabled.
> Midori 9.0 requires webkitgtk built with gobject-introspection
> support.
> 
> Signed-off-by: Adam Duskett <aduskett at gmail.com>

Reviewed-by: Adrian Perez de Castro <aperez at igalia.com>

> ---
>  package/webkitgtk/webkitgtk.mk | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk
> index a3db249ae6..4d5d0b89e2 100644
> --- a/package/webkitgtk/webkitgtk.mk
> +++ b/package/webkitgtk/webkitgtk.mk
> @@ -21,7 +21,6 @@ WEBKITGTK_CONF_OPTS = \
>  	-DENABLE_GAMEPAD=OFF \
>  	-DENABLE_GEOLOCATION=OFF \
>  	-DENABLE_GTKDOC=OFF \
> -	-DENABLE_INTROSPECTION=OFF \
>  	-DENABLE_MINIBROWSER=ON \
>  	-DENABLE_SPELLCHECK=ON \
>  	-DPORT=GTK \
> @@ -59,6 +58,13 @@ else
>  WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
> +WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=ON
> +WEBKITGTK_DEPENDENCIES += gobject-introspection
> +else
> +WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF
> +endif
> +

Nice to see this happen =)

>  # Only one target platform can be built, assume X11 > Wayland
>  
>  # GTK3-X11 target gives OpenGL from newer libgtk3 versions
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

Cheers,
—Adrián
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211104/7902a712/attachment.asc>


More information about the buildroot mailing list