Skip to content

Commit

Permalink
Modernize the AppStream metadata
Browse files Browse the repository at this point in the history
- Add Winetricks screenshot
- Add OARS metadata that are now required
- Add missing developer_name and launchable tags
- Switch to a rDNS app id format that is now required
- Various fixes to make the file adhere to modern standards
- Remove my copyright and update_contact, keep it only in the d/copyright file
  • Loading branch information
AsciiWolf authored and austin987 committed Aug 8, 2024
1 parent a41ce69 commit b66eb9f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ install:
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/applications
$(INSTALL_DATA) src/winetricks.desktop $(DESTDIR)$(PREFIX)/share/applications/winetricks.desktop
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/metainfo
$(INSTALL_DATA) src/winetricks.appdata.xml $(DESTDIR)$(PREFIX)/share/metainfo/winetricks.appdata.xml
$(INSTALL_DATA) src/io.github.winetricks.Winetricks.metainfo.xml $(DESTDIR)$(PREFIX)/share/metainfo/io.github.winetricks.Winetricks.metainfo.xml
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
$(INSTALL_DATA) src/winetricks.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/winetricks.svg
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Copyright:
2013,2016 André Hentschel <[email protected]>
License: LGPL-2.1+

Files: src/winetricks.appdata.xml
Files: src/io.github.winetricks.Winetricks.metainfo.xml
Copyright:
2017 Daniel Rusek <[email protected]>
License: CC0-1.0
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/io.github.winetricks.Winetricks.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.winetricks.Winetricks</id>
<launchable type="desktop-id">winetricks.desktop</launchable>
<project_license>LGPL-2.1+</project_license>
<metadata_license>CC0-1.0</metadata_license>
<name>Winetricks</name>
<developer_name>Dan Kegel and others</developer_name>
<summary>Work around problems and install applications under Wine</summary>
<description>
<p>
Winetricks is an easy way to work around problems in Wine.
</p>
<p>
It lets you install missing DLLs or tweak various Wine settings individually.
It also has a menu of supported games/apps for which it can do all the workarounds automatically.
</p>
</description>
<url type="homepage">https://github.com/Winetricks/winetricks</url>
<screenshots>
<screenshot type="default">
<caption>Winetricks main window</caption>
<image type="source">https://raw.githubusercontent.com/Winetricks/winetricks/master/screenshot.png</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1"/>
</component>
20 changes: 0 additions & 20 deletions src/winetricks.appdata.xml

This file was deleted.

0 comments on commit b66eb9f

Please sign in to comment.