summarylogtreecommitdiffstats
path: root/0001-Add-AppStream-metadata-file.patch
blob: 37d78908c45642edfe713245a272cfe9fa55dc7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From 2e5be972cbdf909aef39c8156fc6f83a52a6cdeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Sat, 1 May 2021 22:33:04 +0200
Subject: [PATCH] Add AppStream metadata file

It's useful for software catalogs to display detailed information about this application.
---
 doc/qnapi.appdata.xml | 35 +++++++++++++++++++++++++++++++++++
 qnapi.pro             |  4 +++-
 2 files changed, 38 insertions(+), 1 deletion(-)
 create mode 100644 doc/qnapi.appdata.xml

diff --git a/doc/qnapi.appdata.xml b/doc/qnapi.appdata.xml
new file mode 100644
index 0000000..ed88899
--- /dev/null
+++ b/doc/qnapi.appdata.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>io.github.qnapi</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>QNapi</name>
+  <summary>A software for downloading and automatic matching subtitles to movies</summary>
+  <description>
+    <p>QNapi is designed to automatically download and match subtitles to a specific movie file. Unlike similar programs, QNapi queries several different subtitle databases to find the best subtitles for your movie. Also, thanks to the QT library, the program runs on various operating systems (Windows, OSX, Linux).</p>
+    <ul>
+      <li>matching subtitles for specific movie file</li>
+      <li>automatic matching the best subtitles</li>
+      <li>select target subtitles format (SRT, mDVD, TMP, MPL2) as well as manual conversion</li>
+      <li>select subtitles, when multiple matching has been found</li>
+      <li>download subtitles in one of many supported languages</li>
+      <li>directory scanning and batch subtitles download</li>
+      <li>subtitles post-processing: change file encoding, set file permissions</li>
+      <li>provides nice command-line interface</li>
+    </ul>
+  </description>
+  <launchable type="desktop-id">qnapi.desktop</launchable>
+  <url type="homepage">https://qnapi.github.io/</url>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://qnapi.github.io/images/screenshots/0.1.7/lin05.png</image>
+    </screenshot>
+  </screenshots>
+  <content_rating type="oars-1.1">
+    <content_attribute id="social-chat">intense</content_attribute>
+  </content_rating>
+  <url type="bugtracker">https://github.com/QNapi/qnapi/issues</url>
+  <url type="help">https://qnapi.github.io/#help</url>
+  <url type="donation">https://qnapi.github.io/#donate</url>
+  <developer_name>Piotr KrzemiƄski</developer_name>
+</component>
diff --git a/qnapi.pro b/qnapi.pro
index 1ba7529..db4e8ec 100644
--- a/qnapi.pro
+++ b/qnapi.pro
@@ -46,7 +46,9 @@ unix {
 
     desktop.path = $${INSTALL_PREFIX}/share/applications
     desktop.files = doc/qnapi.desktop
-    INSTALLS += target doc man man_it man_pl desktop
+    metainfo.path = $${INSTALL_PREFIX}/share/metainfo
+    metainfo.files = doc/qnapi.appdata.xml
+    INSTALLS += target doc man man_it man_pl desktop metainfo
 }
 
 macx {
-- 
2.31.1