diff options
Diffstat (limited to 'multimedia/kdemultimedia4/files/extrapatch-no_alsa')
-rw-r--r-- | multimedia/kdemultimedia4/files/extrapatch-no_alsa | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia4/files/extrapatch-no_alsa b/multimedia/kdemultimedia4/files/extrapatch-no_alsa new file mode 100644 index 0000000..fdb9b46 --- /dev/null +++ b/multimedia/kdemultimedia4/files/extrapatch-no_alsa @@ -0,0 +1,40 @@ +--- ./CMakeLists.txt.orig 2012-05-13 11:39:57.594807250 +0200 ++++ ./CMakeLists.txt 2012-05-13 11:40:43.204991538 +0200 +@@ -6,7 +6,6 @@ + find_package(KDE4 REQUIRED) + include(KDE4Defaults) + include(MacroLibrary) +-find_package(Alsa) + + set(PULSEAUDIO_MINIMUM_VERSION "0.9.12") + macro_optional_find_package(PulseAudio) +@@ -15,7 +14,8 @@ + macro_optional_find_package(MusicBrainz3) + macro_log_feature(MUSICBRAINZ3_FOUND "MusicBrainz3" "A library that provides access to metadata lookup on the MusicBrainz server" "http://www.musicbrainz.org" FALSE "" "Music metadata lookup for KDE multimedia applications. You need version 3.x of libmusicbrainz, otherwise kscd will not be compiled.") + +-alsa_configure_file(${CMAKE_BINARY_DIR}/config-alsa.h) ++find_file(CONFIG_ALSA_H_CMAKE config-alsa.h.cmake ${CMAKE_MODULE_PATH}) ++configure_file(${CONFIG_ALSA_H_CMAKE} ${CMAKE_BINARY_DIR}/config-alsa.h) + + macro_optional_find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT SWSCALE) + macro_log_feature(FFMPEG_FOUND "FFmpeg" "FFmpeg libraries" "FFmpeg" FALSE "http://www.ffmpeg.org" "FFmpeg required for FFMpegVideoPreview backend") +--- ./kmix/CMakeLists.txt.orig 2012-05-13 11:40:48.034926108 +0200 ++++ ./kmix/CMakeLists.txt 2012-05-13 11:41:22.134856828 +0200 +@@ -4,7 +4,6 @@ + include(KDE4Defaults) + include(MacroLibrary) + +-find_package(Alsa) + + macro_optional_find_package(PulseAudio "0.9.12") + macro_log_feature(PULSEAUDIO_FOUND "PulseAudio" "PulseAudio Audio Server" "http://www.pulseaudio.org/" FALSE "0.9.12" "libpulse is needed to let KMix control PulseAudio") +@@ -12,7 +11,8 @@ + pkg_check_modules(CANBERRA libcanberra) + macro_log_feature(CANBERRA_FOUND "libcanberra" "libcanberra audio library" "http://0pointer.de/lennart/projects/libcanberra/" FALSE "" "libcanberra is needed for kmix sound feedback") + +-alsa_configure_file(${CMAKE_BINARY_DIR}/config-alsa.h) ++find_file(CONFIG_ALSA_H_CMAKE config-alsa.h.cmake ${CMAKE_MODULE_PATH}) ++configure_file(${CONFIG_ALSA_H_CMAKE} ${CMAKE_BINARY_DIR}/config-alsa.h) + + + add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} ) |