Description: Fix AppStream metadata validation errors and warnings
 Update the AppStream ID to reverse-DNS format to resolve the
 cid-desktopapp-is-not-rdns warning. Also, wrap the screenshot URL
 inside an <image> tag to resolve the screenshot-no-media error.
Author: Cord Beermann <cord@debian.org>
Bug: https://github.com/gogglesmm/gogglesmm/issues/117
Forwarded: https://github.com/gogglesmm/gogglesmm/issues/117
Last-Update: 2026-07-10

--- gogglesmm-1.2.5.orig/extra/gogglesmm.appdata.xml
+++ gogglesmm-1.2.5/extra/gogglesmm.appdata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2018 Sander Jansen <s.jansen@gmail.com> -->
 <component type="desktop-application">
-<id type="desktop">gogglesmm.desktop</id>
+<id>io.github.gogglesmm.gogglesmm</id>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
 <name>Goggles Music Manager</name>
@@ -35,7 +35,9 @@
     <release version="1.2.1" type="stable" date="2018-07-31"/>
 </releases>
 <screenshots>
-<screenshot type="default" width="1280" height="720">http://gogglesmm.github.io/images/gogglesmm.png</screenshot>
+    <screenshot type="default">
+        <image width="1280" height="720">https://gogglesmm.github.io/images/gogglesmm.png</image>
+    </screenshot>
 </screenshots>
 <translation type="gettext">gogglesmm</translation>
 <url type="homepage">https://gogglesmm.github.io/</url>
