summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-07-22 01:38:02 +0200
committerKhem Raj <raj.khem@gmail.com>2019-07-22 09:31:46 -0700
commit74ca25227b0aad189339d841f36a7117ff4b7a64 (patch)
tree6df1a457986865799f02948bb45a6deb32cb9cfd
parent4ee778798df2e30362f9138c8988d343a963ab2b (diff)
downloadmeta-openembedded-74ca25227b0aad189339d841f36a7117ff4b7a64.tar.gz
blueman: update to 2.1.1
Removed patch was upstreamed. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/blueman/blueman_2.1.1.bb58
-rw-r--r--meta-networking/recipes-connectivity/blueman/blueman_git.bb42
2 files changed, 58 insertions, 42 deletions
diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.1.1.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.1.1.bb
new file mode 100644
index 0000000000..36de2af1d6
--- /dev/null
+++ b/meta-networking/recipes-connectivity/blueman/blueman_2.1.1.bb
@@ -0,0 +1,58 @@
1DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager"
2LICENSE = "GPLv3"
3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
4
5DEPENDS = "bluez5 python3-pygobject python3-cython-native python3-setuptools-native intltool-native"
6
7inherit autotools systemd gsettings python3native gtk-icon-cache
8
9SRC_URI = " \
10 https://github.com/blueman-project/blueman/releases/download/${PV}/blueman-${PV}.tar.xz \
11 file://0001-Search-for-cython3.patch \
12"
13SRC_URI[md5sum] = "9de89abb31be45bdbf11f7884764a2dc"
14SRC_URI[sha256sum] = "f1eab2334e5a1587defa80900901048d14c2e8ffa8c0cff7240bc9937a61dbc3"
15
16EXTRA_OECONF = " \
17 --disable-runtime-deps-check \
18 --disable-schemas-compile \
19"
20
21SYSTEMD_SERVICE_${PN} = "${BPN}-mechanism.service"
22SYSTEMD_AUTO_ENABLE_${PN} = "disable"
23
24RRECOMENDS_${PN} += "adwaita-icon-theme"
25RDEPENDS_${PN} += " \
26 python3-core \
27 python3-dbus \
28 packagegroup-tools-bluetooth \
29"
30
31PACKAGECONFIG ??= "thunar"
32PACKAGECONFIG[thunar] = "--enable-thunar-sendto,--disable-thunar-sendto"
33
34FILES_${PN} += " \
35 ${datadir}/dbus-1 \
36 ${datadir}/Thunar \
37 ${systemd_user_unitdir} \
38 ${exec_prefix}${systemd_system_unitdir} \
39 ${PYTHON_SITEPACKAGES_DIR} \
40"
41
42FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_blueman.a"
43
44# In code, path to python is a variable that is replaced with path to native version of it
45# during the configure stage, e.g ../recipe-sysroot-native/usr/bin/python3-native/python3.
46# Replace it with #!/usr/bin/env python3
47do_install_append() {
48 sed -i "1s/.*/#!\/usr\/bin\/env python3/" ${D}${prefix}/libexec/blueman-rfcomm-watcher \
49 ${D}${prefix}/libexec/blueman-mechanism \
50 ${D}${bindir}/blueman-tray \
51 ${D}${bindir}/blueman-services \
52 ${D}${bindir}/blueman-sendto \
53 ${D}${bindir}/blueman-report \
54 ${D}${bindir}/blueman-manager \
55 ${D}${bindir}/blueman-assistant \
56 ${D}${bindir}/blueman-applet \
57 ${D}${bindir}/blueman-adapters
58}
diff --git a/meta-networking/recipes-connectivity/blueman/blueman_git.bb b/meta-networking/recipes-connectivity/blueman/blueman_git.bb
deleted file mode 100644
index 91b64a36b6..0000000000
--- a/meta-networking/recipes-connectivity/blueman/blueman_git.bb
+++ /dev/null
@@ -1,42 +0,0 @@
1DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager"
2LICENSE = "GPLv3"
3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
4
5DEPENDS = "bluez5 python3-pygobject python3-cython-native python3-setuptools-native intltool-native"
6
7inherit autotools systemd gsettings python3native gtk-icon-cache
8
9SRC_URI = " \
10 git://github.com/blueman-project/blueman.git \
11 file://0001-Search-for-cython3.patch \
12"
13SRCREV = "c4a03417e81e21543d4568e8e7f7de307582eb50"
14PV = "2.0.5+git${SRCPV}"
15S = "${WORKDIR}/git"
16
17EXTRA_OECONF = " \
18 --disable-runtime-deps-check \
19 --disable-schemas-compile \
20"
21
22SYSTEMD_SERVICE_${PN} = "${BPN}-mechanism.service"
23SYSTEMD_AUTO_ENABLE_${PN} = "disable"
24
25RRECOMENDS_${PN} += "adwaita-icon-theme"
26RDEPENDS_${PN} += " \
27 python3-dbus \
28 packagegroup-tools-bluetooth \
29"
30
31PACKAGECONFIG ??= "thunar"
32PACKAGECONFIG[thunar] = "--enable-thunar-sendto,--disable-thunar-sendto"
33
34FILES_${PN} += " \
35 ${datadir}/dbus-1 \
36 ${datadir}/Thunar \
37 ${systemd_user_unitdir} \
38 ${exec_prefix}${systemd_system_unitdir} \
39 ${PYTHON_SITEPACKAGES_DIR} \
40"
41
42FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_blueman.a"