From 03d7fb6a1a01e7a0adffd0b083fa4c026efb8f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20F=C3=BCrni=C3=9F?= Date: Wed, 11 Jan 2023 00:15:22 +0100 Subject: [PATCH] Add metainfo file --- data/Makefile.am | 11 +++++++++-- data/spek.metainfo.xml.in | 39 +++++++++++++++++++++++++++++++++++++++ dist/README.md | 1 + 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 data/spek.metainfo.xml.in diff --git a/data/Makefile.am b/data/Makefile.am index ead9910..27f0352 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,8 +6,15 @@ desktopdir = $(datadir)/applications desktop_in_files = spek.desktop.in desktop_DATA = spek.desktop -EXTRA_DIST = spek.desktop.in -CLEANFILES = spek.desktop +appdatadir = $(datadir)/metainfo +appdata_in_files = spek.metainfo.xml.in +appdata_DATA = spek.metainfo.xml + +EXTRA_DIST = spek.desktop.in spek.metainfo.xml.in +CLEANFILES = spek.desktop spek.metainfo.xml spek.desktop: spek.desktop.in $(wildcard $(top_srcdir)/po/*po) $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ + +spek.metainfo.xml: spek.metainfo.xml.in $(wildcard $(top_srcdir)/po/*po) + $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ diff --git a/data/spek.metainfo.xml.in b/data/spek.metainfo.xml.in new file mode 100644 index 0000000..1b0956c --- /dev/null +++ b/data/spek.metainfo.xml.in @@ -0,0 +1,39 @@ + + + cc.spek.Spek + CC0-1.0 + GPL-3.0 + Spek + View spectrograms of your audio files + +

Spek is an acoustic spectrum analyser written in C and C++. It uses FFmpeg libraries for audio decoding and wxWidgets for the GUI.

+
    +
  • Supports all popular lossy and lossless audio file formats thanks to the FFmpeg libraries.
  • +
  • Ultra-fast signal processing, uses multiple threads to further speed up the analysis.
  • +
  • Shows the codec name and the audio signal parameters.
  • +
  • Allows to save the spectrogram as an image file.
  • +
  • Drag-and-drop support; associates with common audio file formats.
  • +
  • Auto-fitting time, frequency and spectral density rulers.
  • +
  • Adjustable spectral density range.
  • +
  • Translated into 19 languages.
  • +
+
+ + + http://spek.cc/flac.png + + + + Audio + AudioVideo + + http://spek.cc/ + https://github.com/alexkay/spek/issues + alexkay + + + + + + +
diff --git a/dist/README.md b/dist/README.md index 33c8327..c314aed 100644 --- a/dist/README.md +++ b/dist/README.md @@ -26,6 +26,7 @@ * Update web/index.html: bump version numbers, binary sizes and news. * Write the blog post, link from web/index.html, don't publish yet. * Upload the tarball + OSX and WIN binaries. + * Update releases section in `data/spek.metainfo.xml.in` * `git tag -a vX.Y.Z`. * `git push origin vX.Y.Z`. * Upload the website using `make upload`.