Message ID | 20200401002134.1779241-6-aduskett@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [01/12] package/libsecret: enable gobject-introspection support | expand |
On Tue, 31 Mar 2020 17:21:28 -0700 aduskett@gmail.com wrote: > From: Adam Duskett <Aduskett@gmail.com> > > If gobject-introspection is selected, add the gobject-introspection package to > the dependency list and set the conf opt --with-introspection. > > Signed-off-by: Adam Duskett <Aduskett@gmail.com> > --- > package/gcr/gcr.mk | 7 +++++++ > 1 file changed, 7 insertions(+) This fails to build: XSLTPROC Gcr-3.gir /bin/bash: xsltproc: command not found Makefile:6878: recipe for target 'Gcr-3.gir' failed See: http://autobuild.buildroot.net/results/178/178ea11b71c87e167fc3f3787fb31ce4ebacb4ff/build-end.log Could you have a look ? Thanks! Thomas
diff --git a/package/gcr/gcr.mk b/package/gcr/gcr.mk index 2fe583978c..56bfe1110a 100644 --- a/package/gcr/gcr.mk +++ b/package/gcr/gcr.mk @@ -23,6 +23,13 @@ GCR_CONF_OPTS = \ GCR_LICENSE = LGPL-2.1+ GCR_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GCR_DEPENDENCIES += gobject-introspection +GCR_CONF_OPTS += --with-introspection +else +GCR_CONF_OPTS += --without-introspection +endif + # Only the X11 backend is supported for the simple GUI ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) GCR_DEPENDENCIES += libgtk3