debian/patches/appdata-launchable.patch: Add launchable tag

This is needed as the .desktop file is not the same as the appdata file
This commit is contained in:
Laurent Bigonville 2022-11-14 09:39:33 +01:00
parent 26afcf7ebd
commit 622db9c453
2 changed files with 11 additions and 0 deletions

10
debian/patches/appdata-launchable.patch vendored Normal file
View File

@ -0,0 +1,10 @@
--- a/scripts/python/app/nut-monitor.appdata.xml
+++ b/scripts/python/app/nut-monitor.appdata.xml
@@ -2,6 +2,7 @@
<!-- Copyright 2014 Arnaud Quette <arnaud.quette@free.fr> -->
<component type="desktop-application">
<id>nut-monitor.desktop</id>
+ <launchable type="desktop-id">nut-monitor-py3qt5.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>NUT Monitor</name>

View File

@ -4,3 +4,4 @@
# Upstream patches
#0013-fix-doc-build.patch
appdata-launchable.patch