summaryrefslogtreecommitdiffstats
path: root/audio-libs/stk/02-realtime.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/stk/02-realtime.patch')
-rw-r--r--audio-libs/stk/02-realtime.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/audio-libs/stk/02-realtime.patch b/audio-libs/stk/02-realtime.patch
new file mode 100644
index 0000000000..ab409cce0a
--- /dev/null
+++ b/audio-libs/stk/02-realtime.patch
@@ -0,0 +1,49 @@
+Author: Pino Toscano <toscano.pino@tiscali.it>
+Description: Enable realtime support only on those architectures that
+ actually provide it.
+Forwarded: no
+---
+ Makefile.in | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- stk.orig/Makefile.in
++++ stk/Makefile.in
+@@ -2,30 +2,38 @@
+
+ RM = /bin/rm
+
++REALTIME = @realtime@
++
+ all :
+ cd src && $(MAKE)
+ cd projects/demo && $(MAKE) stk-demo
++ifeq ($(REALTIME),yes)
+ cd projects/effects && $(MAKE) libeffects
+ cd projects/ragamatic && $(MAKE) libragamat
+ cd projects/eguitar && $(MAKE) libeguitar
++endif
+ cd projects/examples && $(MAKE) -f libMakefile
+
+ clean :
+ $(RM) -f *~
+ cd src && $(MAKE) clean
+ cd projects/demo && $(MAKE) clean
++ifeq ($(REALTIME),yes)
+ cd projects/effects && $(MAKE) clean
+ cd projects/ragamatic && $(MAKE) clean
+ cd projects/eguitar && $(MAKE) clean
++endif
+ cd projects/examples && $(MAKE) clean
+
+ distclean: clean
+ $(RM) -rf config.log config.status autom4te.cache Makefile
+ cd src && $(MAKE) distclean
+ cd projects/demo && $(MAKE) distclean
++ifeq ($(REALTIME),yes)
+ cd projects/effects && $(MAKE) distclean
+ cd projects/ragamatic && $(MAKE) distclean
+ cd projects/eguitar && $(MAKE) distclean
++endif
+ cd projects/examples && $(MAKE) distclean
+
+ install: