Skip to contentSkip to conversation

New package: bluez-utils

PATCH Superseded Yegor Yefremov 2 participants 3 messages Aug 24, 2011 – Aug 30, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New package: bluez-utils

userland tools and daemons for Bluetooth

---
 package/Config.in                  |    1 +
 package/bluez_utils/Config.in      |   12 ++++++++++++
 package/bluez_utils/bluez_utils.mk |   13 +++++++++++++
 3 files changed, 26 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 +12 -0
Index: b/package/bluez_utils/Config.in
===================================================================
@@ -0,0 +1,12 @@
+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
+
+comment "bluez-utils require a toolchain with WCHAR support"
+	depends on !(BR2_USE_WCHAR)
package/bluez_utils/bluez_utils.mk new file +13 -0
Index: b/package/bluez_utils/bluez_utils.mk
===================================================================
@@ -0,0 +1,13 @@
+#############################################################
+#
+# bluez_utils
+#
+#############################################################
+BLUEZ_UTILS_VERSION = 4.96
+BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.gz
+BLUEZ_UTILS_SITE = http://www.kernel.org/pub/linux/bluetooth/
+BLUEZ_UTILS_INSTALL_STAGING = YES
+BLUEZ_UTILS_DEPENDENCIES = dbus libglib2
+BLUEZ_UTILS_CONF_OPT = --enable-hidd --enable-test --enable-alsa
+
+$(eval $(call AUTOTARGETS,package,bluez_utils))
#1 lore raw

PATCH 1/1 New package: bluez-utils

Le Wed, 24 Aug 2011 10:35:23 +0200,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 1 line

+BLUEZ_UTILS_CONF_OPT = --enable-hidd --enable-test --enable-alsa

If it uses alsa, then maybe some dependency on alsa-lib is needed, no?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 New package: bluez-utils

Am 29.08.2011 14:33, schrieb Thomas Petazzoni:

Quoted 7 lines

Le Wed, 24 Aug 2011 10:35:23 +0200,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 1 line

+BLUEZ_UTILS_CONF_OPT = --enable-hidd --enable-test --enable-alsa

If it uses alsa, then maybe some dependency on alsa-lib is needed, no?

Thomas

You're right. I've added this and other dependencies.

Though I specify --enable-test, I still don't know and how it will be installed. Any idea?

Yegor