diff options
author | Ross Burton <ross.burton@intel.com> | 2013-03-06 11:55:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-07 11:14:37 +0000 |
commit | e0e5763eb8e39c5c8f58e2b3e70ac12648b16de6 (patch) | |
tree | 8be94bb234c47c74a68af4109944ebb4a311f3b4 /meta/recipes-multimedia | |
parent | 1e6d0da8d5456d04c2354d37900a59d292bcd898 (diff) | |
download | poky-e0e5763eb8e39c5c8f58e2b3e70ac12648b16de6.tar.gz |
pulseaudio: rationalise existing configuration using PACKAGECONFIG
(From OE-Core rev: 4287440721bc692e8039ee775e6ee272e1349b3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 14 |
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" |
10 | DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool \ | 10 | DEPENDS = "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 |
13 | DEPENDS += "udev alsa-lib glib-2.0 dbus gconf \ | 12 | DEPENDS += "udev alsa-lib glib-2.0 dbus gconf" |
14 | ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4 sbc', '', d)}" | ||
15 | 13 | ||
16 | SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \ | 14 | SRC_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 | ||
26 | EXTRA_OECONF = "\ | 24 | EXTRA_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 | ||
43 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | ||
44 | ${@base_contains('DISTRO_FEATURES', 'x11', 'gtk x11', '', d)}" | ||
45 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4 sbc" | ||
46 | PACKAGECONFIG[gtk] = "--enable-gtk2,--disable-gtk2,gtk+" | ||
47 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb" | ||
48 | |||
47 | EXTRA_OECONF_append_arm += "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "--enable-neon-opt=no", d)}" | 49 | EXTRA_OECONF_append_arm += "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "--enable-neon-opt=no", d)}" |
48 | 50 | ||
49 | PARALLEL_MAKE = "" | 51 | PARALLEL_MAKE = "" |