Tried to compile on M1
parent
43933d3be1
commit
378c5b820b
|
@ -1,11 +1,16 @@
|
|||
```
|
||||
xcode-select --install
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
brew install glib pkgconfig cmake boost protobuf protobuf-c qt cryptopp gettext gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-plugins-libav
|
||||
brew install glib pkgconfig cmake boost protobuf protobuf-c qt gettext gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav chromaprint glew
|
||||
# cryptopp isn't available on brew anymore
|
||||
brew tap tomahawk-player/homebrew-tomahawkqt5
|
||||
brew install tomahawk-player/homebrew-tomahawkqt5/liblastfm
|
||||
sudo ln -s /usr/local/include/lastfm /usr/local/include/lastfm5
|
||||
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake
|
||||
# M1 Path
|
||||
# export Qt5_DIR=/opt/homebrew/opt/qt5/lib/cmake
|
||||
# if you have brew's qt installed (now version 6 is default), you will need to uninstall qt6, otherwise it's failed `brew uninstall qt`
|
||||
|
||||
export Qt5LinguistTools_DIR=/usr/local/Cellar/qt/5.11.2/lib/cmake/Qt5LinguistTools
|
||||
export GST_SCANNER_PATH=/usr/local/Cellar/gstreamer/1.14.4/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
|
||||
|
|
Loading…
Reference in New Issue