mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-05-12 02:27:21 +00:00
fix build instructions and add mac deps list
This commit is contained in:
parent
b965130cd9
commit
70a277afb8
46
README.md
46
README.md
@ -19,7 +19,7 @@ Quick start:
|
||||
1. Load a bunch of samples into the brain
|
||||
2. Click (re)generate brain
|
||||
3. Load a loop sample into the target
|
||||
4. Click (re)generate target
|
||||
4. Click (re)generate blocks
|
||||
5. Press play
|
||||
6. Tweak brain
|
||||
|
||||
@ -60,7 +60,7 @@ If you'd like the right font, optionally:
|
||||
$ sudo apt install ttf-mscorefonts-installer
|
||||
|
||||
# Building from source
|
||||
|
||||
## Linux (Ubuntu)
|
||||
Install libraries for the sample engine (use brew on mac, MinGW on win):
|
||||
|
||||
$ sudo apt install libsndfile1-dev portaudio19-dev liblo-dev libfftw3-dev
|
||||
@ -71,8 +71,28 @@ Install dependancies for the interface:
|
||||
|
||||
Build & run it:
|
||||
|
||||
$ cd app
|
||||
$ qmake
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ qmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
$ samplebrain
|
||||
|
||||
## Mac
|
||||
Install libraries for sample engine:
|
||||
|
||||
$ brew install fftw portaudio
|
||||
|
||||
Install dependancies for the interface:
|
||||
|
||||
$ brew install qt
|
||||
$ brew link qt
|
||||
|
||||
Build & run it:
|
||||
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ qmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
$ samplebrain
|
||||
@ -81,9 +101,21 @@ Build & run it:
|
||||
|
||||
To make a mac app bundle:
|
||||
|
||||
* Run `macdeployqt` to copy all dependancies inside the app.
|
||||
* Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
||||
* Edit Info.plist to add samplebrain.icns to CFBundleIconFile.
|
||||
Run `macdeployqt` to copy all dependencies inside the app.
|
||||
|
||||
Create Mac app bundle:
|
||||
|
||||
$ cd build
|
||||
$ macdeployqt
|
||||
|
||||
Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
||||
|
||||
$ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources
|
||||
|
||||
Edit Info.plist to add samplebrain.icns to CFBundleIconFile. Key `CFBundleIconFile` should match:
|
||||
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>samplebrain.icns</string>
|
||||
|
||||
## What's here
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user