Skip to content

Commit

Permalink
CI: AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed May 8, 2024
1 parent 405bf8e commit 9f3b252
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions CI/build-appimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,16 @@ cp CI/librecad.svg appdir/usr/share/icons/hicolor/scalable/apps/
convert -resize 256x256 CI/librecad.svg appdir/usr/share/icons/hicolor/256x256/apps/librecad.png
for q_dir in $(echo $LD_LIBRARY_PATH|sed -e 's/:/ /g')
do
echo "copying ${q_dir}"
find ${q_dir} -type f -iname "libxcb*.so*" -exec cp -a '{}' appdir/usr/lib/ ';'
echo "copying ${q_dir}"
for q_lib in libLLVM-15 libOpenGL libelf libsensors libQt6Core5Compat libQt6QuickControls2 libQt6StateMachine libQt6WebView libQt6Xml libQt6Svg libQt6DBus libQt6WaylandClient libQt6WaylandEglClientHwIntegration libxcb
do
find ${q_dir} -type f -iname "${q_lib}*.so*" -exec cp -a '{}' appdir/usr/lib/ ';'
done
done


wget -q https://github.com/omergoktas/linuxdeployqt/releases/download/latest/linuxdeployqt-x86_64.AppImage

chmod +x linuxdeployqt-x86_64.AppImage
./linuxdeployqt-x86_64.AppImage appdir/usr/bin/librecad -qmake=$(which qmake6) -appimage
#./appimagetool-*.AppImage -s deploy appdir/usr/bin/librecad.desktop
#VERSION=`git describe --tags --always` ./appimagetool-*.AppImage appdir/
#wget -q https://github.com/omergoktas/linuxdeployqt/releases/download/latest/linuxdeployqt-x86_64.AppImage
#chmod +x linuxdeployqt-x86_64.AppImage
#./linuxdeployqt-x86_64.AppImage appdir/usr/bin/librecad -qmake=$(which qmake6) -appimage
./appimagetool-*.AppImage -s deploy appdir/usr/bin/librecad.desktop
VERSION=`git describe --tags --always` ./appimagetool-*.AppImage appdir/

0 comments on commit 9f3b252

Please sign in to comment.