[OE-core] [PATCH 7/8] cups: add PACKAGECONFIG for avahi

Martin Jansa martin.jansa at gmail.com
Sat Jul 20 14:57:24 UTC 2013


* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta/recipes-extended/cups/cups16.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc
index f12c2cc..bf155a1 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 \
-- 
1.8.3.2




More information about the Openembedded-core mailing list