Updated Compile and install on macOS (markdown)
parent
ca4bb6ea3c
commit
8af7db8f6b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue