From 7a20f5aa259c6c72da470919aadb22420601cbb9 Mon Sep 17 00:00:00 2001 From: Muhammad Alfi Syahrin Date: Mon, 25 Nov 2024 10:15:26 +0700 Subject: [PATCH] xonotic: Add appstream metainfo **Summary** Add appstream metainfo (Part of getsolus/packages#1389) --- packages/x/xonotic/abi_symbols | 1 + packages/x/xonotic/package.yml | 11 +++++------ packages/x/xonotic/pspec_x86_64.xml | 17 +++++++++-------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/packages/x/xonotic/abi_symbols b/packages/x/xonotic/abi_symbols index 340b02f200a..2e02c4e8b61 100644 --- a/packages/x/xonotic/abi_symbols +++ b/packages/x/xonotic/abi_symbols @@ -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 diff --git a/packages/x/xonotic/package.yml b/packages/x/xonotic/package.yml index c9caaf1d28e..d675a1d9606 100644 --- a/packages/x/xonotic/package.yml +++ b/packages/x/xonotic/package.yml @@ -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: | @@ -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 @@ -55,9 +55,7 @@ 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 @@ -65,3 +63,4 @@ install : | "$installdir/usr/share/icons/hicolor/${size}x${size}/apps/xonotic.png" done + install -Dm00644 misc/logos/*.xml -t $installdir/usr/share/metainfo diff --git a/packages/x/xonotic/pspec_x86_64.xml b/packages/x/xonotic/pspec_x86_64.xml index 8db980b5165..41859ad9a7f 100644 --- a/packages/x/xonotic/pspec_x86_64.xml +++ b/packages/x/xonotic/pspec_x86_64.xml @@ -3,11 +3,11 @@ xonotic https://xonotic.org/ - Algent Albrahimi - algent@protonmail.com + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com GPL-2.0-or-later - GPL-3.0-or-laer + GPL-3.0-or-later games.action Xonotic - The Free and Fast Arena Shooter 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. @@ -38,6 +38,7 @@ /usr/share/icons/hicolor/48x48/apps/xonotic.png /usr/share/icons/hicolor/512x512/apps/xonotic.png /usr/share/icons/hicolor/64x64/apps/xonotic.png + /usr/share/metainfo/xonotic.appdata.xml /usr/share/xonotic/data/font-unifont-20230620.pk3 /usr/share/xonotic/data/font-xolonium-20230620.pk3 /usr/share/xonotic/data/xonotic-20230620-data.pk3 @@ -55,7 +56,7 @@ programming.devel - xonotic + xonotic /usr/include/d0_blind_id/d0.h @@ -65,12 +66,12 @@ - - 2023-12-04 + + 2024-11-25 0.8.6 Packaging update - Algent Albrahimi - algent@protonmail.com + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com \ No newline at end of file