Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 28 Lines | |||||
29 | option(K3B_DEBUG "K3b additional debugging support" OFF) | 29 | option(K3B_DEBUG "K3b additional debugging support" OFF) | ||
30 | if(K3B_DEBUG) | 30 | if(K3B_DEBUG) | ||
31 | add_definitions(-g) | 31 | add_definitions(-g) | ||
32 | endif() | 32 | endif() | ||
33 | option(K3B_ENABLE_MUSICBRAINZ "Support for querying metadata about audio tracks from Musicbrainz." ON) | 33 | option(K3B_ENABLE_MUSICBRAINZ "Support for querying metadata about audio tracks from Musicbrainz." ON) | ||
34 | option(K3B_ENABLE_DVD_RIPPING "Support for ripping Video DVDs with optional decryption." ON) | 34 | option(K3B_ENABLE_DVD_RIPPING "Support for ripping Video DVDs with optional decryption." ON) | ||
35 | option(K3B_ENABLE_TAGLIB "Support for reading audio file metadata using Taglib." ON) | 35 | option(K3B_ENABLE_TAGLIB "Support for reading audio file metadata using Taglib." ON) | ||
36 | option(K3B_BUILD_API_DOCS "Build the API documentation for the K3b libs." OFF) | 36 | option(K3B_BUILD_API_DOCS "Build the API documentation for the K3b libs." OFF) | ||
37 | option(K3B_ENABLE_PERMISSION_HELPER "Build the permissions helper program" OFF) | | |||
38 | 37 | | |||
39 | # plugin options | 38 | # plugin options | ||
40 | option(K3B_BUILD_FFMPEG_DECODER_PLUGIN "Build FFmpeg decoder plugin" ON) | 39 | option(K3B_BUILD_FFMPEG_DECODER_PLUGIN "Build FFmpeg decoder plugin" ON) | ||
41 | option(K3B_BUILD_OGGVORBIS_DECODER_PLUGIN "Build Ogg-Vorbis decoder plugin" ON) | 40 | option(K3B_BUILD_OGGVORBIS_DECODER_PLUGIN "Build Ogg-Vorbis decoder plugin" ON) | ||
42 | option(K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN "Build Ogg-Vorbis encoder plugin" ON) | 41 | option(K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN "Build Ogg-Vorbis encoder plugin" ON) | ||
43 | option(K3B_BUILD_MAD_DECODER_PLUGIN "Build MAD mp3 decoder plugin" ON) | 42 | option(K3B_BUILD_MAD_DECODER_PLUGIN "Build MAD mp3 decoder plugin" ON) | ||
44 | option(K3B_BUILD_MUSE_DECODER_PLUGIN "Build Musepack decoder plugin" ON) | 43 | option(K3B_BUILD_MUSE_DECODER_PLUGIN "Build Musepack decoder plugin" ON) | ||
45 | option(K3B_BUILD_FLAC_DECODER_PLUGIN "Build Flac decoder plugin" ON) | 44 | option(K3B_BUILD_FLAC_DECODER_PLUGIN "Build Flac decoder plugin" ON) | ||
▲ Show 20 Lines • Show All 220 Lines • ▼ Show 20 Line(s) | |||||
266 | include(ConfigureChecks) | 265 | include(ConfigureChecks) | ||
267 | 266 | | |||
268 | set(BUILD_WAVE_DECODER_PLUGIN "${K3B_BUILD_WAVE_DECODER_PLUGIN}") | 267 | set(BUILD_WAVE_DECODER_PLUGIN "${K3B_BUILD_WAVE_DECODER_PLUGIN}") | ||
269 | set(BUILD_SOX_ENCODER_PLUGIN "${K3B_BUILD_SOX_ENCODER_PLUGIN}") | 268 | set(BUILD_SOX_ENCODER_PLUGIN "${K3B_BUILD_SOX_ENCODER_PLUGIN}") | ||
270 | set(BUILD_EXTERNAL_ENCODER_PLUGIN "${K3B_BUILD_EXTERNAL_ENCODER_PLUGIN}") | 269 | set(BUILD_EXTERNAL_ENCODER_PLUGIN "${K3B_BUILD_EXTERNAL_ENCODER_PLUGIN}") | ||
271 | 270 | | |||
272 | set(ENABLE_HAL_SUPPORT "${K3B_ENABLE_HAL_SUPPORT}") | 271 | set(ENABLE_HAL_SUPPORT "${K3B_ENABLE_HAL_SUPPORT}") | ||
273 | set(ENABLE_AUDIO_PLAYER "${QT_QTMULTIMEDIA_FOUND}") | 272 | set(ENABLE_AUDIO_PLAYER "${QT_QTMULTIMEDIA_FOUND}") | ||
274 | set(ENABLE_PERMISSION_HELPER "${K3B_ENABLE_PERMISSION_HELPER}") | | |||
275 | 273 | | |||
276 | if(IS_ABSOLUTE ${DATA_INSTALL_DIR}) | 274 | if(IS_ABSOLUTE ${DATA_INSTALL_DIR}) | ||
277 | set(K3B_DATA_INSTALL_DIR ${DATA_INSTALL_DIR}/k3b) | 275 | set(K3B_DATA_INSTALL_DIR ${DATA_INSTALL_DIR}/k3b) | ||
278 | else() | 276 | else() | ||
279 | set(K3B_DATA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/k3b) | 277 | set(K3B_DATA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/k3b) | ||
280 | endif() | 278 | endif() | ||
281 | 279 | | |||
282 | configure_file(config-k3b.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-k3b.h) | 280 | configure_file(config-k3b.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-k3b.h) | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |