rssguard/resources/scripts/.travis-install-linux.sh
2020-05-02 19:57:27 +02:00

25 lines
812 B
Bash
Executable File

#!/bin/bash
ls -lha
# Setup Qt build environment.
source /opt/qt514/bin/qt514-env.sh
mkdir rssguard-build && cd rssguard-build
# Build application.
#lrelease -compress ../rssguard.pro
qmake .. "USE_WEBENGINE=$USE_WEBENGINE"
make
make install
cd src/rssguard
# Obtain linuxdeployqt.
wget -c https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
# Create AppImage.
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -bundle-non-qt-libs -no-translations
./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -appimage -no-translations