[CI] Add missing dependencies to Ubuntu packaging step (#2251)

This commit is contained in:
pajlada
2020-12-05 14:31:28 +01:00
committed by GitHub
parent 9ebc448bca
commit 5232cb535e
2 changed files with 26 additions and 1 deletions
+9
View File
@@ -16,8 +16,14 @@ chatterino_dir=$(dirname "$script_dir")
qmake_path=$(command -v qmake)
echo "Running LDD on chatterino binary:"
ldd ./bin/chatterino
echo ""
echo "Running make install in the appdir"
make INSTALL_ROOT=appdir -j"$(nproc)" install ; find appdir/
echo ""
cp "$chatterino_dir"/resources/icon.png ./appdir/chatterino.png
linuxdeployqt_path="linuxdeployqt-6-x86_64.AppImage"
@@ -31,6 +37,7 @@ if [ ! -f appimagetool-x86_64.AppImage ]; then
wget -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod a+x appimagetool-x86_64.AppImage
fi
echo "Run LinuxDeployQT"
./"$linuxdeployqt_path" \
appdir/usr/share/applications/*.desktop \
-no-translations \
@@ -41,6 +48,8 @@ fi
rm -rf appdir/home
rm -f appdir/AppRun
echo "Run AppImageTool"
# shellcheck disable=SC2016
echo '#!/bin/sh
here="$(dirname "$(readlink -f "${0}")")"