1
0
Fork 0

Go back to linuxdeployqt

This commit is contained in:
NamedKitten 2018-10-13 19:32:10 +01:00
parent cbaf10d7e7
commit a30f44b196

View file

@ -19,15 +19,14 @@ script:
- qmake CONFIG+=release PREFIX=/usr - qmake CONFIG+=release PREFIX=/usr
- make -j$(nproc) - make -j$(nproc)
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
- wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage - wget "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- chmod a+x linuxdeploy-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
- mkdir -p appdir/usr/plugins/imageformats/ - mkdir -p appdir/usr/plugins/imageformats/
- cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/ - cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/
- #./linuxdeploy-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs
- ./linuxdeploy-x86_64.AppImage --appdir AppDir -e KittehPlayer -i KittehPlayer.png -d KittehPlayer.desktop --plugin qt --output appimage - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage
after_success: after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq