summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe F. Tonello <eu@felipetonello.com>2013-07-16 18:03:47 -0700
committerSaul Wold <sgw@linux.intel.com>2013-07-18 12:21:13 -0700
commitdcb6d36b26359eb7672abd72fcb089bfa83459aa (patch)
tree39e05b8f530f0a12a2a52e4012900616e172c063
parentd509739ca54e6b70f2dcc216b831fc02c64293a6 (diff)
downloadopenembedded-core-dcb6d36b26359eb7672abd72fcb089bfa83459aa.tar.gz
openembedded-core-dcb6d36b26359eb7672abd72fcb089bfa83459aa.tar.bz2
openembedded-core-dcb6d36b26359eb7672abd72fcb089bfa83459aa.zip
pulseaudio: Removed avahi forced dependency
Only adds avahi dependency when zeroconf is in DISTRO_FEATURES. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Added missing '' in base_contains() Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 3f7c293273..d4f66e6ca8 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \
file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://src/modules/bluetooth/proximity-helper.c;beginline=1;endline=25;md5=e4cc710e40a4d900c2c294167bc58270 \
file://src/pulsecore/resampler.h;beginline=4;endline=23;md5=c3d539b93f8c82a1780bfa3cfa544a95"
-DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool"
+DEPENDS = "libatomics-ops liboil libsamplerate0 libsndfile1 libtool"
# optional
DEPENDS += "udev alsa-lib glib-2.0 dbus gconf"
@@ -43,11 +43,13 @@ EXTRA_OECONF = "\
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', 'gtk x11', '', d)}"
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4 sbc"
PACKAGECONFIG[gtk] = "--enable-gtk2,--disable-gtk2,gtk+"
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb"
+PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
EXTRA_OECONF_append_arm += "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "--enable-neon-opt=no", d)}"