pulse: build hal-detect. Closes #3297
authorRobert Schuster <thebohemian@gmx.net>
Tue, 11 Dec 2007 13:51:34 +0000 (13:51 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 11 Dec 2007 13:51:34 +0000 (13:51 +0000)
Currently OE's pulseaudio recipe does not build pulseaudio's hal-detect module.
The attached patch adds hal to the dependencies and activates the configure
switch.
For what hal-detect is neccessary?
If you plug in a USB headset to your device a pulseaudio server with the
hal-detect module will automatically create a sink (and source) for the
headset. In theory this should also work for bluetooth devices but I don't have
the hardware to test that.

packages/pulseaudio/pulse.inc
packages/pulseaudio/pulseaudio_0.9.6.bb

index 08b0b5c..b6b622d 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.pulseaudio.org"
 AUTHOR = "Lennart Poettering"
 SECTION = "libs/multimedia"
 LICENSE = "LGPL"
-DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool"
+DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool hal"
 # optional
 DEPENDS += "alsa-lib glib-2.0"
 
@@ -20,6 +20,7 @@ EXTRA_OECONF = "\
                --with-glib \
                --with-alsa \
                --with-oss \
+                --with-hal \
                "
 
 PARALLEL_MAKE = ""