summaryrefslogtreecommitdiff
path: root/recipes/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/avahi')
-rw-r--r--recipes/avahi/avahi-python_0.6.25.bb19
-rw-r--r--recipes/avahi/avahi-ui_0.6.25.bb20
-rw-r--r--recipes/avahi/avahi_0.6.25.bb7
3 files changed, 46 insertions, 0 deletions
diff --git a/recipes/avahi/avahi-python_0.6.25.bb b/recipes/avahi/avahi-python_0.6.25.bb
new file mode 100644
index 0000000000..9c9e77d54e
--- /dev/null
+++ b/recipes/avahi/avahi-python_0.6.25.bb
@@ -0,0 +1,19 @@
+require avahi.inc
+
+PR = "r1"
+
+# FIXME: without --enable-gtk, avahi-discover (pygtk) won't be built
+FILES_avahi-discover = ""
+
+PROVIDES = "avahi"
+DEPENDS += "python-native"
+
+SRC_URI += "file://configure-check-pymod.patch;patch=1"
+
+S = "${WORKDIR}/avahi-${PV}"
+
+RDEPENDS_avahi-discover = "python-avahi python-pygtk"
+RDEPENDS_python-avahi = "python-dbus"
+PACKAGES =+ "python-avahi"
+
+AVAHI_PYTHON = "--enable-python"
diff --git a/recipes/avahi/avahi-ui_0.6.25.bb b/recipes/avahi/avahi-ui_0.6.25.bb
new file mode 100644
index 0000000000..966958d597
--- /dev/null
+++ b/recipes/avahi/avahi-ui_0.6.25.bb
@@ -0,0 +1,20 @@
+require avahi.inc
+
+PR = "r1"
+
+DEPENDS += "avahi gtk+"
+
+AVAHI_GTK = "--enable-gtk"
+
+S = "${WORKDIR}/avahi-${PV}"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/avahi-ui
+ cp ${S}/avahi-ui/*.h ${STAGING_INCDIR}/avahi-ui/
+ oe_libinstall -C avahi-ui -a -so libavahi-ui ${STAGING_LIBDIR}
+}
+
+PACKAGES = "${PN} ${PN}-dbg"
+
+FILES_${PN} = "${libdir}/libavahi-ui*.so.*"
+FILES_${PN}-dbg += "${libdir}/.debug/libavah-ui*"
diff --git a/recipes/avahi/avahi_0.6.25.bb b/recipes/avahi/avahi_0.6.25.bb
new file mode 100644
index 0000000000..61a62a54a4
--- /dev/null
+++ b/recipes/avahi/avahi_0.6.25.bb
@@ -0,0 +1,7 @@
+require avahi.inc
+
+PR = "r1"
+
+DEPENDS += "intltool-native"
+
+PACKAGES =+ "libavahi-gobject"