Updated Compile and install on macOS using macports (markdown)

Jonas Kvinge 2022-02-06 01:43:47 +01:00
parent edbbf06d6c
commit 3c60e44cd5
1 changed files with 3 additions and 3 deletions

@ -8,12 +8,12 @@ Download and install macports from: https://www.macports.org/install.php
Prepare macports:
port -v selfupdate
sudo port -v selfupdate
Install dependencies through port:
sudo port -N install glib2 pkgconfig cmake boost protobuf-cpp sqlite3 gnutls chromaprint fftw taglib
sudo port -N install qt5-qtbase qt5-qttools qt5-sqlite-plugin
sudo port -N install qt6-qtbase qt6-qttools qt6-sqlite-plugin
sudo port -N install gstreamer1 gstreamer1-gst-plugins-base gstreamer1-gst-plugins-good gstreamer1-gst-plugins-bad gstreamer1-gst-plugins-ugly gstreamer1-gst-libav
sudo port -N install libcdio libmtp
@ -44,7 +44,7 @@ Get code and prepare build:
Compile and create DMG:
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/local/lib/cmake -DBUILD_WITH_QT5=ON -DUSE_BUNDLE=ON -DENABLE_SPARKLE=OFF
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/local/lib/cmake -DBUILD_WITH_QT6=ON -DUSE_BUNDLE=ON
make -j$(nproc)
make install
make dmg