Skip to content

Commit

Permalink
appdata: Update appdata
Browse files Browse the repository at this point in the history
- Use appstreamcli to validate appdata
- Fix some appdata issues
- Mark the developer_name tag as untranslatable also deprecated
- Remove useless custom Purism tags
- Add vcs-browser and translate URLs
- Add newly added developer > name tag
- Remove duplicated translation tag
  • Loading branch information
Sabri Ünal committed Dec 27, 2023
1 parent fcd7cc2 commit d1d6043
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
25 changes: 10 additions & 15 deletions data/com.vixalien.sticky.appdata.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@
</ul>
</description>
<screenshots>
<screenshot>
<image>
https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png</image>
<screenshot type="default">
<image>https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/note.png</image>
</screenshot>
<screenshot>
<image>
https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png</image>
<image>https://raw.githubusercontent.com/vixalien/sticky/v0.1.1/data/resources/screenshots/notes.png</image>
</screenshot>
</screenshots>
<launchable type="desktop-id">@[email protected]</launchable>
<url type="homepage">https://github.com/vixalien/sticky</url>
<url type="bugtracker">https://github.com/vixalien/sticky/issues</url>
<url type="vcs-browser">https://github.com/vixalien/sticky</url>
<url type="translate">https://github.com/vixalien/sticky/tree/main/po</url>
<url type="donation">https://www.buymeacoffee.com/vixalien</url>
<developer_name>Angelo Verlain</developer_name>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Angelo Verlain</developer_name>
<developer id="github.com">
<name>Angelo Verlain</name>
</developer>
<update_contact>hey_at_vixalien.com</update_contact>
<translation type="gettext">sticky</translation>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
<requires>
<display_length compare="ge">360</display_length>
</requires>
Expand Down Expand Up @@ -194,9 +194,4 @@
</kudos>
<content_rating type="oars-1.1" />
<provides>@[email protected]</provides>
<translation type="gettext">@gettext-package@</translation>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
</component>
6 changes: 3 additions & 3 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'appdata')
)

appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util, args: ['validate-relax', appstream_file])
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli, args: ['validate', '--no-net', '--explain', appstream_file])
endif

gsettings_conf = configuration_data()
Expand Down

0 comments on commit d1d6043

Please sign in to comment.