summaryrefslogtreecommitdiff
path: root/recipes/blueman/blueman_1.10.bb
blob: e382a8b765f5e3c65d45230b7c6e41c92430acf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 python-dir

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 += "${PYTHON_SITEPACKAGES_DIR}/.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
}