From 472b2ca3f5b57ac577e0ba7f6080ef0f131ec77f Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 27 Nov 2006 06:38:24 +0000 Subject: ~x86 keyword, patch to build without jack Package-Manager: portage-2.1.2_rc2-r2 --- .../traverso/files/traverso-0.30.1-nojack.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 media-sound/traverso/files/traverso-0.30.1-nojack.patch (limited to 'media-sound/traverso/files') diff --git a/media-sound/traverso/files/traverso-0.30.1-nojack.patch b/media-sound/traverso/files/traverso-0.30.1-nojack.patch new file mode 100644 index 000000000000..315d0ace9cea --- /dev/null +++ b/media-sound/traverso/files/traverso-0.30.1-nojack.patch @@ -0,0 +1,54 @@ +--- traverso-0.30.1/src/engine/engine.pro.old 2006-11-27 07:16:26.000000000 +0100 ++++ traverso-0.30.1/src/engine/engine.pro 2006-11-27 07:18:39.000000000 +0100 +@@ -19,8 +19,6 @@ + AudioBus.h \ + AudioDeviceThread.h \ + Client.h \ +- AlsaDriver.h \ +- JackDriver.h \ + AudioChannel.h \ + Driver.h \ + memops.h \ +@@ -33,13 +31,16 @@ + AudioBus.cpp \ + AudioDeviceThread.cpp \ + Client.cpp \ +- AlsaDriver.cpp \ +- JackDriver.cpp \ + Driver.cpp \ + AudioChannel.cpp \ + memops.cpp \ + AudioPlugin.cpp + ++contains(DEFINES, ALSA_SUPPORT):SOURCES += AlsaDriver.cpp ++contains(DEFINES, ALSA_SUPPORT):HEADERS += AlsaDriver.h ++contains(DEFINES, JACK_SUPPORT):SOURCES += JackDriver.cpp ++contains(DEFINES, JACK_SUPPORT):HEADERS += JackDriver.h ++ + unix { + contains(DEFINES, SSE_OPTIMIZATIONS):SOURCES += sse_functions.s + } +--- traverso-0.30.1/src/engine/AudioDevice.cpp.old 2006-11-27 07:10:12.000000000 +0100 ++++ traverso-0.30.1/src/engine/AudioDevice.cpp 2006-11-27 07:11:15.000000000 +0100 +@@ -27,7 +27,10 @@ + #include "AlsaDriver.h" + #endif + ++#if defined (JACK_SUPPORT) + #include "JackDriver.h" ++#endif ++ + #include "Driver.h" + #include "Client.h" + #include "AudioChannel.h" +@@ -398,8 +401,10 @@ + + trav_time_t AudioDevice::get_cpu_time( ) + { ++#if defined (JACK_SUPPORT) + if (driver && m_driverType == "Jack") + return ((JackDriver*)driver)->get_cpu_load(); ++#endif + + trav_time_t currentTime = get_microseconds(); + float totaltime = 0; -- cgit v1.2.3-65-gdbad