diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-08 14:06:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:48:28 +0100 |
commit | e8b3a1244440ea01a6671cc265ecc2244e1fd446 (patch) | |
tree | 3eba9e198126d3175fc72b9178938a87c3f46730 /meta/recipes-connectivity/avahi | |
parent | 2c6ac68006c4ddbd05e3b621ad7a96d27e0e7a33 (diff) | |
download | poky-e8b3a1244440ea01a6671cc265ecc2244e1fd446.tar.gz |
avahi: fix dbus system-service packaging and move more things to .inc
(From OE-Core rev: dca03beb98f123cfc3e09a3b2870f7537f49dd3c)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 23 | ||||
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi_0.6.30.bb | 9 |
2 files changed, 16 insertions, 16 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index 9e26a20f22..2ab037eaf2 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc | |||
@@ -17,14 +17,10 @@ LICENSE = "GPLv2+ & LGPLv2.1+" | |||
17 | 17 | ||
18 | DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" | 18 | DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" |
19 | 19 | ||
20 | # uclibc has no nss | ||
21 | RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns" | ||
22 | RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns" | ||
23 | |||
24 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ | 20 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ |
25 | file://00avahi-autoipd \ | 21 | file://00avahi-autoipd \ |
26 | file://99avahi-autoipd \ | 22 | file://99avahi-autoipd \ |
27 | file://initscript.patch" | 23 | file://initscript.patch" |
28 | 24 | ||
29 | inherit autotools pkgconfig update-rc.d gettext | 25 | inherit autotools pkgconfig update-rc.d gettext |
30 | 26 | ||
@@ -34,6 +30,7 @@ EXTRA_OECONF = "--with-distro=debian \ | |||
34 | --disable-gdbm \ | 30 | --disable-gdbm \ |
35 | --disable-mono \ | 31 | --disable-mono \ |
36 | --disable-monodoc \ | 32 | --disable-monodoc \ |
33 | --disable-gtk3 \ | ||
37 | --disable-qt3 \ | 34 | --disable-qt3 \ |
38 | --disable-qt4 \ | 35 | --disable-qt4 \ |
39 | --disable-python \ | 36 | --disable-python \ |
@@ -64,6 +61,15 @@ pkg_postrm_avahi-systemd() { | |||
64 | systemctl disable avahi-daemon.service | 61 | systemctl disable avahi-daemon.service |
65 | } | 62 | } |
66 | 63 | ||
64 | # uclibc has no nss | ||
65 | RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns" | ||
66 | RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns" | ||
67 | |||
68 | RDEPENDS_avahi-daemon = "sysvinit-pidof" | ||
69 | |||
70 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ | ||
71 | ${sysconfdir}/avahi/avahi-autoipd.action \ | ||
72 | ${sysconfdir}/dhcp3/*/avahi-autoipd" | ||
67 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" | 73 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" |
68 | FILES_libavahi-core = "${libdir}/libavahi-core.so.*" | 74 | FILES_libavahi-core = "${libdir}/libavahi-core.so.*" |
69 | FILES_libavahi-ui = "${libdir}/libavahi-ui.so.*" | 75 | FILES_libavahi-ui = "${libdir}/libavahi-ui.so.*" |
@@ -78,7 +84,8 @@ FILES_avahi-daemon = "${sbindir}/avahi-daemon \ | |||
78 | ${sysconfdir}/init.d/avahi-daemon \ | 84 | ${sysconfdir}/init.d/avahi-daemon \ |
79 | ${datadir}/avahi/introspection/*.introspect \ | 85 | ${datadir}/avahi/introspection/*.introspect \ |
80 | ${datadir}/avahi/avahi-service.dtd \ | 86 | ${datadir}/avahi/avahi-service.dtd \ |
81 | ${datadir}/avahi/service-types" | 87 | ${datadir}/avahi/service-types \ |
88 | ${datadir}/dbus-1/system-services" | ||
82 | FILES_libavahi-client = "${libdir}/libavahi-client.so.*" | 89 | FILES_libavahi-client = "${libdir}/libavahi-client.so.*" |
83 | FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \ | 90 | FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \ |
84 | ${sysconfdir}/avahi/avahi-dnsconfd.action \ | 91 | ${sysconfdir}/avahi/avahi-dnsconfd.action \ |
diff --git a/meta/recipes-connectivity/avahi/avahi_0.6.30.bb b/meta/recipes-connectivity/avahi/avahi_0.6.30.bb index 23c0fa0533..05716d0699 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.6.30.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.6.30.bb | |||
@@ -6,14 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | |||
6 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ | 6 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ |
7 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" | 7 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" |
8 | 8 | ||
9 | RDEPENDS_avahi-daemon = "sysvinit-pidof" | 9 | PR = "r4" |
10 | PR = "r3" | ||
11 | |||
12 | EXTRA_OECONF += "--disable-gtk3" | ||
13 | |||
14 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ | ||
15 | ${sysconfdir}/avahi/avahi-autoipd.action \ | ||
16 | ${sysconfdir}/dhcp3/*/avahi-autoipd" | ||
17 | 10 | ||
18 | SRC_URI[md5sum] = "e4db89a2a403ff4c47d66ac66fad1f43" | 11 | SRC_URI[md5sum] = "e4db89a2a403ff4c47d66ac66fad1f43" |
19 | SRC_URI[sha256sum] = "f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f" | 12 | SRC_URI[sha256sum] = "f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f" |