Migrate to linuxdeploy
This commit is contained in:
parent
860681bdcc
commit
02c8d7f6b9
|
@ -19,14 +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 -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
- wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-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/
|
||||||
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs
|
- #./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/ -appimage
|
- ./linuxdeploy-x86_64.AppImage --plugin qt --appdir appdir --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
|
||||||
|
|
Loading…
Reference in a new issue