Skip to content

Commit

Permalink
xonotic: Add appstream metainfo (#4451)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjharder authored Nov 25, 2024
2 parents 20a2973 + 7a20f5a commit 5237005
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions packages/x/xonotic/abi_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ xonotic-glx:stderr
xonotic-glx:stdout
xonotic-glx:strlcat
xonotic-glx:strlcpy
xonotic-sdl:history
xonotic-sdl:main
xonotic-sdl:stderr
xonotic-sdl:stdout
Expand Down
11 changes: 5 additions & 6 deletions packages/x/xonotic/package.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name : xonotic
version : 0.8.6
release : 9
release : 10
source :
- http://dl.xonotic.org/xonotic-0.8.6.zip : 50850f8d800e7499722f6ea61e478e96464a375494b5a24da93aa0598cbe964d
homepage : https://xonotic.org/
license :
- GPL-2.0-or-later
- GPL-3.0-or-laer
- GPL-3.0-or-later
component : games.action
summary : Xonotic - The Free and Fast Arena Shooter
description: |
Expand Down Expand Up @@ -39,7 +39,7 @@ build : |
# compile server
%make DP_FS_BASEDIR=/usr/share/xonotic sv-release
# compile sdl client
%make DP_FS_BASEDIR=/usr/share/xonotic sdl-release
%make DP_FS_BASEDIR=/usr/share/xonotic sdl-release
popd
install : |
pushd $workdir/source/d0_blind_id
Expand All @@ -55,13 +55,12 @@ install : |
install -Dm00644 data/*.pk3 -t $installdir/usr/share/xonotic/data
install -Dm00644 key_0.d0pk $installdir/usr/share/xonotic
# shortcuts and icons
sed -i 's|^\(Icon=\).*|\1xonotic|g' misc/logos/*.desktop
# desktop file, icons and appstream metainfo
install -Dm00644 misc/logos/*.desktop -t $installdir/usr/share/applications
for size in 16 22 24 32 48 64 128 256 512; do
install -Dm00644 misc/logos/icons_png/xonotic_${size}.png \
"$installdir/usr/share/icons/hicolor/${size}x${size}/apps/xonotic.png"
done
install -Dm00644 misc/logos/*.xml -t $installdir/usr/share/metainfo
17 changes: 9 additions & 8 deletions packages/x/xonotic/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<Name>xonotic</Name>
<Homepage>https://xonotic.org/</Homepage>
<Packager>
<Name>Algent Albrahimi</Name>
<Email>algent@protonmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<License>GPL-3.0-or-laer</License>
<License>GPL-3.0-or-later</License>
<PartOf>games.action</PartOf>
<Summary xml:lang="en">Xonotic - The Free and Fast Arena Shooter</Summary>
<Description xml:lang="en">Xonotic is an addictive, arena-style first person shooter with crisp movement and a wide array of weapons. It combines intuitive mechanics with in-your-face action to elevate your heart rate.
Expand Down Expand Up @@ -38,6 +38,7 @@
<Path fileType="data">/usr/share/icons/hicolor/48x48/apps/xonotic.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/512x512/apps/xonotic.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64/apps/xonotic.png</Path>
<Path fileType="data">/usr/share/metainfo/xonotic.appdata.xml</Path>
<Path fileType="data">/usr/share/xonotic/data/font-unifont-20230620.pk3</Path>
<Path fileType="data">/usr/share/xonotic/data/font-xolonium-20230620.pk3</Path>
<Path fileType="data">/usr/share/xonotic/data/xonotic-20230620-data.pk3</Path>
Expand All @@ -55,7 +56,7 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="9">xonotic</Dependency>
<Dependency release="10">xonotic</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/d0_blind_id/d0.h</Path>
Expand All @@ -65,12 +66,12 @@
</Files>
</Package>
<History>
<Update release="9">
<Date>2023-12-04</Date>
<Update release="10">
<Date>2024-11-25</Date>
<Version>0.8.6</Version>
<Comment>Packaging update</Comment>
<Name>Algent Albrahimi</Name>
<Email>algent@protonmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 5237005

Please sign in to comment.