summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/avahi.inc
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-05-23 16:24:06 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-27 17:06:34 +0100
commitcebad35edc168d48a1ec584bd2fbfebfd443b0e2 (patch)
tree437c3ebd9d5f0d1e6623e87421526eb71d32f20d /meta/recipes-connectivity/avahi/avahi.inc
parentc1b73ad2eb37c30406f0a28a65f350ef65a20320 (diff)
downloadpoky-cebad35edc168d48a1ec584bd2fbfebfd443b0e2.tar.gz
avahi: Add PACKAGECONFIG for libdns_sd
Adds a PACKAGECONFIG option to enable the libdns_sd compatibility library. (From OE-Core rev: f09a7b7b3a390dace73a94a6ebbe062b0af160df) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi/avahi.inc')
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index 8339e451f5..94fe6a16b6 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -36,6 +36,7 @@ PACKAGECONFIG ??= "dbus ${AVAHI_GTK}"
36PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" 36PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
37PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" 37PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+"
38PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" 38PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
39PACKAGECONFIG[libdns_sd] = "--enable-compat-libdns_sd --enable-dbus,,dbus"
39 40
40inherit autotools pkgconfig gettext gobject-introspection 41inherit autotools pkgconfig gettext gobject-introspection
41 42
@@ -77,3 +78,9 @@ do_install() {
77 test -d ${D}${datadir}/dbus-1 && rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1 78 test -d ${D}${datadir}/dbus-1 && rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1
78 rm -rf ${D}${libdir}/avahi 79 rm -rf ${D}${libdir}/avahi
79} 80}
81
82PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "libdns_sd", "libavahi-compat-libdnssd", "", d)}"
83
84FILES_libavahi-compat-libdnssd = "${libdir}/libdns_sd.so.*"
85
86RPROVIDES_libavahi-compat-libdnssd = "libdns-sd"