aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-04-12 08:54:37 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-13 19:21:40 -0700
commit7751b4bb1432e1c7d1b16e4d83bd648cc914946a (patch)
treeedb46ac68729e58f44ad605dbe875cc4d6a36166 /meta-gnome
parent2a14032c58d7f1de0144135b12909a2059d9731a (diff)
downloadmeta-openembedded-7751b4bb1432e1c7d1b16e4d83bd648cc914946a.tar.gz
gnome-bluetooth: avoid clashes with gnome-bluetooth4
* gnome-bluetooth and gnome-bluetooth4 install bluetooth-sendto. Prefer gnome-bluetooth4's bluetooth-sendto. * For those still relying on gnome-bluetooth - in this layer gnome-flashback only - offer gnome-bluetooth4's bluetooth-sendto Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb
index 57fe74495d..7b74c76f92 100644
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb
@@ -22,4 +22,13 @@ SRC_URI += " file://0001-build-Fix-build-for-newer-versions-of-meson.patch"
SRC_URI[archive.md5sum] = "d83faa54abaf64bb40b5313bc233e74e"
SRC_URI[archive.sha256sum] = "6c949e52c8becc2054daacd604901f66ce5cf709a5fa91c4bb7cacc939b53ea9"
+# avoid clashes with gnome-bluetooth4
+do_install:append() {
+ # just bluetooth-sendto / bluetooth-sendto.desktop only
+ rm -rf ${D}${bindir}
+ rm -rf ${D}${datadir}/applications
+}
+# offer alternate bluetooth-sendto
+RRECOMMENS:${PN} += "gnome-bluetooth4"
+
RDEPENDS:${PN} += "bluez5"