mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Added script to generate appimage files. Closes #103.
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
qmake PREFIX=/usr -r
|
||||
make clean
|
||||
make -j4
|
||||
sudo apt-get -y install checkinstall
|
||||
rm ./*.spec # Otherwise the next line fails
|
||||
sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc
|
||||
mkdir appdir ; cd appdir
|
||||
dpkg -x ../app_1-1_amd64.deb . ; find .
|
||||
cp ../qt/leocad.desktop .
|
||||
sed -i -e 's|\.svg||g' leocad.desktop # Workaround
|
||||
cp ../resources/leocad.png .
|
||||
mkdir usr/share/leocad
|
||||
cp ../library.bin usr/share/leocad/library.bin
|
||||
cd ..
|
||||
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/bin/leocad -bundle-non-qt-libs
|
||||
./linuxdeployqt*.AppImage ./appdir/usr/bin/leocad -appimage
|
||||
Reference in New Issue
Block a user