From: NoisyCoil <noisycoil@debian.org>
Date: Wed, 11 Feb 2026 18:34:14 +0100
Subject: Replace appstream-util with appstreamcli

appstream-util is deprecated. Use appstreamcli instead.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c1736b2..dc3c42a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ appdata-test:
 	gnome-software --show-metainfo=$(ROOTDIR)/res/$(APP_ID).metainfo.xml,icon=$(ROOTDIR)/res/$(APP_ID).svg
 
 appdata-validate:
-	appstream-util validate-strict res/$(APP_ID).metainfo.xml
+	appstreamcli validate --pedantic res/$(APP_ID).metainfo.xml
 
 build:
 	cargo build $(RUSTFLAGS)
@@ -26,7 +26,7 @@ check-bin:
 
 check-data:
 	desktop-file-validate res/$(APP_ID).desktop
-	appstream-util validate-relax --nonet res/$(APP_ID).metainfo.xml
+	appstreamcli validate --no-net --pedantic=no res/$(APP_ID).metainfo.xml
 
 clean:
 	rm -rf target
