[7/8] cups: add PACKAGECONFIG for avahi

Submitted by Martin Jansa on July 20, 2013, 2:57 p.m.

Details

Message ID 5755df0bccd9127a2a4dda72d1b7b04410435f91.1374332196.git.Martin.Jansa@gmail.com
State Accepted
Commit 0d6fa308e7c2838a51013b16b348e95f9e177105
Headers show

Commit Message

Martin Jansa July 20, 2013, 2:57 p.m.
* it's autodetected from sysroot

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

Patch hide | download patch | download mbox

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 \