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>
This commit is contained in:
Andreas Müller
2022-04-12 08:54:37 +02:00
committed by Khem Raj
parent 2a14032c58
commit 7751b4bb14
@@ -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"