-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.appimage
23 lines (19 loc) · 958 Bytes
/
Makefile.appimage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# docker run -ti --rm -v `pwd`:/mnt -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --privileged debian:buster /bin/bash
# apt-get update
# apt-get install build-essential flex libgtest-dev libsqlite3-dev qt6-default qttools6-dev-tools wget fuse file git
# cd /mnt
# ./configure --prefix=/usr
# make clean
# make
# make check
# make -f Makefile.appimage
appimage: linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
rm -Rf AppDir
$(MAKE) install DESTDIR=$(CURDIR)/AppDir
PATH=/usr/lib/qt6/bin:/usr/lib/qt6/libexec:$(PATH) ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage
linuxdeploy-x86_64.AppImage:
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod a+x $@
linuxdeploy-plugin-qt-x86_64.AppImage:
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
chmod a+x $@