From 103a92cc56a94558ed0668e28a90e29a6fc8c3be Mon Sep 17 00:00:00 2001
From: Joey Riches
Date: Mon, 8 Jan 2024 13:30:03 +0000
Subject: [PATCH] package/linux: Provide launchable tags in appstream metainfo
file
By default the .desktop file gets installed to sunshine.desktop, as
such provide the launchable tag for it to help `appstream-builder`
"find" the .desktop file due to the id (Sunshine.desktop) not matching.
Rename the id to just @PRODUCT_NAME@ as well since the .desktop suffix is
no longer required.
Provide URL as well.
Spec: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-launchable
Fixes appstream-builder generation for this package in Solus.
---
packaging/linux/sunshine.appdata.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packaging/linux/sunshine.appdata.xml b/packaging/linux/sunshine.appdata.xml
index fdb6b029bb8..fb6e850ed35 100644
--- a/packaging/linux/sunshine.appdata.xml
+++ b/packaging/linux/sunshine.appdata.xml
@@ -1,6 +1,6 @@
- @PROJECT_NAME@.desktop
+ @PROJECT_NAME@
@PROJECT_LICENSE@
@PROJECT_LICENSE@
@PROJECT_NAME@
@@ -11,6 +11,8 @@
@PROJECT_LONG_DESCRIPTION@
+ sunshine.desktop
+ https://localhost:47990
https://app.lizardbyte.dev/Sunshine/assets/images/AdobeStock_305732536_1920x1280.jpg