From 3f8064065f0fe4b8d7e015b5fe01edfdb2769669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Thu, 28 Dec 2023 22:39:01 +0300 Subject: [PATCH] appdata: Improve appdata for AppStream 1.0 - Add the `` tag - Mark the `` tag as deprecated - Use --no-net argument for appstreamcli to reduce traffic --- data/com.github.huluti.Curtail.appdata.xml.in | 5 ++++- data/meson.build | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data/com.github.huluti.Curtail.appdata.xml.in b/data/com.github.huluti.Curtail.appdata.xml.in index fde53a1..db72af7 100644 --- a/data/com.github.huluti.Curtail.appdata.xml.in +++ b/data/com.github.huluti.Curtail.appdata.xml.in @@ -11,7 +11,11 @@

Optimize your images with Curtail, a useful image compressor that supports PNG, JPEG, WebP and SVG file types.

It supports both lossless and lossy compression modes with an option to whether keep or not metadata of images.

+ Hugo Posnic + + Hugo Posnic + hugo.posnic@protonmail.com https://github.com/Huluti/Curtail https://github.com/Huluti/Curtail/issues @@ -358,4 +362,3 @@ - diff --git a/data/meson.build b/data/meson.build index 43c63ad..edbff44 100644 --- a/data/meson.build +++ b/data/meson.build @@ -36,7 +36,8 @@ appstream_file = i18n.merge_file( appstreamcli = find_program('appstreamcli', required: false) if appstreamcli.found() test('Validate appstream file', appstreamcli, - args: ['validate', appstream_file] + args: ['validate', '--no-net', '--explain', appstream_file], + workdir: meson.current_build_dir() ) endif