Skip to content

Commit 03d7fb6

Browse files
nalsaialexkay
authored andcommitted
Add metainfo file
1 parent e08e926 commit 03d7fb6

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

data/Makefile.am

+9-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ desktopdir = $(datadir)/applications
66
desktop_in_files = spek.desktop.in
77
desktop_DATA = spek.desktop
88

9-
EXTRA_DIST = spek.desktop.in
10-
CLEANFILES = spek.desktop
9+
appdatadir = $(datadir)/metainfo
10+
appdata_in_files = spek.metainfo.xml.in
11+
appdata_DATA = spek.metainfo.xml
12+
13+
EXTRA_DIST = spek.desktop.in spek.metainfo.xml.in
14+
CLEANFILES = spek.desktop spek.metainfo.xml
1115

1216
spek.desktop: spek.desktop.in $(wildcard $(top_srcdir)/po/*po)
1317
$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
18+
19+
spek.metainfo.xml: spek.metainfo.xml.in $(wildcard $(top_srcdir)/po/*po)
20+
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

data/spek.metainfo.xml.in

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>cc.spek.Spek</id>
4+
<metadata_license>CC0-1.0</metadata_license>
5+
<project_license>GPL-3.0</project_license>
6+
<name>Spek</name>
7+
<summary>View spectrograms of your audio files</summary>
8+
<description>
9+
<p>Spek is an acoustic spectrum analyser written in C and C++. It uses FFmpeg libraries for audio decoding and wxWidgets for the GUI.</p>
10+
<ul>
11+
<li>Supports all popular lossy and lossless audio file formats thanks to the FFmpeg libraries.</li>
12+
<li>Ultra-fast signal processing, uses multiple threads to further speed up the analysis.</li>
13+
<li>Shows the codec name and the audio signal parameters.</li>
14+
<li>Allows to save the spectrogram as an image file.</li>
15+
<li>Drag-and-drop support; associates with common audio file formats.</li>
16+
<li>Auto-fitting time, frequency and spectral density rulers.</li>
17+
<li>Adjustable spectral density range.</li>
18+
<li>Translated into 19 languages.</li>
19+
</ul>
20+
</description>
21+
<screenshots>
22+
<screenshot type="default">
23+
<image>http://spek.cc/flac.png</image>
24+
</screenshot>
25+
</screenshots>
26+
<categories>
27+
<category>Audio</category>
28+
<category>AudioVideo</category>
29+
</categories>
30+
<url type="homepage">http://spek.cc/</url>
31+
<url type="bugtracker">https://github.com/alexkay/spek/issues</url>
32+
<developer_name>alexkay</developer_name>
33+
<content_rating type="oars-1.1" />
34+
<releases>
35+
<release version="0.8.5" date="2023-01-10"/>
36+
<release version="0.8.4" date="2022-07-11"/>
37+
<release version="0.8.2" date="2016-01-19"/>
38+
</releases>
39+
</component>

dist/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* Update web/index.html: bump version numbers, binary sizes and news.
2727
* Write the blog post, link from web/index.html, don't publish yet.
2828
* Upload the tarball + OSX and WIN binaries.
29+
* Update releases section in `data/spek.metainfo.xml.in`
2930
* `git tag -a vX.Y.Z`.
3031
* `git push origin vX.Y.Z`.
3132
* Upload the website using `make upload`.

0 commit comments

Comments
 (0)