Updated Compile and install on macOS (markdown)
parent
5acd78228a
commit
0165ff0fd5
|
@ -5,43 +5,30 @@ Strawberry currently compiles and runs on macOS
|
|||
First install xcode tools and brew package manager:
|
||||
|
||||
xcode-select --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 gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
|
||||
|
||||
brew install libcdio libmtp
|
||||
|
||||
Set environment variables:
|
||||
|
||||
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake
|
||||
|
||||
export Qt5LinguistTools_DIR=/usr/local/opt/qt5/lib/cmake/Qt5LinguistTools
|
||||
|
||||
export GST_SCANNER_PATH=/usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
|
||||
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
|
||||
|
||||
Get code, compile and create DMG:
|
||||
|
||||
git clone https://github.com/strawberrymusicplayer/strawberry`
|
||||
|
||||
cd strawberry
|
||||
|
||||
mkdir build
|
||||
|
||||
cd build
|
||||
|
||||
cmake .. -DUSE_BUNDLE=ON
|
||||
|
||||
make -j$(nproc)
|
||||
|
||||
make install
|
||||
|
||||
make dmg
|
||||
|
||||
Install:
|
||||
|
|
Loading…
Reference in New Issue