[packaging/craft-blueprints-kde] kde/kdegames/chessament: chessament: Add more icons and mimetypes
Manuel Alcaraz Zambrano <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 8c9be856a04bc8eb0b7938a2a6cb8b883171bf4e by Manuel Alcaraz Zambrano.
Committed on 20/07/2026 at 16:14.
Pushed by manuelal into branch 'master'.
chessament: Add more icons and mimetypes
M +9 -2 kde/kdegames/chessament/chessament.py
https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/8c9be856a04bc8eb0b7938a2a6cb8b883171bf4e
diff --git a/kde/kdegames/chessament/chessament.py b/kde/kdegames/chessament/chessament.py
index 49d692d77..f42297ca6 100644
--- a/kde/kdegames/chessament/chessament.py
+++ b/kde/kdegames/chessament/chessament.py
@@ -10,6 +10,7 @@ class subinfo(info.infoclass):
def setTargets(self):
self.displayName = "Chessament"
self.description = "Chess tournament manager"
+ self.webpage = "https://apps.kde.org/chessament/"
self.versionInfo.setDefaultValues(
gitUrl="https://invent.kde.org/games/chessament.git"
@@ -53,10 +54,16 @@ class Package(CraftPackageObject.get("kde").pattern):
"name": "Chessament",
"target": "bin/chessament.exe",
"appId": "chessament",
- "icon": self.buildDir() / "src/CHESSAMENT_ICON.ico",
+ "description": self.subinfo.description,
}
]
- self.defines["icon"] = self.buildDir() / "src/CHESSAMENT_ICON.ico"
+
+ self.defines["icon"] = self.buildDir() / "src/chessament.ico"
+ self.defines["icon_png"] = self.sourceDir() / "icons/150-apps-chessament.png"
+ self.defines["icon_png_44"] = self.sourceDir() / "icons/44-apps-chessament.png"
+
+ self.defines["mimetypes"] = ["application/vdn.kde.chessament"]
+ self.defines["file_types"] = [".chessament"]
self.addExecutableFilter(
r"(bin|libexec)/(?!(chessament|bbpPairings|update-mime-database|snoretoast)).*"