diff options
Diffstat (limited to '')
| -rwxr-xr-x | .travis/macos/deps.sh | 3 | ||||
| -rwxr-xr-x | .travis/macos/upload.sh | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis/macos/deps.sh b/.travis/macos/deps.sh index 1a547c060..faeafa216 100755 --- a/.travis/macos/deps.sh +++ b/.travis/macos/deps.sh | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | brew update | 3 | brew update |
| 4 | brew install dylibbundler p7zip qt5 sdl2 ccache | 4 | brew install p7zip qt5 sdl2 ccache |
| 5 | brew outdated cmake || brew upgrade cmake | 5 | brew outdated cmake || brew upgrade cmake |
| 6 | pip3 install macpack | ||
diff --git a/.travis/macos/upload.sh b/.travis/macos/upload.sh index 965e9e794..66e3455ff 100755 --- a/.travis/macos/upload.sh +++ b/.travis/macos/upload.sh | |||
| @@ -12,12 +12,12 @@ cp build/bin/yuzu-cmd "$REV_NAME" | |||
| 12 | cp -r build/bin/yuzu.app "$REV_NAME" | 12 | cp -r build/bin/yuzu.app "$REV_NAME" |
| 13 | 13 | ||
| 14 | # move libs into folder for deployment | 14 | # move libs into folder for deployment |
| 15 | dylibbundler -b -x "${REV_NAME}/yuzu.app/Contents/MacOS/yuzu" -cd -d "${REV_NAME}/yuzu.app/Contents/Frameworks/" -p "@executable_path/../Frameworks/" -of | 15 | macpack "${REV_NAME}/yuzu.app/Contents/MacOS/yuzu" -d "../Frameworks" |
| 16 | # move qt frameworks into app bundle for deployment | 16 | # move qt frameworks into app bundle for deployment |
| 17 | $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/yuzu.app" -executable="${REV_NAME}/yuzu.app/Contents/MacOS/yuzu" | 17 | $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/yuzu.app" -executable="${REV_NAME}/yuzu.app/Contents/MacOS/yuzu" |
| 18 | 18 | ||
| 19 | # move libs into folder for deployment | 19 | # move libs into folder for deployment |
| 20 | dylibbundler -b -x "${REV_NAME}/yuzu-cmd" -cd -d "${REV_NAME}/libs" -p "@executable_path/libs/" | 20 | macpack "${REV_NAME}/yuzu-cmd" -d "libs" |
| 21 | 21 | ||
| 22 | # Make the yuzu.app application launch a debugging terminal. | 22 | # Make the yuzu.app application launch a debugging terminal. |
| 23 | # Store away the actual binary | 23 | # Store away the actual binary |