improvements to AppImage release script

This commit is contained in:
tildearrow 2021-12-30 17:58:46 -05:00
parent e1a7c765fd
commit cdfe89565c
2 changed files with 36 additions and 1 deletions

26
res/furnace.appdata.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.tildearrow.furnace</id>
<name>Furnace</name>
<summary>Open-source chiptune tracker</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<description>
<p>
this is a work-in-progress chiptune tracker which interacts with DefleMask module files (.dmf).
</p>
<p>
it supports creating songs for Sega Genesis, Master System, Game Boy, PC Engine, NES, C64, YM2151/PCM and Neo Geo. featuring a clean-room design (zero reverse-engineered code and zero decompilation; using official DMF specs, guesswork and ABX tests only), bug/quirk implementation for increased playback accuracy, and accurate emulation cores whether possible (Nuked, MAME, SameBoy, Mednafen PCE, puNES, reSID and ymfm).
</p>
</description>
<launchable type="desktop-id">furnace.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://tildearrow.org/storage/images/furnace.png</image>
</screenshot>
</screenshots>
</component>

View File

@ -28,6 +28,8 @@ cd ../release/linux/furnace.AppDir
cp ../../../res/logo.png furnace.png || exit 1
ln -s furnace.png .DirIcon || exit 1
cp ../../../res/furnace.desktop . || exit 1
mkdir -p usr/share/metainfo || exit 1
cp ../../../res/furnace.appdata.xml usr/share/metainfo/org.tildearrow.furnace.metainfo.xml || exit 1
cp ../../../res/AppRun . || exit 1
cp /usr/lib/libm.so.6 usr/lib/ || exit 1
@ -35,7 +37,14 @@ cp /usr/lib/libstdc++.so.6 usr/lib/ || exit 1
cp /usr/lib/libc.so.6 usr/lib/ || exit 1
cp /usr/lib/libgcc_s.so.1 usr/lib/ || exit 1
cd ..
cd usr/lib
rm *.a || exit 1
strip *.so.*
cd ../bin
strip -s furnace
cd ../../..
[ -e appimagetool-x86_64.AppImage ] || { wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" && chmod 755 appimagetool-x86_64.AppImage; }
ARCH=$(uname -m) ./appimagetool-x86_64.AppImage furnace.AppDir