summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch')
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch b/meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch
new file mode 100644
index 0000000000..0992efaddc
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-4.8.1/pulseaudio-config.patch
@@ -0,0 +1,45 @@
1From 677f5b4bec03972c8cada19d2e4530252c9ac4ef Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 28 Feb 2012 15:10:24 +0000
4Subject: [PATCH] configure: make pulseaudio a configurable option
5
6Allows disabling pulseaudio support within phonon at configure time.
7(This is the Qt 4.8.0 version.)
8
9Upstream-Status: Pending
10
11Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12---
13 configure | 9 ++++++++-
14 1 files changed, 8 insertions(+), 1 deletions(-)
15
16diff --git a/configure b/configure
17index 5a5ef1d..e43b920 100755
18--- a/configure
19+++ b/configure
20@@ -1043,7 +1043,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|-harfbuzz|-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|-icu)
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|-harfbuzz|-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|-icu)
26 VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
27 VAL=yes
28 ;;
29@@ -2000,6 +2000,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--
441.7.5.4
45