summaryrefslogtreecommitdiffstats
path: root/recipes/blueman/blueman_1.10.bb
blob: 2cd06efd91e9fa6be5486eda8f3a4755dd8bc9aa (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
28
29
30
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_${PN} = "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
}

SRC_URI[md5sum] = "f9058305c42038678d5023fcabba22a4"
SRC_URI[sha256sum] = "f4a92834a538dc9dbb93fde76933e849b24639faa1721b24549f209b8b590f71"