aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-13 18:49:04 +0200
committerSaul Wold <sgw@linux.intel.com>2013-07-23 07:22:38 -0700
commit0d6fa308e7c2838a51013b16b348e95f9e177105 (patch)
tree18c0500f583ffedca768056d9628cb39fdb2556a /meta/recipes-extended/cups
parentf32f0e8195b1abfdd4477747eca0838e90feabb7 (diff)
downloadopenembedded-core-contrib-0d6fa308e7c2838a51013b16b348e95f9e177105.tar.gz
cups: add PACKAGECONFIG for avahi
* it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r--meta/recipes-extended/cups/cups16.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc
index f12c2cc20c..bf155a1461 100644
--- a/meta/recipes-extended/cups/cups16.inc
+++ b/meta/recipes-extended/cups/cups16.inc
@@ -11,6 +11,9 @@ LEAD_SONAME = "libcupsdriver.so"
inherit autotools binconfig
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
+PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
+
EXTRA_OECONF = " \
--enable-gnutls \
--enable-dbus \