diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-02-28 17:36:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 16:22:48 +0000 |
commit | 01954b9c65c979e03b7f07ab30889ceb20ed0d05 (patch) | |
tree | e8f03b402cef1271f117667161e128d8c8f71768 /meta/recipes-qt/qt4/qt-4.7.4 | |
parent | 2b918b623bf8add454c3726dd4ee189230e6fcbc (diff) | |
download | poky-01954b9c65c979e03b7f07ab30889ceb20ed0d05.tar.gz |
qt4: make pulseaudio support conditional upon DISTRO_FEATURES
Add a pulseaudio DISTRO_FEATURES item and disable pulseaudio support in
phonon within Qt4 if it is not present; otherwise it is a race condition
as to whether it is enabled or disabled or breaks the build.
Note that this adds pulseaudio to DISTRO_FEATURES_BACKFILL thus leaving
existing distro configurations unaffected.
(From OE-Core rev: b82c216c1ee8e2a009e87856b7adad08f7f50482)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.7.4')
-rw-r--r-- | meta/recipes-qt/qt4/qt-4.7.4/pulseaudio-config.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.7.4/pulseaudio-config.patch b/meta/recipes-qt/qt4/qt-4.7.4/pulseaudio-config.patch new file mode 100644 index 0000000000..bbdc8bfe37 --- /dev/null +++ b/meta/recipes-qt/qt4/qt-4.7.4/pulseaudio-config.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 85f9264773407f2bf8d0495c9fc8bd83683ab2f0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 23 Nov 2011 14:36:10 +0000 | ||
4 | Subject: [PATCH] configure: make pulseaudio a configurable option | ||
5 | |||
6 | Allows disabling pulseaudio support within phonon at configure time. | ||
7 | (This is the Qt 4.7.4 version.) | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
12 | --- | ||
13 | configure | 9 ++++++++- | ||
14 | 1 files changed, 8 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/configure b/configure | ||
17 | index 3b7a1f3..7616fd3 100755 | ||
18 | --- a/configure | ||
19 | +++ b/configure | ||
20 | @@ -941,7 +941,7 @@ while [ "$#" -gt 0 ]; do | ||
21 | VAL=no | ||
22 | ;; | ||
23 | #Qt style yes options | ||
24 | - -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles) | ||
25 | + -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-pulseaudio|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles) | ||
26 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
27 | VAL=yes | ||
28 | ;; | ||
29 | @@ -1863,6 +1863,13 @@ while [ "$#" -gt 0 ]; do | ||
30 | UNKNOWN_OPT=yes | ||
31 | fi | ||
32 | ;; | ||
33 | + pulseaudio) | ||
34 | + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
35 | + CFG_PULSEAUDIO="$VAL" | ||
36 | + else | ||
37 | + UNKNOWN_OPT=yes | ||
38 | + fi | ||
39 | + ;; | ||
40 | gtkstyle) | ||
41 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
42 | CFG_QGTKSTYLE="$VAL" | ||
43 | -- | ||
44 | 1.7.5.4 | ||
45 | |||