Patchwork [WIP,05/66] gnome-settings-daemon: add PACKAGECONFIG for pulseaudio

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 3:50 p.m.
Message ID <658edd05c2582f553c08fc4c515db4a5f8865289.1377791377.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/56893/
State Accepted, archived
Commit 98c271c92c2616242749488f1bf9af6af149f6d5
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 3:50 p.m.
* libcanberra is autodetected and dependency on it wasn't deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb              | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb
index 47baea6..a178185 100644
--- a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb
@@ -13,6 +13,9 @@  SRCREV = "0160f6725cfb872e017f3958f108792c3b882872"
 
 S = "${WORKDIR}/git"
 
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)"
+PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio glib-2.0 libcanberra"
+
 EXTRA_OECONF = "--disable-esd \
                 --x-includes=${STAGING_INCDIR} \
                 --x-libraries=${STAGING_LIBDIR} \