Skip to content

Commit

Permalink
Build for MAC Arm; Upgrade to 2.0.2
Browse files Browse the repository at this point in the history
This fixes the stocaudio-module package to build for Mac ARM.

To update for Mac ARM in the VCV Rack library, if you would like to

1. Merge this change into your rack 2 branch
2. Go to VCVRack/library#597 and post the new version number (2.0.2) and
   git hash (whatever the hash is post merge)

Hope this is helpful!

Thanks
  • Loading branch information
baconpaul committed Mar 21, 2024
1 parent ed5c85b commit f4234eb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.DS_Store
build/
standalone/bld/*
dist/
plugin.dylib
plugin-arm64.dylib
plugin.so
plugin.dll
standalone/exe_*
pynb/.ipynb_checkpoints/*
src/#*
src/.#*
.idea
dep/
cmake-build*
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,9 @@ DISTRIBUTABLES += res
DISTRIBUTABLES += $(wildcard LICENSE*)

# Static libs
libsamplerate := dep/lib/libsamplerate.a
OBJECTS += $(libsamplerate)

# Dependencies
DEP_LOCAL := dep
DEPS += $(libsamplerate)

$(libsamplerate):
cd dep && $(WGET) http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz
cd dep && $(UNTAR) libsamplerate-0.1.9.tar.gz
cd dep/libsamplerate-0.1.9 && $(CONFIGURE)
cd dep/libsamplerate-0.1.9/src && $(MAKE)
cd dep/libsamplerate-0.1.9/src && $(MAKE) install



Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slug": "stocaudio",
"name": "stocaudio",
"version": "2.0.1",
"version": "2.0.2",
"license": "GPL-3.0-or-later",
"author": "Alessandro Petrone",
"authorEmail": "[email protected]",
Expand Down

0 comments on commit f4234eb

Please sign in to comment.