summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-08 14:06:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 15:41:15 +0100
commitdca03beb98f123cfc3e09a3b2870f7537f49dd3c (patch)
treece7d78082bee240ff03ce14345dbec69d39c9d22 /meta
parente2822a65715858c84654debee2219cf954db4d8c (diff)
downloadopenembedded-core-dca03beb98f123cfc3e09a3b2870f7537f49dd3c.tar.gz
openembedded-core-dca03beb98f123cfc3e09a3b2870f7537f49dd3c.tar.bz2
openembedded-core-dca03beb98f123cfc3e09a3b2870f7537f49dd3c.zip
avahi: fix dbus system-service packaging and move more things to .inc
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc23
-rw-r--r--meta/recipes-connectivity/avahi/avahi_0.6.30.bb9
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+"
DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade"
-# uclibc has no nss
-RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns"
-RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns"
-
SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
- file://00avahi-autoipd \
- file://99avahi-autoipd \
- file://initscript.patch"
+ file://00avahi-autoipd \
+ file://99avahi-autoipd \
+ file://initscript.patch"
inherit autotools pkgconfig update-rc.d gettext
@@ -34,6 +30,7 @@ EXTRA_OECONF = "--with-distro=debian \
--disable-gdbm \
--disable-mono \
--disable-monodoc \
+ --disable-gtk3 \
--disable-qt3 \
--disable-qt4 \
--disable-python \
@@ -64,6 +61,15 @@ pkg_postrm_avahi-systemd() {
systemctl disable avahi-daemon.service
}
+# uclibc has no nss
+RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns"
+RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns"
+
+RDEPENDS_avahi-daemon = "sysvinit-pidof"
+
+FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
+ ${sysconfdir}/avahi/avahi-autoipd.action \
+ ${sysconfdir}/dhcp3/*/avahi-autoipd"
FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
FILES_libavahi-core = "${libdir}/libavahi-core.so.*"
FILES_libavahi-ui = "${libdir}/libavahi-ui.so.*"
@@ -78,7 +84,8 @@ FILES_avahi-daemon = "${sbindir}/avahi-daemon \
${sysconfdir}/init.d/avahi-daemon \
${datadir}/avahi/introspection/*.introspect \
${datadir}/avahi/avahi-service.dtd \
- ${datadir}/avahi/service-types"
+ ${datadir}/avahi/service-types \
+ ${datadir}/dbus-1/system-services"
FILES_libavahi-client = "${libdir}/libavahi-client.so.*"
FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \
${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 \
file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \
file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
-RDEPENDS_avahi-daemon = "sysvinit-pidof"
-PR = "r3"
-
-EXTRA_OECONF += "--disable-gtk3"
-
-FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
- ${sysconfdir}/avahi/avahi-autoipd.action \
- ${sysconfdir}/dhcp3/*/avahi-autoipd"
+PR = "r4"
SRC_URI[md5sum] = "e4db89a2a403ff4c47d66ac66fad1f43"
SRC_URI[sha256sum] = "f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f"