mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES
If "bluetooth" is in DISTRO_FEATURES then enable bluetooth and depend on bluez4, otherwise disable it. (From OE-Core rev: f53d70bdeed989e031e06b8851a9706ff7ab9855) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a3a5e4cae0
commit
07e9877856
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \
|
||||
file://src/pulsecore/vector.h;beginline=1;endline=21;md5=1b561f0a2ca47b1fa49862a6ccaacff1"
|
||||
DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool virtual/libx11"
|
||||
# optional
|
||||
DEPENDS += "bluez4 udev alsa-lib glib-2.0 dbus consolekit"
|
||||
DEPENDS += "udev alsa-lib glib-2.0 dbus consolekit \
|
||||
${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)}"
|
||||
|
||||
SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \
|
||||
file://gcc4-compile-fix.patch \
|
||||
@@ -19,7 +20,7 @@ inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--disable-lynx \
|
||||
--enable-bluez \
|
||||
${@base_contains('DISTRO_FEATURES', 'bluetooth', '--enable-bluez', '--disable-bluez', d)} \
|
||||
--disable-polkit \
|
||||
--with-x \
|
||||
--without-jack \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require pulseaudio.inc
|
||||
|
||||
PR = "r6"
|
||||
PR = "r7"
|
||||
|
||||
DEPENDS += "gdbm speex"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require pulseaudio.inc
|
||||
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
DEPENDS += "gdbm speex"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user