[Buildroot] [RFC PATCH 2/2] package/libvips: enable introspection

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 23 09:19:37 UTC 2017


Hello,

On Thu, 23 Feb 2017 11:54:55 +1100, Sam Bobroff wrote:

> diff --git a/package/libvips/Config.in b/package/libvips/Config.in
> index 87ada513d..4380f2d1a 100644
> --- a/package/libvips/Config.in
> +++ b/package/libvips/Config.in
> @@ -9,6 +9,7 @@ config BR2_PACKAGE_LIBVIPS
>  	select BR2_PACKAGE_LIBGLIB2
>  	select BR2_PACKAGE_LIBXML2
>  	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
> +	select BR2_PACKAGE_GOBJECT_INTROSPECTION

Clearly, seeing how gobject-introspection is complicated and brings
build dependencies, we want to keep this optional. So please do just:

ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBVIPS_CONF_OPTS += --enable-introspection
LIBVIPS_DEPENDENCIES += gobject-introspection
else
LIBVIPS_CONF_OPTS += --disable-introspection
endif

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list