avahi-ui: hack to get libavahi-ui built and packaged
authorKoen Kooi <koen@openembedded.org>
Sat, 13 Oct 2007 08:33:03 +0000 (08:33 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 13 Oct 2007 08:33:03 +0000 (08:33 +0000)
packages/avahi/avahi-ui_0.6.21.bb [new file with mode: 0644]

diff --git a/packages/avahi/avahi-ui_0.6.21.bb b/packages/avahi/avahi-ui_0.6.21.bb
new file mode 100644 (file)
index 0000000..1159b8e
--- /dev/null
@@ -0,0 +1,20 @@
+require avahi.inc
+PR = "r0"
+
+DEPENDS += "avahi gtk+"
+
+SRC_URI += "file://dbus-pre-1.1.1-support.patch;patch=1"
+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*"