File: make_appimage.sh

package info (click to toggle)
qnapi 0.2.3-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,328 kB
  • sloc: cpp: 8,634; sh: 49; makefile: 10
file content (21 lines) | stat: -rwxr-xr-x 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

make INSTALL_ROOT=appdir install
find appdir

wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt*.AppImage
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH

./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
sudo apt-get install -qq p7zip-full
cp -v /usr/lib/p7zip/7za ./appdir/usr/bin/7za
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage

find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq

find QNapi*

rm -fr linuxdeployqt*.AppImage
rm -fr appdir