From: Peter Seiderer Date: Mon, 12 Apr 2021 19:32:28 +0000 (+0200) Subject: package/sane-backends: poppler-glib needs cairo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3a8ca93717231b332a9e8b7f2d5d6f492145a3d;p=buildroot.git package/sane-backends: poppler-glib needs cairo - poppler-glib depends on cairo (see poppler-0.84.0/CMakeLists.txt): 185 else() 186 set(CAIRO_FEATURE "#undef POPPLER_HAS_CAIRO") 187 set(ENABLE_GLIB OFF) 188 endif() Fixes: - http://autobuild.buildroot.net/results/9a345f82c7a010f6b2a3361f25b14caefa9dcbef checking for POPPLER_GLIB... no configure: error: poppler-glib requested but not found Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/sane-backends/sane-backends.mk b/package/sane-backends/sane-backends.mk index 697aa3252b..a8f7466f70 100644 --- a/package/sane-backends/sane-backends.mk +++ b/package/sane-backends/sane-backends.mk @@ -61,7 +61,7 @@ else SANE_BACKENDS_CONF_OPTS += --without-libcurl endif -ifeq ($(BR2_PACKAGE_POPPLER)$(BR2_PACKAGE_LIBGLIB2),yy) +ifeq ($(BR2_PACKAGE_POPPLER)$(BR2_PACKAGE_CAIRO)$(BR2_PACKAGE_LIBGLIB2),yyy) SANE_BACKENDS_DEPENDENCIES += poppler libglib2 SANE_BACKENDS_CONF_OPTS += --with-poppler-glib else