Updated Compile and install on macOS (markdown)
parent
76507fd53c
commit
8e5565b285
|
@ -4,41 +4,46 @@ Strawberry currently compiles and runs on macOS
|
|||
|
||||
First install xcode tools and brew package manager:
|
||||
|
||||
`xcode-select --install`
|
||||
xcode-select --install
|
||||
|
||||
`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
||||
Install all dependencies through brew:
|
||||
|
||||
`brew install glib pkgconfig cmake boost protobuf protobuf-c qt chromaprint sqlite fftw`
|
||||
brew install glib pkgconfig cmake boost protobuf protobuf-c qt chromaprint sqlite fftw
|
||||
|
||||
`brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly`
|
||||
brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
|
||||
|
||||
`brew install libcdio libmtp`
|
||||
brew install libcdio libmtp
|
||||
|
||||
`export Qt5_DIR=/usr/local/opt/qt5/lib/cmake`
|
||||
Set environment variables:
|
||||
|
||||
`export Qt5LinguistTools_DIR=/usr/local/opt/qt5/lib/cmake/Qt5LinguistTools`
|
||||
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake
|
||||
|
||||
`export GST_SCANNER_PATH=/usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner`
|
||||
export Qt5LinguistTools_DIR=/usr/local/opt/qt5/lib/cmake/Qt5LinguistTools
|
||||
|
||||
`export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0`
|
||||
export GST_SCANNER_PATH=/usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
|
||||
`git clone https://github.com/strawberrymusicplayer/strawberry`
|
||||
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
|
||||
|
||||
`cd strawberry`
|
||||
Get code, compile and create DMG:
|
||||
|
||||
`mkdir build`
|
||||
git clone https://github.com/strawberrymusicplayer/strawberry`
|
||||
|
||||
`cd build`
|
||||
cd strawberry
|
||||
|
||||
`cmake .. -DUSE_BUNDLE=ON`
|
||||
mkdir build
|
||||
|
||||
`make -j$(nproc)`
|
||||
cd build
|
||||
|
||||
`make install`
|
||||
cmake .. -DUSE_BUNDLE=ON
|
||||
|
||||
`make dmg`
|
||||
make -j$(nproc)
|
||||
|
||||
Then manually copy the strawberry.app folder over to /Applications/
|
||||
make install
|
||||
|
||||
make dmg
|
||||
|
||||
Install:
|
||||
|
||||
Then install the DMG or manually copy the strawberry.app folder over to /Applications/
|
||||
|
|
Loading…
Reference in New Issue