Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 570588 | Differences between
and this patch

Collapse All | Expand All

(-)a/CMakeLists.txt (-11 / +16 lines)
Lines 77-82 option(BUILD_LAME "enable mp3 export" ON) # requires libmp3 Link Here
77
SET(JACK_LONGNAME "jack (jack audio connection kit)")
77
SET(JACK_LONGNAME "jack (jack audio connection kit)")
78
SET(JACK_MIN_VERSION "0.98.0")
78
SET(JACK_MIN_VERSION "0.98.0")
79
option(BUILD_JACK    "Build with support for ${JACK_LONGNAME}. jack >= ${JACK_MIN_VERSION} will be needed." ON)
79
option(BUILD_JACK    "Build with support for ${JACK_LONGNAME}. jack >= ${JACK_MIN_VERSION} will be needed." ON)
80
option(BUILD_PULSEAUDIO "Build with support for Pulseaudio." ON)
80
81
81
if (APPLE)
82
if (APPLE)
82
      set (CMAKE_CXX_COMPILER   clang++)
83
      set (CMAKE_CXX_COMPILER   clang++)
Lines 222-238 endif (APPLE OR MINGW) Link Here
222
## pulseaudio
223
## pulseaudio
223
##
224
##
224
225
225
if (APPLE OR MINGW)
226
if (BUILD_PULSEAUDIO)
226
      set (USE_PULSEAUDIO 0)
227
      if (APPLE OR MINGW)
227
else (APPLE OR MINGW)
228
            set (USE_PULSEAUDIO 0)
228
      if (PULSEAUDIO_FOUND)
229
      else (APPLE OR MINGW)
229
            set(USE_PULSEAUDIO 1)
230
            if (PULSEAUDIO_FOUND)
230
            message("Pulseaudio found.")
231
                  set(USE_PULSEAUDIO 1)
231
      else (PULSEAUDIO_FOUND)
232
                  message("Pulseaudio found.")
232
            set(USE_PULSEAUDIO 0)
233
            else (PULSEAUDIO_FOUND)
233
            message("Pulseaudio not found.")
234
                  set(USE_PULSEAUDIO 0)
234
      endif (PULSEAUDIO_FOUND)
235
                  message("Pulseaudio not found.")
235
endif (APPLE OR MINGW)
236
            endif (PULSEAUDIO_FOUND)
237
      endif (APPLE OR MINGW)
238
else (BUILD_PULSEAUDIO)
239
      message(STATUS "Pulseaudio support disabled.")
240
endif (BUILD_PULSEAUDIO)
236
241
237
##
242
##
238
## lame
243
## lame

Return to bug 570588