summaryrefslogtreecommitdiff
path: root/recipes/blueman/blueman_1.21.bb
blob: 066e156d6986f88b277ecd92730e48763a9af37d (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
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 = "python-dbus python-pygobject python \
            dbus bluez4 python-pygtk obex-data-server \
"

PR = "r1"

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}"