Merge pull request #1522 from MerryMage/dylibbundler

OS X: Use dylibbundler to include dylibs required by citra in nightly build
This commit is contained in:
bunnei 2016-03-19 00:05:56 -04:00
commit 116194b147
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"