Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/librsvg: optionally build the SVG GDK pixbuf plugin
@ 2019-09-25 19:27 Thomas Lorblanchès
  2019-09-25 19:45 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Lorblanchès @ 2019-09-25 19:27 UTC (permalink / raw)
  To: buildroot

Enable generation of libpixbufloader-svg.so if gdk-pixbuf is enabled

Signed-off-by: Thomas Lorblanch?s <zlika_ese@hotmail.com>
---
 package/librsvg/librsvg.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk
index 4f563ce6db..746b339bdd 100644
--- a/package/librsvg/librsvg.mk
+++ b/package/librsvg/librsvg.mk
@@ -9,7 +9,10 @@ LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).20
 LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)
 LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz
 LIBRSVG_INSTALL_STAGING = YES
-LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools --enable-introspection=no
+LIBRSVG_CONF_OPTS = --disable-tools --enable-introspection=no
+ifneq ($(BR2_PACKAGE_GDK_PIXBUF),y)
+LIBRSVG_CONF_OPTS += --disable-pixbuf-loader
+endif
 HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no
 LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf libcroco libglib2 libxml2 pango \
 	$(if $(BR2_PACKAGE_LIBGTK3),libgtk3)
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-25 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-25 19:27 [Buildroot] [PATCH 1/1] package/librsvg: optionally build the SVG GDK pixbuf plugin Thomas Lorblanchès
2019-09-25 19:45 ` Yann E. MORIN
2019-09-25 20:17   ` [Buildroot] Re : " Thomas Lorblanchès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox