Patchwork [7/8] cups: add PACKAGECONFIG for avahi

login
register
mail settings
Submitter Martin Jansa
Date July 20, 2013, 2:57 p.m.
Message ID <5755df0bccd9127a2a4dda72d1b7b04410435f91.1374332196.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/54097/
State Accepted
Commit 0d6fa308e7c2838a51013b16b348e95f9e177105
Headers show

Comments

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

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 \