Skip to content

Commit

Permalink
Added AppStream metainfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlynxZhou committed May 16, 2022
1 parent 6ae578e commit 815cf82
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 5 deletions.
Binary file added dists/icons/128x128/one.alynx.FlipClock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dists/icons/64x64/one.alynx.FlipClock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
4 changes: 2 additions & 2 deletions dists/one.alynx.FlipClock.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Type=Application
Name=FlipClock
Comment=A flip clock screensaver supported by SDL2.
Icon=one.alynx.FlipClock
Exec=flipclock
Exec=@package_bindir@/flipclock
TryExec=@package_bindir@/flipclock
StartupNotify=false
Terminal=false
Categories=Game
Categories=Utility;Clock;
62 changes: 62 additions & 0 deletions dists/one.alynx.FlipClock.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Alynx Zhou -->
<component type="desktop-application">
<id>one.alynx.FlipClock</id>

<name>FlipClock</name>
<summary>A flip clock screensaver supported by SDL2.</summary>

<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>Apache-2.0</project_license>

<content_rating type="oars-1.1" />

<launchable type="desktop-id">one.alynx.FlipClock.desktop</launchable>

<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
<control>tablet</control>
</supports>

<description>
<p>
A flip clock screensaver supported by SDL2. It simulates a flip clock, displays time in digit cards and will flip cards if time changes.
</p>
</description>
<url type="homepage">https://flipclock.alynx.one/</url>
<screenshots>
<screenshot type="default">
<image>https://flipclock.alynx.one/images/screenshot-1.png</image>
</screenshot>
<screenshot>
<image>https://flipclock.alynx.one/images/screenshot-2.png</image>
</screenshot>
<screenshot>
<image>https://flipclock.alynx.one/images/screenshot-3.png</image>
</screenshot>
<screenshot>
<image>https://flipclock.alynx.one/images/screenshot-4.png</image>
</screenshot>
</screenshots>

<releases>
<release version="2.8.6" date="2022-05-16">
<description>
<p>Updated configuration files loading sequence.</p>
</description>
</release>
<release version="2.8.5" date="2022-05-16">
<description>
<p>Updated to follow Freedesktop specifications.</p>
</description>
</release>
<release version="2.8.4" date="2022-05-16">
<description>
<p>Dropped CMake support: I am unable to maintain two different build systems, Meson works better for myself.</p>
<p>Updated to use Meson options instead of hard-coded bin dir: You can now use Meson's --bindir option to custom binary install path.</p>
</description>
</release>
</releases>
</component>
Binary file removed dists/one.alynx.FlipClock.png
Binary file not shown.
14 changes: 11 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,21 @@ if host_machine.system() == 'linux'
install_dir: get_option('datadir') / 'fonts'
)
install_data(
'dists' / 'one.alynx.FlipClock.png',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / '48x48' / 'apps'
'dists' / 'icons' / '128x128' / 'one.alynx.FlipClock.png',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / '128x128' / 'apps'
)
install_data(
'dists' / 'one.alynx.FlipClock.svg',
'dists' / 'icons' / '64x64' / 'one.alynx.FlipClock.png',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / '64x64' / 'apps'
)
install_data(
'dists' / 'icons' / 'scalable' / 'one.alynx.FlipClock.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)
install_data(
'dists' / 'one.alynx.FlipClock.metainfo.xml',
install_dir: get_option('datadir') / 'metainfo'
)
install_data(
'LICENSE',
install_dir: get_option('datadir') / 'licenses' / meson.project_name()
Expand Down

0 comments on commit 815cf82

Please sign in to comment.