From 0693711b0af09cd9677aa2278c398dc39e3392b8 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 28 Aug 2014 17:00:33 -0400 Subject: [PATCH] Make it possible to disable ALSA and PulseAudio in qtbase. (#12518) Cherry-picked configure script changes from upstream Qt5.3. --- src/qt/qtbase/configure | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/qt/qtbase/configure b/src/qt/qtbase/configure index 590a33cc..5a5f9d15 100755 --- a/src/qt/qtbase/configure +++ b/src/qt/qtbase/configure @@ -1803,6 +1803,20 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; + pulseaudio) + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_PULSEAUDIO="$VAL" + else + UNKNOWN_OPT=yes + fi + ;; + alsa) + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_ALSA="$VAL" + else + UNKNOWN_OPT=yes + fi + ;; gtkstyle) if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then CFG_QGTKSTYLE="$VAL" @@ -2367,6 +2381,15 @@ Third Party Libraries: -no-glib ........... Do not compile Glib support. + -glib .............. Compile Glib support. + -no-pulseaudio ..... Do not compile PulseAudio support. + + -pulseaudio ........ Compile PulseAudio support. + + -no-alsa ........... Do not compile ALSA support. + + -alsa .............. Compile ALSA support. + + -no-gtkstyle ....... Do not compile GTK theme support. + + -gtkstyle .......... Compile GTK theme support. + Additional options: -make ....... Add part to the list of parts to be built at make time.