summaryrefslogtreecommitdiff
path: root/recipes/blueman/blueman_1.21.bb
blob: c3e3e34f4ea51cecfa86a2515f47ca4da7fe8b23 (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
31
32
33
34
DESCRIPTION = "GTK+ Bluetooth Manager, designed for common bluetooth tasks."
HOMEPAGE = "http://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 obex-data-server \
"

PR = "r2"

SRC_URI = "http://download.tuxfamily.org/blueman/blueman-${PV}.tar.gz"

inherit autotools pkgconfig python-dir

EXTRA_OECONF += "--with-no-runtime-deps-check"

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
}

FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug"
FILES_${PN} += "${libdir} ${datadir}"

BLUEZ_LIBS = "-L${libdir} -lbluetooth"
BLUEZ_CFLAGS = "-I${includedir}"

SRC_URI[md5sum] = "26b70341b3d3da28da62c917c8b20377"
SRC_URI[sha256sum] = "86200dab50b1595c9a9537586c07de90ccfa084b954bb74f3e8732cc000fe3af"