mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
[CI] Add missing dependencies to Ubuntu packaging step (#2251)
This commit is contained in:
parent
9ebc448bca
commit
5232cb535e
|
@ -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}")")"
|
||||
|
|
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -92,7 +92,23 @@ jobs:
|
|||
# LINUX
|
||||
- name: Install dependencies (Ubuntu)
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: sudo apt-get update && sudo apt-get -y install libssl-dev libboost-dev libboost-system-dev libboost-filesystem-dev libpulse-dev libxkbcommon-x11-0 libgstreamer-plugins-base1.0-0 build-essential libgl1-mesa-dev
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install \
|
||||
libssl-dev \
|
||||
libboost-dev \
|
||||
libboost-system-dev \
|
||||
libboost-filesystem-dev \
|
||||
libpulse-dev \
|
||||
libxkbcommon-x11-0 \
|
||||
libgstreamer-plugins-base1.0-0 \
|
||||
build-essential \
|
||||
libgl1-mesa-dev \
|
||||
libxcb-icccm4 \
|
||||
libxcb-image0 \
|
||||
libxcb-keysyms1 \
|
||||
libxcb-render-util0 \
|
||||
libxcb-xinerama0
|
||||
|
||||
- name: Build (Ubuntu)
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
|
|
Loading…
Reference in a new issue