mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-05-12 02:27:21 +00:00
more info in README
This commit is contained in:
commit
b4c72412f3
18
README.md
18
README.md
@ -79,7 +79,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 dependancies for the interface:
|
Install dependencies for the interface:
|
||||||
|
|
||||||
$ sudo apt install build-essential qtcreator qt5-default
|
$ sudo apt install build-essential qtcreator qt5-default
|
||||||
|
|
||||||
@ -95,9 +95,9 @@ Build & run it:
|
|||||||
## Mac
|
## Mac
|
||||||
Install libraries for sample engine:
|
Install libraries for sample engine:
|
||||||
|
|
||||||
$ brew install fftw portaudio liblo
|
$ brew install fftw portaudio liblo libsndfile
|
||||||
|
|
||||||
Install dependancies for the interface:
|
Install dependencies for the interface:
|
||||||
|
|
||||||
$ brew install qt
|
$ brew install qt
|
||||||
$ brew link qt
|
$ brew link qt
|
||||||
@ -115,22 +115,24 @@ Build & run it:
|
|||||||
|
|
||||||
To make a mac app bundle:
|
To make a mac app bundle:
|
||||||
|
|
||||||
Run `macdeployqt` to copy all dependencies inside the app.
|
Run `macdeployqt` which copies all dependencies inside the app.
|
||||||
|
|
||||||
Create Mac app bundle:
|
|
||||||
|
|
||||||
$ cd build
|
$ cd build
|
||||||
$ macdeployqt
|
$ macdeployqt
|
||||||
|
|
||||||
Copy desktop/samplebrain.icns (the icon) to the Resources directory in the bundle.
|
If the icon is not visible, you might need to copy desktop/samplebrain.icns (the icon) to the Resources directory in the app bundle.
|
||||||
|
|
||||||
$ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources
|
$ cp ../desktop/samplebrain.icns samplebrain.app/Contents/Resources
|
||||||
|
|
||||||
Edit Info.plist to add samplebrain.icns to CFBundleIconFile. Key `CFBundleIconFile` should match:
|
Then 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:
|
||||||
|
@ -49,7 +49,8 @@ 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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user