Skip to content

Commit

Permalink
ci: install qtav module to be detected by macdeployqt
Browse files Browse the repository at this point in the history
simply copying frameworks does not work because dependent lib names are
wrong
  • Loading branch information
wang-bin committed Oct 7, 2016
1 parent 07b07f1 commit 8c5161a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/ci/osx/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
PKG=$TRAVIS_BUILD_DIR/${QTAV_OUT}-Player.dmg
set -ev
cd $QTAV_OUT
mkdir -p bin/Player.app/Contents/Frameworks
cp -avf lib_*/*.framework bin/Player.app/Contents/Frameworks
chmod +x *.sh
./sdk_install.sh
mkdir -p bin/Player.app/Contents/Resources/qml/QtAV
cp -avf lib_*/*.dylib bin/Player.app/Contents/Resources/qml/QtAV
cp -avf $TRAVIS_BUILD_DIR/qml/{plugins.qmltypes,Video.qml,qmldir} bin/Player.app/Contents/Resources/qml/QtAV
cp -avf $TRAVIS_BUILD_DIR/tools/sdk_osx.sh bin/Player.app/
macdeployqt bin/Player.app -dmg
hdiutil convert -format UDBZ bin/Player.dmg -o $PKG
cd bin
macdeployqt Player.app -dmg
hdiutil convert -format UDBZ Player.dmg -o $PKG
cd -

wget http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz/download -O sshpass.tar.gz
Expand Down

0 comments on commit 8c5161a

Please sign in to comment.