gnome-bluetooth: rename recipes to avoid suffix in future

We have two gnome-bluetooths:

* 3.34.5: This will deprecate so add suffix and name it gnome-bluetooth3
* 42.0: This is the future of gnome-bluetooth so name it as such

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-13 00:26:37 +02:00 committed by Khem Raj
parent 6f5d694d9c
commit a89b57aa45
7 changed files with 14 additions and 11 deletions

View File

@ -8,6 +8,9 @@ SECTION = "x11/gnome"
DEPENDS = "udev gtk+3 libnotify libcanberra bluez5"
GNOMEBN = "gnome-bluetooth"
S = "${WORKDIR}/${GNOMEBN}-${PV}"
GNOMEBASEBUILDCLASS = "meson"
GTKDOC_MESON_OPTION = "gtk_doc"
@ -22,13 +25,16 @@ 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
# avoid clashes with gnome-bluetooth
do_install:append() {
# just bluetooth-sendto / bluetooth-sendto.desktop only
rm -rf ${D}${bindir}
rm -rf ${D}${datadir}/applications
}
FILES:${PN} += "${datadir}/gnome-bluetooth"
# offer alternate bluetooth-sendto
RRECOMMENS:${PN} += "gnome-bluetooth4"
RRECOMMENS:${PN} += "gnome-bluetooth"
RDEPENDS:${PN} += "bluez5"

View File

@ -18,9 +18,6 @@ DEPENDS = " \
libadwaita \
"
GNOMEBN = "gnome-bluetooth"
S = "${WORKDIR}/${GNOMEBN}-${PV}"
GNOMEBASEBUILDCLASS = "meson"
GTKDOC_MESON_OPTION = "gtk_doc"
GTKIC_VERSION = "4"
@ -31,6 +28,6 @@ REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[archive.sha256sum] = "3d1e2720673bc9a242619dc5d231fd6e776c18a49da29f43cdc433055adb0170"
RDEPENDS:${PN} += "bluez5"
FILES:${PN} += "${datadir}/gnome-bluetooth-3.0"
RDEPENDS:${PN} += "bluez5"

View File

@ -21,7 +21,7 @@ DEPENDS = " \
gnome-desktop \
gnome-online-accounts \
libnma \
gnome-bluetooth4 \
gnome-bluetooth \
grilo \
libgtop \
gsound \

View File

@ -14,7 +14,7 @@ DEPENDS += " \
metacity \
gdm \
gnome-desktop \
gnome-bluetooth \
gnome-bluetooth3 \
gnome-panel \
"

View File

@ -35,7 +35,7 @@ SRC_URI[archive.sha256sum] = "33d404fb3c93b9de42984f0110a2969d6a4a7247c27fe7f5e2
SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth4"
PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false, networkmanager"
PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"

View File

@ -14,7 +14,7 @@ RDEPENDS:${PN} = " \
adwaita-icon-theme-cursors \
evolution-data-server \
gnome-backgrounds \
gnome-bluetooth4 \
gnome-bluetooth \
gnome-control-center \
gnome-desktop \
gnome-flashback \