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:
|
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:
|
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
|
||||||
|
|
||||||
Set environment variables:
|
Set environment variables:
|
||||||
|
|
||||||
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake
|
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake
|
||||||
|
|
||||||
export Qt5LinguistTools_DIR=/usr/local/opt/qt5/lib/cmake/Qt5LinguistTools
|
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_SCANNER_PATH=/usr/local/opt/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||||
|
|
||||||
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
|
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
|
||||||
|
|
||||||
Get code, compile and create DMG:
|
Get code, compile and create DMG:
|
||||||
|
|
||||||
git clone https://github.com/strawberrymusicplayer/strawberry`
|
git clone https://github.com/strawberrymusicplayer/strawberry`
|
||||||
|
|
||||||
cd strawberry
|
cd strawberry
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake .. -DUSE_BUNDLE=ON
|
cmake .. -DUSE_BUNDLE=ON
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
make dmg
|
make dmg
|
||||||
|
|
||||||
Install:
|
Install:
|
||||||
|
|
Loading…
Reference in New Issue