[oe] [meta-gnome][RFC 07/10] gnome-bluetooth: switch to virtual/bluez

Peter A. Bigot pab at pabigot.com
Mon Nov 10 21:16:26 UTC 2014


Signed-off-by: Peter A. Bigot <pab at pabigot.com>
---
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
index 4fd38a0..1f619cd 100644
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
 PR = "r1"
 
 SECTION = "x11/gnome"
-DEPENDS = "obexd gnome-doc-utils-native gnome-doc-utils gconf gtk+ dbus-glib libunique libnotify bluez4 gnome-keyring virtual/libx11 libxi intltool-native"
+DEPENDS = "${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/bluez', 'bluez5', 'bluez5', 'obexd obex-data-server', d)} \
+    gnome-doc-utils-native gnome-doc-utils gconf gtk+ dbus-glib libunique libnotify virtual/bluez gnome-keyring virtual/libx11 libxi intltool-native"
 
 inherit gnomebase gtk-icon-cache
 
@@ -28,6 +29,6 @@ do_configure_append() {
     sed -i 's,func_fatal_error "error: cannot install,echo "bogus message about,' ${HOST_SYS}-libtool
 }
 
-RRECOMMENDS_${PN} += "obexd obex-data-server"
+RRECOMMENDS_${PN} += "${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/bluez', 'bluez5', 'bluez5-obex', 'obexd obex-data-server', d)}"
 
 FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
-- 
1.8.5.5




More information about the Openembedded-devel mailing list