Browse Source

Add rtaudio library to dist, remove JACK from Windows/Mac

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
f36647e14e
2 changed files with 6 additions and 2 deletions
  1. +2
    -0
      Makefile
  2. +4
    -2
      dep/Makefile

+ 2
- 0
Makefile View File

@@ -102,6 +102,7 @@ ifeq ($(ARCH), mac)
cp dep/lib/libzip.5.dylib $(BUNDLE)/Contents/MacOS/
cp dep/lib/libportaudio.2.dylib $(BUNDLE)/Contents/MacOS/
cp dep/lib/librtmidi.4.dylib $(BUNDLE)/Contents/MacOS/
cp dep/lib/librtaudio.6.dylib $(BUNDLE)/Contents/MacOS/

install_name_tool -change /usr/local/lib/libGLEW.2.1.0.dylib @executable_path/libGLEW.2.1.0.dylib $(BUNDLE)/Contents/MacOS/Rack
install_name_tool -change lib/libglfw.3.dylib @executable_path/libglfw.3.dylib $(BUNDLE)/Contents/MacOS/Rack
@@ -111,6 +112,7 @@ ifeq ($(ARCH), mac)
install_name_tool -change $(PWD)/dep/lib/libzip.5.dylib @executable_path/libzip.5.dylib $(BUNDLE)/Contents/MacOS/Rack
install_name_tool -change $(PWD)/dep/lib/libportaudio.2.dylib @executable_path/libportaudio.2.dylib $(BUNDLE)/Contents/MacOS/Rack
install_name_tool -change $(PWD)/dep/lib/librtmidi.4.dylib @executable_path/librtmidi.4.dylib $(BUNDLE)/Contents/MacOS/Rack
install_name_tool -change $(PWD)/dep/lib/librtaudio.6.dylib @executable_path/librtaudio.6.dylib $(BUNDLE)/Contents/MacOS/Rack

otool -L $(BUNDLE)/Contents/MacOS/Rack



+ 4
- 2
dep/Makefile View File

@@ -58,13 +58,15 @@ endif
# Library configuration
ifdef RTAUDIO_ALL_APIS
ifeq ($(ARCH),mac)
RTAUDIO_FLAGS = --with-core --with-jack
RTAUDIO_FLAGS = --with-core
#--with-jack
endif
ifeq ($(ARCH),win)
RTAUDIO_FLAGS = --with-asio --with-wasapi --with-ds
endif
ifeq ($(ARCH),lin)
RTAUDIO_FLAGS = --with-alsa --with-pulse --with-jack
RTAUDIO_FLAGS = --with-alsa --with-pulse
#--with-jack
endif
endif



Loading…
Cancel
Save