This commit is contained in:
Georg Krause 2019-04-13 08:59:36 +02:00 committed by Harry van Haaren
parent bce64e72e4
commit 7c09f13a62
2 changed files with 17 additions and 3 deletions

View file

@ -16,8 +16,18 @@ script:
- meson --prefix /usr build
- ninja -C build
- ninja -C build test
- DESTDIR=./appdir ninja -C build install
- DESTDIR=./appdir ninja -C build install ; find ./build/appdir
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- ./linuxdeployqt-continuous-x86_64.AppImage build/appdir/usr/share/applications/*.desktop -appimage
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Luppp*.AppImage*
branches:
except:
#- Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/pip

View file

@ -41,3 +41,7 @@ endforeach
executable('luppp', luppp_src + [version_hxx],
install: true,
dependencies: deps)
install_data('resources/metadata/luppp.desktop', install_dir: 'share/applications')
install_data('resources/metadata/luppp.appdata.xml', install_dir: 'share/appdata')
install_data('resources/icons/luppp.png', install_dir: 'share/pixmaps')