Updated Compile and install on macOS (markdown)

Jonas Kvinge 2022-03-10 21:01:47 +01:00
parent ca4bb6ea3c
commit 8af7db8f6b
1 changed files with 8 additions and 4 deletions

@ -30,18 +30,22 @@ This will take several hours to complete.
-DProtobuf_PROTOC_EXECUTABLE=$HOME/build/strawberry-macos-dependencies/usr/bin/protoc \
-DFFTW3_DIR=$HOME/build/strawberry-macos-dependencies/usr
install_name_tool -change "@rpath/QtCore.framework/Versions/A/QtCore" "/Users/runner/work/strawberry-macos-dependencies/strawberry-macos-dependencies/usr/lib/QtCore.framework/Versions/A/QtCore" /Users/runner/work/strawberry/strawberry/build/3rdparty/macdeployqt/macdeployqt
install_name_tool -change "@rpath/QtCore.framework/Versions/A/QtCore" "/Users/runner/work/strawberry-macos-dependencies/strawberry-macos-dependencies/usr/lib/QtCore.framework/Versions/A/QtCore" /Users/runner/work/strawberry/strawberry/build/ext/macdeploycheck/macdeploycheck
cmake --build . --parallel
cmake --install .
## Deploy and create dmg
install_name_tool -change "@rpath/QtCore.framework/Versions/A/QtCore" "/Users/runner/work/strawberry-macos-dependencies/strawberry-macos-dependencies/usr/lib/QtCore.framework/Versions/A/QtCore" /Users/runner/work/strawberry/strawberry/build/3rdparty/macdeployqt/macdeployqt
install_name_tool -change "@rpath/QtCore.framework/Versions/A/QtCore" "/Users/runner/work/strawberry-macos-dependencies/strawberry-macos-dependencies/usr/lib/QtCore.framework/Versions/A/QtCore" /Users/runner/work/strawberry/strawberry/build/ext/macdeploycheck/macdeploycheck
## Deploy
GIO_EXTRA_MODULES=$HOME/build/strawberry-macos-dependencies/usr/lib/gio/modules \
GST_PLUGIN_SCANNER=$HOME/build/strawberry-macos-dependencies/usr/libexec/gst-plugin-scanner \
GST_PLUGIN_PATH=$HOME/build/strawberry-macos-dependencies/usr/lib/gstreamer-1.0 \
make deploy
## Create dmg
make dmg