Skip to content

Commit

Permalink
maelstrom: Housekeeping
Browse files Browse the repository at this point in the history
**Summary**

- Added homepage (Part of getsolus#411)
- Added appstream metadata ( Part of getsolus#1389)
- Replaced old and ugly icon

*Test Plan**

- Verified homepage loads informaton about packages
- Verifed metadata with `appstream-builder --packages-dir=. --include-failed -v`

**Checklist**

- [x] Package was built and tested against unstable
  • Loading branch information
malfisya committed Jan 23, 2024
1 parent 2674e2d commit 8dc5ecb
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 24 deletions.
1 change: 1 addition & 0 deletions packages/m/maelstrom/abi_libs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Maelstrom
1 change: 1 addition & 0 deletions packages/m/maelstrom/abi_symbols
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Maelstrom:main
2 changes: 1 addition & 1 deletion packages/m/maelstrom/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ libc.so.6:__ctype_toupper_loc
libc.so.6:__cxa_atexit
libc.so.6:__errno_location
libc.so.6:__fprintf_chk
libc.so.6:__isoc23_strtol
libc.so.6:__libc_start_main
libc.so.6:__printf_chk
libc.so.6:__stack_chk_fail
Expand Down Expand Up @@ -119,7 +120,6 @@ libc.so.6:strerror
libc.so.6:strlen
libc.so.6:strncmp
libc.so.6:strrchr
libc.so.6:strtol
libc.so.6:time
libc.so.6:umask
libgcc_s.so.1:_Unwind_Resume
Expand Down
Binary file modified packages/m/maelstrom/files/maelstrom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[Desktop Entry]
Comment=Maelstrom
Exec=Maelstrom
Icon=maelstrom.png
Exec=maelstrom
Icon=maelstrom
Comment=Space combat game
Name=Maelstrom
StartupNotify=false
Terminal=false
Type=Application
Categories=Game;ArcadeGame;
Keywords=game;arcade;space;shooter;asteroids;

2 changes: 1 addition & 1 deletion packages/m/maelstrom/files/series
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Maelstrom-install.patch
maelstrom-install.patch
fix-button-code.patch
19 changes: 11 additions & 8 deletions packages/m/maelstrom/package.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name : maelstrom
version : 3.0.7
release : 7
release : 8
source :
- https://www.libsdl.org/projects/Maelstrom/src/Maelstrom-3.0.7.tar.gz : 93680322f4b04d4727ea8e0b461f259b604dc69e7465cb91d2b9aad378a9a036
- https://raw.githubusercontent.com/flathub/org.libsdl.Maelstrom/master/org.libsdl.Maelstrom.appdata.xml : f4ad410e1e12e9517bc5f9af9b73d2dcfdf90a06228d9953afc7d5adc93f498e
homepage : https://www.libsdl.org/projects/Maelstrom/
license :
- GPL-2.0
- CC-By-3.0
- GPL-2.0-or-later
- CC-BY-3.0
component : games.arcade
summary : Pseudo-3D-rendered Asteroids clone
description: |
Expand All @@ -20,10 +22,11 @@ build : |
%make -j1
install : |
%make_install -j1
# Install game data and symlink to binary
export msdir=/usr/share/Maelstrom
install -dm00755 $installdir/usr/bin
ln -s $msdir/Maelstrom $installdir/usr/bin/Maelstrom
install -Dm00644 $pkgfiles/Maelstrom.desktop $installdir/usr/share/applications/Maelstrom.desktop
install -Dm00644 $pkgfiles/maelstrom.png $installdir/usr/share/pixmaps/maelstrom.png
ln -s $msdir/Maelstrom $installdir/usr/bin/maelstrom
# Install desktop file, icon and appstream metadata
install -Dm00644 $pkgfiles/org.libsdl.Maelstrom.desktop -t $installdir/usr/share/applications
install -Dm00644 $pkgfiles/maelstrom.png -t $installdir/usr/share/icons/hicolor/512x512/apps
install -Dm00644 $sources/org.libsdl.Maelstrom.appdata.xml -t $installdir/usr/share/metainfo
26 changes: 14 additions & 12 deletions packages/m/maelstrom/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<PISI>
<Source>
<Name>maelstrom</Name>
<Homepage>https://www.libsdl.org/projects/Maelstrom/</Homepage>
<Packager>
<Name>Thomas Staudinger</Name>
<Email>Staudi.Kaos@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-2.0</License>
<License>CC-By-3.0</License>
<License>GPL-2.0-or-later</License>
<License>CC-BY-3.0</License>
<PartOf>games.arcade</PartOf>
<Summary xml:lang="en">Pseudo-3D-rendered Asteroids clone</Summary>
<Description xml:lang="en">Pseudo-3D-rendered Asteroids clone
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>maelstrom</Name>
Expand All @@ -20,7 +21,7 @@
</Description>
<PartOf>games.arcade</PartOf>
<Files>
<Path fileType="executable">/usr/bin/Maelstrom</Path>
<Path fileType="executable">/usr/bin/maelstrom</Path>
<Path fileType="data">/usr/share/Maelstrom/COPYING</Path>
<Path fileType="data">/usr/share/Maelstrom/COPYING.GPL</Path>
<Path fileType="data">/usr/share/Maelstrom/Docs/Ambrosia_Software,_Inc._FAQ.txt</Path>
Expand Down Expand Up @@ -67,17 +68,18 @@
<Path fileType="data">/usr/share/Maelstrom/README.txt</Path>
<Path fileType="data">/usr/share/Maelstrom/icon.bmp</Path>
<Path fileType="data">/usr/share/Maelstrom/icon.xpm</Path>
<Path fileType="data">/usr/share/applications/Maelstrom.desktop</Path>
<Path fileType="data">/usr/share/pixmaps/maelstrom.png</Path>
<Path fileType="data">/usr/share/applications/org.libsdl.Maelstrom.desktop</Path>
<Path fileType="data">/usr/share/icons/hicolor/512x512/apps/maelstrom.png</Path>
<Path fileType="data">/usr/share/metainfo/org.libsdl.Maelstrom.appdata.xml</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2022-08-22</Date>
<Update release="8">
<Date>2024-01-23</Date>
<Version>3.0.7</Version>
<Comment>Packaging update</Comment>
<Name>Thomas Staudinger</Name>
<Email>Staudi.Kaos@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 8dc5ecb

Please sign in to comment.