2016-08-24 12:30:11 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-06-27 08:54:02 +02:00
|
|
|
ls -lha
|
2019-04-04 09:00:55 +02:00
|
|
|
|
2017-10-15 20:36:32 +02:00
|
|
|
# Setup Qt build environment.
|
2020-05-02 19:57:27 +02:00
|
|
|
source /opt/qt514/bin/qt514-env.sh
|
2016-08-24 12:30:11 +02:00
|
|
|
mkdir rssguard-build && cd rssguard-build
|
2017-10-15 20:36:32 +02:00
|
|
|
|
2017-11-14 08:57:22 +01:00
|
|
|
# Build application.
|
2019-04-04 08:38:59 +02:00
|
|
|
#lrelease -compress ../rssguard.pro
|
2017-10-15 21:04:29 +02:00
|
|
|
qmake .. "USE_WEBENGINE=$USE_WEBENGINE"
|
2019-06-27 20:45:28 +02:00
|
|
|
make
|
2017-10-13 14:10:13 +02:00
|
|
|
make install
|
2019-06-27 20:14:15 +02:00
|
|
|
cd src/rssguard
|
2017-10-13 14:10:13 +02:00
|
|
|
|
2017-10-15 20:36:32 +02:00
|
|
|
# Obtain linuxdeployqt.
|
2017-10-13 14:37:03 +02:00
|
|
|
wget -c https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
|
|
|
|
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
|
|
|
|
2017-10-15 20:36:32 +02:00
|
|
|
# Create AppImage.
|
2017-10-13 14:12:35 +02:00
|
|
|
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
2017-10-22 19:08:07 +02:00
|
|
|
./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
|
2017-10-15 20:36:32 +02:00
|
|
|
|