summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-03-09 17:01:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:11:44 +0000
commit0d1e4b22384ad1bbfc333809571d33ecd6a6ec20 (patch)
tree4f21ff22e9c5bef20708488125a2dd202a24cf78 /meta/recipes-connectivity/avahi
parentd2e0dc1b1313671ab98d6d3be43fd35f24f1209f (diff)
downloadpoky-0d1e4b22384ad1bbfc333809571d33ecd6a6ec20.tar.gz
avahi: enable gobject-introspection
(From OE-Core rev: b9f543de30eb86c0787886d0e78d530fb24984dc) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r--meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb2
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc15
2 files changed, 12 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 64e46a1ce4..3966b4c6e5 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
@@ -64,5 +64,7 @@ do_install_append () {
64 rm ${D}${mandir}/man1/a* 64 rm ${D}${mandir}/man1/a*
65 rm ${D}${mandir}/man5 -rf 65 rm ${D}${mandir}/man5 -rf
66 rm ${D}${mandir}/man8 -rf 66 rm ${D}${mandir}/man8 -rf
67 rm ${D}${libdir}/girepository-1.0/ -rf
68 rm ${D}${datadir}/gir-1.0/ -rf
67} 69}
68 70
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index 0c3c6430d6..81aad7935a 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -37,10 +37,9 @@ USERADD_PARAM_avahi-autoipd = "--system --home /var/run/avahi-autoipd \
37 -c \"Avahi autoip daemon\" \ 37 -c \"Avahi autoip daemon\" \
38 avahi-autoipd" 38 avahi-autoipd"
39 39
40inherit autotools pkgconfig update-rc.d gettext useradd 40inherit autotools pkgconfig update-rc.d gettext useradd gobject-introspection
41 41
42EXTRA_OECONF = "--disable-introspection \ 42EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
43 --with-avahi-priv-access-group=adm \
44 --disable-stack-protector \ 43 --disable-stack-protector \
45 --disable-gdbm \ 44 --disable-gdbm \
46 --disable-mono \ 45 --disable-mono \
@@ -66,8 +65,14 @@ LDFLAGS_append_uclinux-uclibc = " -lintl"
66 65
67do_configure_prepend() { 66do_configure_prepend() {
68 sed 's:AM_CHECK_PYMOD:echo "no pymod" #AM_CHECK_PYMOD:g' -i ${S}/configure.ac 67 sed 's:AM_CHECK_PYMOD:echo "no pymod" #AM_CHECK_PYMOD:g' -i ${S}/configure.ac
68
69 # This m4 file will get in the way of our introspection.m4 with special cross-compilation fixes
70 rm "${S}/common/introspection.m4" || true
69} 71}
70 72
73do_compile_prepend() {
74 export GIR_EXTRA_LIBS_PATH="${B}/avahi-common/.libs:${B}/avahi-client/.libs:${B}/avahi-glib/.libs"
75}
71 76
72PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils" 77PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils"
73 78
@@ -80,7 +85,7 @@ FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
80 ${sysconfdir}/udhcpc.d/00avahi-autoipd \ 85 ${sysconfdir}/udhcpc.d/00avahi-autoipd \
81 ${sysconfdir}/udhcpc.d/99avahi-autoipd" 86 ${sysconfdir}/udhcpc.d/99avahi-autoipd"
82FILES_libavahi-common = "${libdir}/libavahi-common.so.*" 87FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
83FILES_libavahi-core = "${libdir}/libavahi-core.so.*" 88FILES_libavahi-core = "${libdir}/libavahi-core.so.* ${libdir}/girepository-1.0/AvahiCore*.typelib"
84FILES_avahi-daemon = "${sbindir}/avahi-daemon \ 89FILES_avahi-daemon = "${sbindir}/avahi-daemon \
85 ${sysconfdir}/avahi/avahi-daemon.conf \ 90 ${sysconfdir}/avahi/avahi-daemon.conf \
86 ${sysconfdir}/avahi/hosts \ 91 ${sysconfdir}/avahi/hosts \
@@ -97,7 +102,7 @@ FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \
97 ${sysconfdir}/avahi/avahi-dnsconfd.action \ 102 ${sysconfdir}/avahi/avahi-dnsconfd.action \
98 ${sysconfdir}/init.d/avahi-dnsconfd" 103 ${sysconfdir}/init.d/avahi-dnsconfd"
99FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" 104FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
100FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*" 105FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.* ${libdir}/girepository-1.0/Avahi*.typelib"
101FILES_avahi-utils = "${bindir}/avahi-*" 106FILES_avahi-utils = "${bindir}/avahi-*"
102 107
103RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})" 108RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})"