summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-11-27 06:38:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-11-27 06:38:24 +0000
commit472b2ca3f5b57ac577e0ba7f6080ef0f131ec77f (patch)
treea78448bb1c599341e9efe73726027a6fb63ced1d /media-sound/traverso/files
parenttreecleaner update jpeg-mmx (diff)
downloadhistorical-472b2ca3f5b57ac577e0ba7f6080ef0f131ec77f.tar.gz
historical-472b2ca3f5b57ac577e0ba7f6080ef0f131ec77f.tar.bz2
historical-472b2ca3f5b57ac577e0ba7f6080ef0f131ec77f.zip
~x86 keyword, patch to build without jack
Package-Manager: portage-2.1.2_rc2-r2
Diffstat (limited to 'media-sound/traverso/files')
-rw-r--r--media-sound/traverso/files/traverso-0.30.1-nojack.patch54
1 files changed, 54 insertions, 0 deletions
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;