Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From d6dc1a7d6594d7e395347732a3e553fc82ccab3d Mon Sep 17 00:00:00 2001 |
| 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 3 | Date: Tue, 28 Feb 2012 15:10:24 +0000 |
| 4 | Subject: [PATCH 18/21] configure: make pulseaudio a configurable option |
| 5 | |
| 6 | Allows disabling pulseaudio support within phonon at configure time. |
| 7 | (This is the Qt 4.8.0 version.) |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 13 | --- |
| 14 | configure | 9 ++++++++- |
| 15 | 1 file changed, 8 insertions(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/configure b/configure |
| 18 | index 7031898..a4a42f1 100755 |
| 19 | --- a/configure |
| 20 | +++ b/configure |
| 21 | @@ -1139,7 +1139,7 @@ while [ "$#" -gt 0 ]; do |
| 22 | VAL=no |
| 23 | ;; |
| 24 | #Qt style yes options |
| 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|-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 | + -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) |
| 27 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` |
| 28 | VAL=yes |
| 29 | ;; |
| 30 | @@ -2120,6 +2120,13 @@ while [ "$#" -gt 0 ]; do |
| 31 | UNKNOWN_OPT=yes |
| 32 | fi |
| 33 | ;; |
| 34 | + pulseaudio) |
| 35 | + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then |
| 36 | + CFG_PULSEAUDIO="$VAL" |
| 37 | + else |
| 38 | + UNKNOWN_OPT=yes |
| 39 | + fi |
| 40 | + ;; |
| 41 | gtkstyle) |
| 42 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then |
| 43 | CFG_QGTKSTYLE="$VAL" |
| 44 | -- |
| 45 | 1.8.0 |
| 46 | |