Skip to contentSkip to conversation

New package: bluez-utils

PATCH New Yegor Yefremov 2 participants 2 messages Aug 30, 2011 – Sep 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 New package: bluez-utils

Bluetooth utils often used in embedded system, add it to package.

---
v2: added option to select audio, USB and compat support

 package/Config.in                  |    1 
 package/bluez_utils/Config.in      |   34 +++++++++++++++++++++++++++
 package/bluez_utils/bluez_utils.mk |   46 +++++++++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+)
 create mode 100644 package/bluez_utils/Config.in
 create mode 100644 package/bluez_utils/bluez_utils.mk
package/Config.in +1 -0
Index: b/package/Config.in
===================================================================
@@ -386,6 +386,7 @@
 source "package/argus/Config.in"
 source "package/avahi/Config.in"
 source "package/axel/Config.in"
+source "package/bluez_utils/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/boa/Config.in"
 endif
package/bluez_utils/Config.in new file +34 -0
Index: b/package/bluez_utils/Config.in
===================================================================
@@ -0,0 +1,34 @@
+config BR2_PACKAGE_BLUEZ_UTILS
+	bool "bluez-utils"
+	depends on BR2_USE_WCHAR # libglib2
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LIBGLIB2
+	help
+	  bluez utils
+
+	  http://www.kernel.org/pub/linux/bluetooth
+
+if BR2_PACKAGE_BLUEZ_UTILS
+
+config BR2_PACKAGE_BLUEZ_UTILS_COMPAT
+	bool "BlueZ 3.x compatibility binaries"
+	help
+	  BlueZ 3.x compatibility binaries like pand, hidd, sdp
+
+config BR2_PACKAGE_BLUEZ_UTILS_AUDIO
+	bool "audio support"
+	select BR2_PACKAGE_ALSA_LIB
+	select BR2_PACKAGE_LIBSNDFILE
+	help
+	  Audio support
+
+config BR2_PACKAGE_BLUEZ_UTILS_USB
+	bool "USB support"
+	select BR2_PACKAGE_LIBUSB
+	help
+	  USB support
+
+endif
+
+comment "bluez-utils require a toolchain with WCHAR support"
+	depends on !(BR2_USE_WCHAR)
package/bluez_utils/bluez_utils.mk new file +46 -0

46 lines not on this page · raw message

#1 lore raw

PATCH v2 1/1 New package: bluez-utils

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Yegor> Bluetooth utils often used in embedded system, add it to package.

Committed with a minor fix, thanks.

Yegor> +config BR2_PACKAGE_BLUEZ_UTILS
Yegor> + bool "bluez-utils"
Yegor> + depends on BR2_USE_WCHAR # libglib2
Yegor> + select BR2_PACKAGE_DBUS

DBUS depends on expat/libxml2 so I added

select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2

Signature · 1 line
Bye, Peter Korsgaard