summaryrefslogtreecommitdiff
path: root/meta/packages/bluez
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-15 10:21:02 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-15 10:21:02 +0000
commitc419af6b0a86fbd2d06c0eeb3a874fe3fe2bc3bf (patch)
tree23b3c3ad5b068ee1d101c89cd7b32d3487b0d279 /meta/packages/bluez
parentbbcc43d1d8346aadd39925730ab9f5d074ce6775 (diff)
downloadopenembedded-core-c419af6b0a86fbd2d06c0eeb3a874fe3fe2bc3bf.tar.gz
openembedded-core-c419af6b0a86fbd2d06c0eeb3a874fe3fe2bc3bf.tar.bz2
openembedded-core-c419af6b0a86fbd2d06c0eeb3a874fe3fe2bc3bf.tar.xz
openembedded-core-c419af6b0a86fbd2d06c0eeb3a874fe3fe2bc3bf.zip
bluez-utils: Add patch to allow disabling of hal in configure
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2875 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bluez')
-rw-r--r--meta/packages/bluez/bluez-utils/allow-no-hal.patch26
-rw-r--r--meta/packages/bluez/bluez-utils_3.18.bb4
2 files changed, 29 insertions, 1 deletions
diff --git a/meta/packages/bluez/bluez-utils/allow-no-hal.patch b/meta/packages/bluez/bluez-utils/allow-no-hal.patch
new file mode 100644
index 000000000..3350c80d6
--- /dev/null
+++ b/meta/packages/bluez/bluez-utils/allow-no-hal.patch
@@ -0,0 +1,26 @@
+---
+ configure.in | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+Index: bluez-utils-3.18/configure.in
+===================================================================
+--- bluez-utils-3.18.orig/configure.in 2007-09-02 17:40:57.000000000 +0100
++++ bluez-utils-3.18/configure.in 2007-10-15 11:45:01.000000000 +0100
+@@ -31,7 +31,16 @@ AC_PATH_ALSA
+ AC_PATH_GSTREAMER
+ AC_PATH_OPENOBEX
+ AC_PATH_OPENSYNC
+-AC_PATH_HAL
++
++AC_DEFUN([AC_PATH_HAL], [
++ PKG_CHECK_MODULES(HAL, hal >= 0.5.8, hal_found=yes, hal_found=no)
++])
++
++AC_SUBST(HAL_CFLAGS)
++AC_SUBST(HAL_LIBS)
++
++AM_CONDITIONAL(HAL, test "${hal_enable}" = "yes" && test "${hal_found}" = "yes")
++
+ AC_PATH_USB
+ AC_PATH_EXPAT
+ AC_PATH_INOTIFY
diff --git a/meta/packages/bluez/bluez-utils_3.18.bb b/meta/packages/bluez/bluez-utils_3.18.bb
index 3de342fa8..50004e3cb 100644
--- a/meta/packages/bluez/bluez-utils_3.18.bb
+++ b/meta/packages/bluez/bluez-utils_3.18.bb
@@ -1,11 +1,13 @@
require bluez-utils.inc
DEPENDS += "glib-2.0"
-PR = "r2"
+PR = "r3"
# ti patch doesn't apply, people using it should rediff it and send it upstream
#SRC_URI += "file://hciattach-ti-bts.patch;patch=1 "
+SRC_URI += "file://allow-no-hal.patch;patch=1 "
+
EXTRA_OECONF = " \
--enable-bccmd \
--enable-hid2hci \