mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge pull request #43 from ngn999/staged
fix macOS package problem; it's a workaround, waiting for macdeploy fix
This commit is contained in:
commit
9a565d583a
10
.github/workflows/macos-6.2.yml
vendored
10
.github/workflows/macos-6.2.yml
vendored
|
@ -79,7 +79,15 @@ jobs:
|
|||
- name: package
|
||||
run: |
|
||||
macdeployqt ${targetName}.app -qmldir=. -verbose=1
|
||||
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.dylib" "@executable_path/../Frameworks/libswresample.4.dylib" "GoldenDict.app/Contents/Frameworks//libavcodec.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libavcodec.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavcodec.59.dylib" "@executable_path/../Frameworks/libavcodec.59.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.dylib" "@executable_path/../Frameworks/libswresample.4.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libswresample.4.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/nettle/3.7.3/lib/libnettle.8.dylib" "@executable_path/../Frameworks/libnettle.8.dylib" "GoldenDict.app/Contents/Frameworks//libhogweed.6.dylib"
|
||||
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
|
||||
otool -L GoldenDict.app/Contents/Frameworks/lib*
|
||||
mkdir tmp
|
||||
mv ${targetName}.app ./tmp
|
||||
# --background "installer_background.png"
|
||||
|
|
10
.github/workflows/macos.yml
vendored
10
.github/workflows/macos.yml
vendored
|
@ -79,7 +79,15 @@ jobs:
|
|||
- name: package
|
||||
run: |
|
||||
macdeployqt ${targetName}.app -qmldir=. -verbose=1
|
||||
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.dylib" "@executable_path/../Frameworks/libswresample.4.dylib" "GoldenDict.app/Contents/Frameworks//libavcodec.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libavcodec.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavcodec.59.dylib" "@executable_path/../Frameworks/libavcodec.59.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.dylib" "@executable_path/../Frameworks/libswresample.4.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libavformat.59.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.dylib" "@executable_path/../Frameworks/libavutil.57.dylib" "GoldenDict.app/Contents/Frameworks//libswresample.4.dylib"
|
||||
install_name_tool -change "/usr/local/Cellar/nettle/3.7.3/lib/libnettle.8.dylib" "@executable_path/../Frameworks/libnettle.8.dylib" "GoldenDict.app/Contents/Frameworks//libhogweed.6.dylib"
|
||||
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
|
||||
otool -L GoldenDict.app/Contents/Frameworks/lib*
|
||||
mkdir tmp
|
||||
mv ${targetName}.app ./tmp
|
||||
# --background "installer_background.png"
|
||||
|
|
Loading…
Reference in a new issue