Skip to contentSkip to conversation

cairo: add explicit dependency on zlib

PATCH New Ross Burton 1 participant 1 message Oct 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cairo: add explicit dependency on zlib

In normal use this is pulled in through libpng, but it's exposed in the headers of cairo-pdf and cairo-ps and a build from sstate can end up without zlib being present.

---
 meta/recipes-graphics/cairo/cairo.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/cairo/cairo.inc +1 -1
index 06d2dee..2149997 100644
@@ -11,7 +11,7 @@ BUGTRACKER = "http://bugs.freedesktop.org"
 SECTION = "libs"
 LICENSE = "MPL-1 & LGPLv2.1"
 X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
-DEPENDS = "libpng fontconfig pixman glib-2.0"
+DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
            ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
 PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
Signature · 1 line
1.7.10.4