Skip to content

Commit af69ece

Browse files
authored
Merge pull request #3 from flathub/update-runtime
Update runtime to 5.15-25.08
2 parents b3c10ce + 8ab335e commit af69ece

File tree

2 files changed

+36
-31
lines changed

2 files changed

+36
-31
lines changed

io.github.qnapi.metainfo.xml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<component type="desktop">
2+
<component type="desktop-application">
33
<id>io.github.qnapi</id>
44
<metadata_license>CC0-1.0</metadata_license>
55
<project_license>GPL-2.0+</project_license>
66
<name>QNapi</name>
77
<summary>A software for downloading and automatic matching subtitles to movies</summary>
88
<description>
99
<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>
10-
<p>Features:
11-
<ul>
12-
<li>matching subtitles for specific movie file</li>
13-
<li>automatic matching the best subtitles</li>
14-
<li>select target subtitles format (SRT, mDVD, TMP, MPL2) as well as manual conversion</li>
15-
<li>select subtitles, when multiple matching has been found</li>
16-
<li>download subtitles in one of many supported languages</li>
17-
<li>directory scanning and batch subtitles download</li>
18-
<li>subtitles post-processing: change file encoding, set file permissions</li>
19-
<li>provides nice command-line interface</li>
20-
</ul>
21-
</p>
10+
<p>Features:</p>
11+
<ul>
12+
<li>matching subtitles for specific movie file</li>
13+
<li>automatic matching the best subtitles</li>
14+
<li>select target subtitles format (SRT, mDVD, TMP, MPL2) as well as manual conversion</li>
15+
<li>select subtitles, when multiple matching has been found</li>
16+
<li>download subtitles in one of many supported languages</li>
17+
<li>directory scanning and batch subtitles download</li>
18+
<li>subtitles post-processing: change file encoding, set file permissions</li>
19+
<li>provides nice command-line interface</li>
20+
</ul>
2221
</description>
2322
<launchable type="desktop-id">io.github.qnapi.desktop</launchable>
2423
<url type="homepage">https://qnapi.github.io/</url>
24+
<url type="bugtracker">https://github.com/QNapi/qnapi/issues</url>
25+
<url type="vcs-browser">https://github.com/QNapi/qnapi</url>
26+
<url type="help">https://qnapi.github.io/#help</url>
27+
<developer id="io.github.qnapi">
28+
<name>QNapi</name>
29+
</developer>
2530
<screenshots>
2631
<screenshot type="default">
2732
<image>https://qnapi.github.io/images/screenshots/0.1.7/lin05.png</image>
33+
<caption></caption>
2834
</screenshot>
2935
</screenshots>
30-
<content_rating type="oars-1.1">
31-
<content_attribute id="social-chat">intense</content_attribute>
32-
</content_rating>
33-
<url type="bugtracker">https://github.com/QNapi/qnapi/issues</url>
34-
<url type="help">https://qnapi.github.io/#help</url>
36+
<content_rating type="oars-1.1"/>
3537
<releases>
3638
<release date="2017-05-17" version="0.2.3" />
3739
</releases>

io.github.qnapi.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
app-id: io.github.qnapi
22
runtime: org.kde.Platform
33
sdk: org.kde.Sdk
4-
runtime-version: "5.14"
4+
runtime-version: 5.15-25.08
55
command: qnapi
66
rename-icon: qnapi
77
rename-desktop-file: qnapi.desktop
@@ -17,7 +17,6 @@ finish-args:
1717
- --filesystem=xdg-videos
1818
- --talk-name=org.kde.StatusNotifierWatcher
1919
- --talk-name=org.freedesktop.Notifications
20-
- --own-name=org.kde.*
2120

2221
cleanup:
2322
- /include
@@ -29,15 +28,20 @@ cleanup:
2928
modules:
3029
- name: p7zip
3130
no-autogen: true
32-
make-args:
33-
- 7z
3431
sources:
3532
- type: archive
36-
url: https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2
37-
sha256: 5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
33+
url: https://github.com/p7zip-project/p7zip/archive/v17.06/p7zip-v17.06.tar.gz
34+
sha256: c35640020e8f044b425d9c18e1808ff9206dc7caf77c9720f57eb0849d714cd1
35+
x-checker-data:
36+
type: anitya
37+
project-id: 2583
38+
stable-only: true
39+
url-template: https://github.com/p7zip-project/p7zip/archive/v$version/p7zip-v$version.tar.gz
3840
- type: shell
3941
commands:
40-
- sed -i 's|/usr/local|/app|g' makefile.common
42+
- sed -i 's|/usr/local|${FLATPAK_DEST}|g' makefile.common
43+
cleanup:
44+
- /man
4145

4246
- name: libzen
4347
subdir: "Project/GNU/Library"
@@ -57,16 +61,15 @@ modules:
5761

5862
- name: qnapi
5963
buildsystem: qmake
64+
post-install:
65+
- install -Dm644 io.github.qnapi.metainfo.xml /app/share/metainfo/io.github.qnapi.metainfo.xml
6066
sources:
6167
- type: git
6268
url: https://github.com/QNapi/qnapi.git
6369
commit: e8e31be11acbc780f0684bfb32f06736c4fceb85
6470
- type: patch
65-
path: qnapi-pro.patch
66-
- type: patch
67-
path: subdatawidget.patch
71+
paths:
72+
- qnapi-pro.patch
73+
- subdatawidget.patch
6874
- type: file
6975
path: io.github.qnapi.metainfo.xml
70-
71-
post-install:
72-
- install -Dm644 io.github.qnapi.metainfo.xml /app/share/metainfo/io.github.qnapi.metainfo.xml

0 commit comments

Comments
 (0)