Compare commits

..

No commits in common. "defee25db77a20383f0fab4638c6cd7ed1b77fdf" and "43bd1eff3e4e269a2e70f77751076471cde5b951" have entirely different histories.

2 changed files with 13 additions and 16 deletions

View File

@ -52,7 +52,7 @@ Windows note: Some people are reporting problems with windows 11.
# Old/broken/spurious binaries # Old/broken/spurious binaries
* **Windows**: [samplebrain_0.18_win.zip](https://static.thentrythis.org/samplebrain/samplebrain_0.18_win.zip) * **Windows* *: [samplebrain_0.18_win.zip](https://static.thentrythis.org/samplebrain/samplebrain_0.18_win.zip)
* **Mac (intel)**: [samplebrain_0.18_macintel.zip](https://static.thentrythis.org/samplebrain/samplebrain_0.18_macintel.zip) * **Mac (intel)**: [samplebrain_0.18_macintel.zip](https://static.thentrythis.org/samplebrain/samplebrain_0.18_macintel.zip)
* **Mac (m1)**: [samplebrain_0.18_m1_v2.dmg](https://static.thentrythis.org/samplebrain/samplebrain_0.18_m1_v2.dmg) * **Mac (m1)**: [samplebrain_0.18_m1_v2.dmg](https://static.thentrythis.org/samplebrain/samplebrain_0.18_m1_v2.dmg)
@ -72,7 +72,7 @@ Install libraries for the sample engine (use brew on mac, MinGW on win):
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev $ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
Install dependencies for the interface: Install dependancies for the interface:
$ sudo apt install build-essential qtcreator qt5-default $ sudo apt install build-essential qtcreator qt5-default
@ -88,9 +88,9 @@ Build & run it:
## Mac ## Mac
Install libraries for sample engine: Install libraries for sample engine:
$ brew install fftw portaudio liblo libsndfile $ brew install fftw portaudio liblo
Install dependencies for the interface: Install dependancies for the interface:
$ brew install qt $ brew install qt
$ brew link qt $ brew link qt
@ -108,24 +108,22 @@ Build & run it:
To make a mac app bundle: To make a mac app bundle:
Run `macdeployqt` which copies all dependencies inside the app. Run `macdeployqt` to copy all dependencies inside the app.
Create Mac app bundle:
$ cd build $ cd build
$ macdeployqt $ macdeployqt
If the icon is not visible, you might need to copy desktop/samplebrain.icns (the icon) to the Resources directory in the app bundle. Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
$ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources $ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources
Then edit Info.plist to add samplebrain.icns to CFBundleIconFile. Key `CFBundleIconFile` should match: Edit Info.plist to add samplebrain.icns to CFBundleIconFile. Key `CFBundleIconFile` should match:
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>samplebrain.icns</string> <string>samplebrain.icns</string>
You might also need to resign the app bundle after making any changes
$ codesign --force --deep --sign - samplebrain.app
## What's here ## What's here
1. brain: 1. brain:

View File

@ -49,8 +49,7 @@ LIBS += -L.. -L/usr/local/lib -L/opt/homebrew/lib -lportaudio -lfftw3 -lsndfile
QMAKE_CXXFLAGS += -O3 -Wall -Wno-unused -std=c++11 QMAKE_CXXFLAGS += -O3 -Wall -Wno-unused -std=c++11
# assets # assets
RESOURCES = app/samplebrain.qrc RESOURCES = app/samplebrain.qrc
ICON = desktop/samplebrain.icns
PREFIX = $$(PREFIX) PREFIX = $$(PREFIX)
isEmpty(PREFIX) { isEmpty(PREFIX) {