summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 14:13:01 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 14:13:01 +0200
commit67e4edfb96bd99cec33fae6fc142b3de848f4538 (patch)
tree9d4d80d4b4e831645f1e00c473acd18dbeb3acb7
parentfac43bd78498fb92561a6f11bc999a044f06c749 (diff)
cups: add optional image dependencies
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/cups/cups.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 1508b6ee0..f06502ab2 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -15,6 +15,11 @@ CUPS_CONF_OPT = --without-perl \
--disable-gnutls \
--disable-gssapi
+CUPS_DEPENDENCIES = $(if $(BR2_PACKAGE_ZLIB),zlib) \
+ $(if $(BR2_PACKAGE_LIBPNG),libpng) \
+ $(if $(BR2_PACKAGE_JPEG),jpeg) \
+ $(if $(BR2_PACKAGE_TIFF),tiff)
+
ifeq ($(BR2_PACKAGE_DBUS),y)
CUPS_CONF_OPT += --enable-dbus
CUPS_DEPENDENCIES += dbus