From 6c659d4e95502d105e8ecda7605a3cfd6591caee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Thu, 4 Jan 2024 23:31:15 +0300 Subject: [PATCH] appdata: Improve appdata for AppStream 1.0 (#838) * appdata: Remove none OARS tags * appdata: Improve appdata for AppStream 1.0 --- com.github.geigi.cozy.json | 1 + data/com.github.geigi.cozy.appdata.xml | 37 +++++--------------------- data/meson.build | 3 ++- 3 files changed, 9 insertions(+), 32 deletions(-) diff --git a/com.github.geigi.cozy.json b/com.github.geigi.cozy.json index f8521006..191855b5 100644 --- a/com.github.geigi.cozy.json +++ b/com.github.geigi.cozy.json @@ -133,6 +133,7 @@ { "name": "cozy", "buildsystem": "meson", + "run-tests": true, "sources": [ { "type": "dir", diff --git a/data/com.github.geigi.cozy.appdata.xml b/data/com.github.geigi.cozy.appdata.xml index 889fd80a..6e8f6e18 100644 --- a/data/com.github.geigi.cozy.appdata.xml +++ b/data/com.github.geigi.cozy.appdata.xml @@ -44,7 +44,11 @@ https://raw.githubusercontent.com/geigi/cozy/img/img/screenshot4.png + Julian Geywitz + + Julian Geywitz + https://cozy.sh https://github.com/geigi/cozy/issues https://matrix.to/#/#cozy:gnome.org?via=matrix.org&via=gnome.org @@ -220,37 +224,8 @@ - - - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - - + + #FB6542 #FFFFFF diff --git a/data/meson.build b/data/meson.build index adcc7595..6a03c242 100644 --- a/data/meson.build +++ b/data/meson.build @@ -50,6 +50,7 @@ appstream_file = i18n.merge_file( appstreamcli = find_program('appstreamcli', required: false) if appstreamcli.found() test('Validate appstream file', appstreamcli, - args: ['validate', '--no-net', appstream_file] + args: ['validate', '--no-net', '--explain', appstream_file], + workdir: meson.current_build_dir() ) endif