diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-03-09 17:01:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-12 22:11:44 +0000 |
commit | 0d1e4b22384ad1bbfc333809571d33ecd6a6ec20 (patch) | |
tree | 4f21ff22e9c5bef20708488125a2dd202a24cf78 /meta/recipes-connectivity/avahi | |
parent | d2e0dc1b1313671ab98d6d3be43fd35f24f1209f (diff) | |
download | poky-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.bb | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 15 |
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 | ||
40 | inherit autotools pkgconfig update-rc.d gettext useradd | 40 | inherit autotools pkgconfig update-rc.d gettext useradd gobject-introspection |
41 | 41 | ||
42 | EXTRA_OECONF = "--disable-introspection \ | 42 | EXTRA_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 | ||
67 | do_configure_prepend() { | 66 | do_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 | ||
73 | do_compile_prepend() { | ||
74 | export GIR_EXTRA_LIBS_PATH="${B}/avahi-common/.libs:${B}/avahi-client/.libs:${B}/avahi-glib/.libs" | ||
75 | } | ||
71 | 76 | ||
72 | PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils" | 77 | PACKAGES =+ "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" |
82 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" | 87 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" |
83 | FILES_libavahi-core = "${libdir}/libavahi-core.so.*" | 88 | FILES_libavahi-core = "${libdir}/libavahi-core.so.* ${libdir}/girepository-1.0/AvahiCore*.typelib" |
84 | FILES_avahi-daemon = "${sbindir}/avahi-daemon \ | 89 | FILES_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" |
99 | FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" | 104 | FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" |
100 | FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*" | 105 | FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.* ${libdir}/girepository-1.0/Avahi*.typelib" |
101 | FILES_avahi-utils = "${bindir}/avahi-*" | 106 | FILES_avahi-utils = "${bindir}/avahi-*" |
102 | 107 | ||
103 | RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})" | 108 | RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})" |