0018-configure-make-pulseaudio-a-configurable-option.patch 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. Allows disabling pulseaudio support within phonon at configure time.
  6. (This is the Qt 4.8.0 version.)
  7. Upstream-Status: Pending
  8. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
  9. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
  10. ---
  11. configure | 9 ++++++++-
  12. 1 file changed, 8 insertions(+), 1 deletion(-)
  13. diff --git a/configure b/configure
  14. index 7031898..a4a42f1 100755
  15. --- a/configure
  16. +++ b/configure
  17. @@ -1139,7 +1139,7 @@ while [ "$#" -gt 0 ]; do
  18. VAL=no
  19. ;;
  20. #Qt style yes options
  21. - -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)
  22. + -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)
  23. VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
  24. VAL=yes
  25. ;;
  26. @@ -2120,6 +2120,13 @@ while [ "$#" -gt 0 ]; do
  27. UNKNOWN_OPT=yes
  28. fi
  29. ;;
  30. + pulseaudio)
  31. + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
  32. + CFG_PULSEAUDIO="$VAL"
  33. + else
  34. + UNKNOWN_OPT=yes
  35. + fi
  36. + ;;
  37. gtkstyle)
  38. if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
  39. CFG_QGTKSTYLE="$VAL"
  40. --
  41. 1.8.0