summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 2506e4141b..37621e058a 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -7,11 +7,9 @@ LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \
7 file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 7 file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://src/modules/bluetooth/proximity-helper.c;beginline=1;endline=25;md5=e4cc710e40a4d900c2c294167bc58270 \ 8 file://src/modules/bluetooth/proximity-helper.c;beginline=1;endline=25;md5=e4cc710e40a4d900c2c294167bc58270 \
9 file://src/pulsecore/resampler.h;beginline=4;endline=23;md5=c3d539b93f8c82a1780bfa3cfa544a95" 9 file://src/pulsecore/resampler.h;beginline=4;endline=23;md5=c3d539b93f8c82a1780bfa3cfa544a95"
10DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool \ 10DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool"
11 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxtst libice libsm libxcb gtk+', '', d)}"
12# optional 11# optional
13DEPENDS += "udev alsa-lib glib-2.0 dbus gconf \ 12DEPENDS += "udev alsa-lib glib-2.0 dbus gconf"
14 ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4 sbc', '', d)}"
15 13
16SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \ 14SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \
17 file://gcc4-compile-fix.patch \ 15 file://gcc4-compile-fix.patch \
@@ -25,9 +23,7 @@ USE_NLS = "yes"
25 23
26EXTRA_OECONF = "\ 24EXTRA_OECONF = "\
27 --disable-lynx \ 25 --disable-lynx \
28 ${@base_contains('DISTRO_FEATURES', 'bluetooth', '--enable-bluez', '--disable-bluez', d)} \
29 --disable-polkit \ 26 --disable-polkit \
30 ${@base_contains('DISTRO_FEATURES', 'x11', '--enable-x11', '--disable-x11 --disable-gtk2', d)} \
31 --without-jack \ 27 --without-jack \
32 --with-glib \ 28 --with-glib \
33 --with-alsa \ 29 --with-alsa \
@@ -44,6 +40,12 @@ EXTRA_OECONF = "\
44 ac_cv_header_valgrind_memcheck_h=no \ 40 ac_cv_header_valgrind_memcheck_h=no \
45" 41"
46 42
43PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
44 ${@base_contains('DISTRO_FEATURES', 'x11', 'gtk x11', '', d)}"
45PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4 sbc"
46PACKAGECONFIG[gtk] = "--enable-gtk2,--disable-gtk2,gtk+"
47PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb"
48
47EXTRA_OECONF_append_arm += "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "--enable-neon-opt=no", d)}" 49EXTRA_OECONF_append_arm += "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "--enable-neon-opt=no", d)}"
48 50
49PARALLEL_MAKE = "" 51PARALLEL_MAKE = ""