Skip to content

Commit

Permalink
New screenshots, build metainfo correctly for devel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketok4321 committed Jan 27, 2024
1 parent 9f16e89 commit 25221fd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Speedtest
A graphical [librespeed](https://librespeed.org) client written using gtk4 + libadwaita

<img src="https://gowno.ketok.xyz/screenshots/speedtest/2.png?" width="722">
<img src="screenshots/2.png" width="772">

## Instalation
### Flatpak
Expand Down
8 changes: 7 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ if desktop_utils.found()
test('Validate desktop file', desktop_utils, args: [desktop_file])
endif

appstream_file_in = configure_file(
input: 'xyz.ketok.Speedtest.metainfo.xml.in',
output: '@app_id@.metainfo.xml.in',
configuration: conf,
)

appstream_file = i18n.merge_file(
input: 'xyz.ketok.Speedtest.metainfo.xml.in',
input: appstream_file_in,
output: f'@app_id@.metainfo.xml',
po_dir: '../po',
install: true,
Expand Down
8 changes: 4 additions & 4 deletions data/xyz.ketok.Speedtest.metainfo.xml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>xyz.ketok.Speedtest</id>
<id>@APP_ID@</id>

<name>Speedtest</name>
<summary>Measure your internet connection speed</summary>
Expand All @@ -13,10 +13,10 @@

<screenshots>
<screenshot type="default">
<image>https://gowno.ketok.xyz/screenshots/speedtest/1.png</image>
<image>https://raw.githubusercontent.com/Ketok4321/speedtest/main/screenshots/1.png</image>
</screenshot>
<screenshot>
<image>https://gowno.ketok.xyz/screenshots/speedtest/2.png</image>
<image>https://raw.githubusercontent.com/Ketok4321/speedtest/main/screenshots/2.png</image>
</screenshot>
</screenshots>

Expand All @@ -28,7 +28,7 @@

<content_rating type="oars-1.1" />

<launchable type="desktop-id">xyz.ketok.Speedtest.desktop</launchable>
<launchable type="desktop-id">@APP_ID@.desktop</launchable>

<releases>
<release version="1.2.1" date="2023-12-24">
Expand Down
Binary file added screenshots/1.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 screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25221fd

Please sign in to comment.