OS X: Use dylibbundler to include dylibs required by citra in nightly archive

This commit is contained in:
MerryMage 2016-03-14 21:23:07 +00:00
parent 8530a2d7df
commit 373a790d76
2 changed files with 4 additions and 1 deletions

View file

@ -20,6 +20,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
)
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update > /dev/null # silence the very verbose output
brew install qt5 sdl2
brew install qt5 sdl2 dylibbundler
gem install xcpretty
fi

View file

@ -20,6 +20,9 @@ if [ "$TRAVIS_BRANCH" = "master" ]; then
# move qt libs into app bundle for deployment
$(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/citra-qt.app"
# move SDL2 libs into folder for deployment
dylibbundler -b -x "${REV_NAME}/citra" -cd -d "${REV_NAME}/libs" -p "@executable_path/libs/"
fi
ARCHIVE_NAME="${REV_NAME}.tar.xz"