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
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-24 11:35:38 +0100
commit35226073a24a2a4b9e06b8d82b37623fea901ce1 (patch)
tree46a933867f5a72c1c260c9e1e2950c41856d499c /meta/recipes-extended/cups
parent3d6f866b48c94d9b739242bac35cf6a6ba3a7c54 (diff)
downloadopenembedded-core-contrib-35226073a24a2a4b9e06b8d82b37623fea901ce1.tar.gz
cups: add PACKAGECONFIG for avahi
* it's autodetected from sysroot (From OE-Core rev: 0d6fa308e7c2838a51013b16b348e95f9e177105) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 \