diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-05-23 16:24:06 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-27 17:06:34 +0100 |
commit | cebad35edc168d48a1ec584bd2fbfebfd443b0e2 (patch) | |
tree | 437c3ebd9d5f0d1e6623e87421526eb71d32f20d /meta/recipes-connectivity/avahi/avahi.inc | |
parent | c1b73ad2eb37c30406f0a28a65f350ef65a20320 (diff) | |
download | poky-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.inc | 7 |
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}" | |||
36 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | 36 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" |
37 | PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" | 37 | PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" |
38 | PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" | 38 | PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" |
39 | PACKAGECONFIG[libdns_sd] = "--enable-compat-libdns_sd --enable-dbus,,dbus" | ||
39 | 40 | ||
40 | inherit autotools pkgconfig gettext gobject-introspection | 41 | inherit 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 | |||
82 | PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "libdns_sd", "libavahi-compat-libdnssd", "", d)}" | ||
83 | |||
84 | FILES_libavahi-compat-libdnssd = "${libdir}/libdns_sd.so.*" | ||
85 | |||
86 | RPROVIDES_libavahi-compat-libdnssd = "libdns-sd" | ||