Skip to content

Commit

Permalink
build: next try for appimage nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatos committed Mar 2, 2025
1 parent 7a65508 commit c0d003d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ install-bin: all Makefile
cp -rfL bin/darkroom.ui bin/style.txt ${VKDTDIR}
ifneq ($(OS), Windows_NT)
ifeq ($(shell uname),Linux)
mkdir -p $(DESTDIR)$(prefix)/share/icons/
mkdir -p $(DESTDIR)$(prefix)/share/applications/
cp -rfL vkdt.png $(DESTDIR)$(prefix)/share/icons/
cp -rfL vkdt.desktop $(DESTDIR)$(prefix)/share/applications/
endif
Expand Down
8 changes: 5 additions & 3 deletions bin/mkappimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export VERSION=$(git describe)
export ARCH=x86_64
export NO_STRIP=1
export DISABLE_COPYRIGHT_FILES_DEPLOYMENT=1
./linuxdeploy-x86_64.AppImage --appdir AppDir -i vkdt.png --output appimage $(find AppDir/ -name "lib*.so" | sed -e 's/^/ -l /' | tr -d '\n') \
-e AppDir/usr/bin/vkdt \
echo "adding library $(find AppDir/ -name "lib*.so" | sed -e 's/^/ --library=/' | tr -d '\n') "
./linuxdeploy-x86_64.AppImage --appdir=AppDir --icon-file=vkdt.png --output=appimage \
$(find AppDir/ -name "lib*.so" | sed -e 's/^/ --library=/' | tr -d '\n') \
--executable=AppDir/usr/bin/vkdt \
--deploy-deps-only=AppDir/usr/lib/vkdt
rm -rf AppDir
# rm -rf AppDir

0 comments on commit c0d003d

Please sign in to comment.