Browse Source

Final OSX build fixes

tags/1.9.6
falkTX 9 years ago
parent
commit
a798739474
4 changed files with 7 additions and 11 deletions
  1. +3
    -5
      data/macos/build.sh
  2. +4
    -4
      source/discovery/Makefile
  3. +0
    -1
      source/native-plugins/resources/carla_patchbay.py
  4. +0
    -1
      source/native-plugins/resources/carla_rack.py

+ 3
- 5
data/macos/build.sh View File

@@ -27,7 +27,6 @@ export LDLAGS=-m64
export PATH=/opt/carla/bin:/opt/carla64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
export PKG_CONFIG_PATH=/opt/carla/lib/pkgconfig:/opt/carla64/lib/pkgconfig

make clean
make $JOBS

##############################################################################################
@@ -52,12 +51,11 @@ unset CXXFLAGS
unset LDLAGS
unset PKG_CONFIG_PATH

rm -rf ./build
rm -rf ./build/Carla
rm -rf ./build/exe.*
rm -rf ./build-lv2
rm -f bin/carla-bridge-lv2-qt5 bin/carla.lv2/carla-bridge-lv2-qt5

mkdir build

cp ./source/carla ./source/Carla.pyw
cp ./bin/resources/carla-plugin ./source/carla-plugin.pyw
cp ./bin/resources/bigmeter-ui ./source/bigmeter-ui.pyw
@@ -92,7 +90,7 @@ install_name_tool -change "/opt/carla/lib/QtWidgets.framework/Versions/5/QtWidge
cd ../../../../..

cp build/carla-plugin.app/Contents/MacOS/carla-plugin build/Carla.app/Contents/MacOS/resources/
cp build/carla-plugin.app/Contents/MacOS/fcntl.so build/Carla.app/Contents/MacOS/resources/
cp build/carla-plugin.app/Contents/MacOS/fcntl.so build/Carla.app/Contents/MacOS/resources/ || true
cp build/bigmeter-ui.app/Contents/MacOS/bigmeter-ui build/Carla.app/Contents/MacOS/resources/
cp build/notes-ui.app/Contents/MacOS/notes-ui build/Carla.app/Contents/MacOS/resources/
rm -rf build/carla-plugin.app build/bigmeter-ui.app build/notes-ui.app


+ 4
- 4
source/discovery/Makefile View File

@@ -175,22 +175,22 @@ $(BINDIR)/$(MODULENAME)-native.exe: $(OBJS_native) $(LIBS_native)
$(BINDIR)/$(MODULENAME)-posix32: $(OBJS_posix32) $(LIBS_posix32)
-@mkdir -p $(BINDIR)
@echo "Linking $(MODULENAME)-posix32"
@$(CXX) $< $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(32BIT_FLAGS) $(LINK_FLAGS) -o $@
@$(CXX) $< $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@

$(BINDIR)/$(MODULENAME)-posix64: $(OBJS_posix64) $(LIBS_posix64)
-@mkdir -p $(BINDIR)
@echo "Linking $(MODULENAME)-posix64"
@$(CXX) $< $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(64BIT_FLAGS) $(LINK_FLAGS) -o $@
@$(CXX) $< $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@

$(BINDIR)/$(MODULENAME)-win32.exe: $(OBJS_win32) $(LIBS_win32)
-@mkdir -p $(BINDIR)
@echo "Linking $(MODULENAME)-win32.exe"
@$(CXX) $< $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(32BIT_FLAGS) $(LINK_FLAGS) -o $@
@$(CXX) $< $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@

$(BINDIR)/$(MODULENAME)-win64.exe: $(OBJS_win64) $(LIBS_win64)
-@mkdir -p $(BINDIR)
@echo "Linking $(MODULENAME)-win64.exe"
@$(CXX) $< $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(64BIT_FLAGS) $(LINK_FLAGS) -o $@
@$(CXX) $< $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@

# ----------------------------------------------------------------------------------------------------------------------------



+ 0
- 1
source/native-plugins/resources/carla_patchbay.py View File

@@ -1 +0,0 @@
/home/falktx/Source/Carla/source/carla_patchbay.py

+ 0
- 1
source/native-plugins/resources/carla_rack.py View File

@@ -1 +0,0 @@
/home/falktx/Source/Carla/source/carla_rack.py

Loading…
Cancel
Save