aboutsummaryrefslogtreecommitdiff
path: root/audio/kmix/files/extrapatch-no_alsa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/kmix/files/extrapatch-no_alsa')
-rw-r--r--audio/kmix/files/extrapatch-no_alsa20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/kmix/files/extrapatch-no_alsa b/audio/kmix/files/extrapatch-no_alsa
new file mode 100644
index 000000000000..ccf4476743fd
--- /dev/null
+++ b/audio/kmix/files/extrapatch-no_alsa
@@ -0,0 +1,20 @@
+--- CMakeLists.txt~ 2012-06-29 17:55:35.000000000 -0300
++++ CMakeLists.txt 2012-06-29 17:56:25.000000000 -0300
+@@ -6,7 +6,7 @@
+ include(KDE4Defaults)
+ include(MacroLibrary)
+
+-find_package(Alsa)
++find_file(CONFIG_ALSA_H_CMAKE config-alsa.h.cmake ${CMAKE_MODULE_PATH})
+
+ 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")
+@@ -14,7 +14,7 @@
+ macro_optional_find_package(Canberra)
+ 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)
++configure_file(${CONFIG_ALSA_H_CMAKE} ${CMAKE_BINARY_DIR}/config-alsa.h)
+
+
+ add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} )