36
36
- name : Install build dependencies
37
37
run : |
38
38
set -x
39
- sudo apt-get -y install build-essential libfaad-dev libmpg123-dev libfftw3-dev librtlsdr-dev libusb-1.0-0-dev mesa-common-dev libglu1-mesa-dev libpulse-dev libsoapysdr-dev libairspy-dev libmp3lame-dev libflac++-dev
39
+
40
+ # Install build dependencies
41
+ sudo apt-get -y install build-essential libfaad-dev libmpg123-dev libfftw3-dev \
42
+ librtlsdr-dev libusb-1.0-0-dev mesa-common-dev libglu1-mesa-dev libpulse-dev \
43
+ libsoapysdr-dev libairspy-dev libmp3lame-dev libflac++-dev libegl-dev
40
44
45
+ # Install sharun dependencies
46
+ sudo apt install file binutils patchelf findutils grep sed coreutils strace
47
+
48
+ # Install virtual graphic display to run welle.io without an display
49
+ sudo apt install xvfb
50
+
41
51
- name : Build
42
52
id : build
43
53
run : |
@@ -64,15 +74,24 @@ jobs:
64
74
- name : Create AppImage
65
75
id : create_appimage
66
76
run : |
67
- # Get appimagetool
68
- # wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
69
- wget https://welle-io-nightlies.albrechtloh.de/appimagetool-843-x86_64.AppImage # just for testing
77
+ # Get appimagetool
78
+ wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
79
+ # wget https://welle-io-nightlies.albrechtloh.de/appimagetool-843-x86_64.AppImage # just for testing
70
80
chmod +x appimagetool-*.AppImage
71
81
72
- # Create AppImage
82
+ # Get lib4bin (sharun)
83
+ wget https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bin -O ./lib4bin
84
+ chmod +x ./lib4bin
85
+
86
+ # Dummy run welle in a virtual display to collect graphic libraries with sharun
87
+ xvfb-run -- ./lib4bin -p -v -r -e ./appdir/usr/bin/welle-io
88
+ cp shared/lib/* appdir/usr/lib/x86_64-linux-gnu/
89
+
90
+ # Collect remaining libraries
73
91
./appimagetool-*.AppImage -s deploy ./appdir/usr/share/applications/*.desktop # Bundle EVERYTHING
74
- cp /usr/lib/x86_64-linux-gnu/dri/* appdir/usr/lib/x86_64-linux-gnu/ # Copy some additional libs to AppImage. See https://github.com/probonopd/go-appimage/issues/301 for details
75
92
find appdir/
93
+
94
+ # Create AppImage
76
95
VERSION=1.0 ./appimagetool-*.AppImage ./appdir # turn AppDir into AppImage
77
96
78
97
# Preapre publish
0 commit comments