1
0
Fork 0

Revert to linux deploy qt

This commit is contained in:
NamedKitten 2018-10-14 16:54:03 +01:00
parent d147c9f865
commit 6f9919869f

View file

@ -22,18 +22,18 @@ 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/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" - wget "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- #chmod a+x linuxdeployqt-continuous-x86_64.AppImage - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- wget "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" - #wget "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
- wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage - #wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
- chmod +x linux* - chmod +x linux*
- 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/sss3 - mkdir -p appdir/usr/plugins/imageformats/sss3
- cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/ - cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/
- #./linuxdeployqt-continuous-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
- #./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage
- ./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage - #./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output 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