Skip to content

Commit 28d1148

Browse files
authored
Add 19 apps (ivan-hc#2056)
* add 20 apps * defold has no aarch64 * nomacs was already added --------- Co-authored-by: Samueru-sama <xdglawyer@outlook.com>
1 parent 02b1f71 commit 28d1148

39 files changed

+2886
-0
lines changed

programs/aarch64-apps

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
◆ classicube : Unofficial, Custom Minecraft Classic / ClassiCube client written in C from scratch
2+
◆ drum-machine : Unofficial, Application for managing and playing with drum patterns.
3+
◆ ffmpeg : Unofficial, A complete, cross-platform solution to record, convert and stream audio and video.
4+
◆ freetube-enhanced : Unofficial, An Open Source YouTube app for privacy.
5+
◆ ghostship : Unofficial, Another definitive port of Super Mario 64.
6+
◆ goldendict-ng : Unofficial, an advanced dictionary lookup program, supporting many formats.
7+
◆ gradia : Unofficial, screenshot/picture editor and uploader.
8+
◆ isle-portable : Unofficial, a portable version of LEGO Island (1997).
9+
◆ keypunch : Unofficial, keyboard writing speed test application. 
10+
◆ libation : Unofficial, application for downloading and managing your Audible audiobooks.
11+
◆ opencode : Unofficial, The open source coding agent.
12+
◆ pyglossary : Unofficial, A tool for converting dictionary files aka glossaries.
13+
◆ reco : Unofficial, An audio recorder focused on being concise and simple to use
14+
◆ scummvm : Unofficial, A 'virtual machine' for several classic graphical point-and-click adventure games
15+
◆ stella : Unofficial, A multi-platform Atari 2600 Emulator.
16+
◆ taradino : Unofficial, SDL2 port of Rise of the Triad.
17+
◆ tuxpuck : Unofficial, hockey-like table game.
18+
◆ xoreos : Unofficial, A reimplementation of BioWare's Aurora engine.
119
◆ 0ad : Unofficial. FOSS historical Real Time Strategy, RTS game of ancient warfare.
220
◆ 12to11 : Unofficial, tool for running Wayland applications on an X server.
321
◆ 86box : Emulator of x86-based machines based on PCem.

programs/aarch64/classicube

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=classicube
6+
SITE="pkgforge-dev/ClassiCube-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/ClassiCube-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=classicube
34+
SITE="pkgforge-dev/ClassiCube-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/ClassiCube-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/aarch64/drum-machine

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=drum-machine
6+
SITE="pkgforge-dev/Drum-Machine-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Drum-Machine-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=drum-machine
34+
SITE="pkgforge-dev/Drum-Machine-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Drum-Machine-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/aarch64/ffmpeg

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=ffmpeg
6+
SITE="pkgforge-dev/FFmpeg-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/FFmpeg-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=ffmpeg
34+
SITE="pkgforge-dev/FFmpeg-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/FFmpeg-AppImage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/aarch64/freetube-enhanced

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=freetube-enhanced
6+
SITE="pkgforge-dev/FreeTube-Appimage-Enhanced"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/FreeTube-Appimage-Enhanced/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=freetube-enhanced
34+
SITE="pkgforge-dev/FreeTube-Appimage-Enhanced"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/FreeTube-Appimage-Enhanced/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

0 commit comments

Comments
 (0)