diff options
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb index c6f67f1eca..ac364618e4 100644 --- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb +++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | |||
@@ -13,9 +13,9 @@ SRC_URI += "file://0001-configure.ac-install-GtkBuilder-interface-files-for-.pat | |||
13 | SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" | 13 | SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" |
14 | SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" | 14 | SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" |
15 | 15 | ||
16 | DEPENDS += "avahi gtk+3" | 16 | DEPENDS += "avahi" |
17 | 17 | ||
18 | AVAHI_GTK = "--disable-gtk --enable-gtk3 --disable-pygtk" | 18 | AVAHI_GTK = "gtk3" |
19 | 19 | ||
20 | S = "${WORKDIR}/avahi-${PV}" | 20 | S = "${WORKDIR}/avahi-${PV}" |
21 | 21 | ||
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index 340b3e601f..234646d291 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc | |||
@@ -23,8 +23,14 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} | |||
23 | " | 23 | " |
24 | UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/" | 24 | UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/" |
25 | 25 | ||
26 | PACKAGECONFIG ??= "dbus" | 26 | # For gtk related PACKAGECONFIGs: gtk, gtk3 and pygtk |
27 | AVAHI_GTK ?= "" | ||
28 | |||
29 | PACKAGECONFIG ??= "dbus ${AVAHI_GTK}" | ||
27 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | 30 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" |
31 | PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" | ||
32 | PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" | ||
33 | PACKAGECONFIG[pygtk] = "--enable-pygtk,--disable-pygtk," | ||
28 | 34 | ||
29 | USERADD_PACKAGES = "avahi-daemon avahi-autoipd" | 35 | USERADD_PACKAGES = "avahi-daemon avahi-autoipd" |
30 | USERADD_PARAM_avahi-daemon = "--system --home /var/run/avahi-daemon \ | 36 | USERADD_PARAM_avahi-daemon = "--system --home /var/run/avahi-daemon \ |
@@ -51,14 +57,12 @@ EXTRA_OECONF = "--with-avahi-priv-access-group=adm \ | |||
51 | --disable-manpages \ | 57 | --disable-manpages \ |
52 | ${EXTRA_OECONF_SYSVINIT} \ | 58 | ${EXTRA_OECONF_SYSVINIT} \ |
53 | ${EXTRA_OECONF_SYSTEMD} \ | 59 | ${EXTRA_OECONF_SYSTEMD} \ |
54 | ${AVAHI_GTK} \ | ||
55 | " | 60 | " |
56 | 61 | ||
57 | # The distro choice determines what init scripts are installed | 62 | # The distro choice determines what init scripts are installed |
58 | EXTRA_OECONF_SYSVINIT = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}" | 63 | EXTRA_OECONF_SYSVINIT = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}" |
59 | EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_unitdir}/system/','--without-systemdsystemunitdir',d)}" | 64 | EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_unitdir}/system/','--without-systemdsystemunitdir',d)}" |
60 | 65 | ||
61 | AVAHI_GTK ?= "--disable-gtk --disable-gtk3" | ||
62 | 66 | ||
63 | LDFLAGS_append_libc-uclibc = " -lintl" | 67 | LDFLAGS_append_libc-uclibc = " -lintl" |
64 | LDFLAGS_append_uclinux-uclibc = " -lintl" | 68 | LDFLAGS_append_uclinux-uclibc = " -lintl" |