[oe-commits] Martin Jansa : cups: add PACKAGECONFIG for avahi

git at git.openembedded.org git at git.openembedded.org
Mon Jul 29 12:19:12 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: 319355e68006c0c7dca117d552e96a36dfef01c3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=319355e68006c0c7dca117d552e96a36dfef01c3

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sat Jul 13 18:49:04 2013 +0200

cups: add PACKAGECONFIG for avahi

* it's autodetected from sysroot

(From OE-Core master rev: 0d6fa308e7c2838a51013b16b348e95f9e177105)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/cups/cups16.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc
index 9b0ae5b..914c3f9 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 \



More information about the Openembedded-commits mailing list