blueman: new recipe from SHR
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:24:22 +0000 (09:24 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:57:37 +0000 (09:57 +0100)
recipes/blueman/blueman_1.10.bb [new file with mode: 0644]

diff --git a/recipes/blueman/blueman_1.10.bb b/recipes/blueman/blueman_1.10.bb
new file mode 100644 (file)
index 0000000..6130902
--- /dev/null
@@ -0,0 +1,27 @@
+DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager"
+HOMEPAGE = "http://www.blueman-project.org/"
+SECTION = "optional"
+DEPENDS = "gtk+ glib-2.0 bluez4 intltool python python-native python-pyrex startup-notification"
+RDEPENDS = "python-dbus python-pygobject python dbus bluez4 python-pygtk python-notify obex-data-server \
+"
+
+PR = "r1"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--with-no-runtime-deps-check"
+
+BLUEZ_LIBS = "-L${libdir} -lbluetooth"
+BLUEZ_CFLAGS = "-I${includedir}"
+
+SRC_URI = "\
+       http://download.tuxfamily.org/blueman/blueman-${PV}.tar.gz\
+       "
+
+FILES_${PN}-dbg += "${libdir}/python2.6/site-packages/.debug"
+FILES_${PN} += "${libdir} ${datadir}"
+
+do_configure_prepend() {
+               sed -i "s/py_prefix=.*$/py_prefix=\"${@"${STAGING_DIR_TARGET}".replace("/","\/")}\/usr\"/" ${S}/acinclude.m4
+               sed -i "s/py_exec_prefix=.*$/py_exec_prefix=\"${@"${STAGING_DIR_TARGET}".replace("/","\/")}\/usr\"/" ${S}/acinclude.m4
+}