1 |
commit: fd173d23a57391e6f6827db5d1b23e3d8cd9f383 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 29 15:01:40 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 29 15:02:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd173d23 |
7 |
|
8 |
media-video/subtitlecomposer: Fix .desktop file |
9 |
|
10 |
Closes: https://bugs.gentoo.org/745429 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../subtitlecomposer-0.7.0-valid-desktop-file.patch | 21 +++++++++++++++++++++ |
15 |
.../subtitlecomposer/subtitlecomposer-0.7.0.ebuild | 5 ++++- |
16 |
2 files changed, 25 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-valid-desktop-file.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-valid-desktop-file.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..0ee0311bcf0 |
21 |
--- /dev/null |
22 |
+++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-valid-desktop-file.patch |
23 |
@@ -0,0 +1,21 @@ |
24 |
+From ce2a1a94a6a0802d9a289d701e76b7975d5baa0d Mon Sep 17 00:00:00 2001 |
25 |
+From: Mladen Milinkovic <maxrd2@××××××××××.net> |
26 |
+Date: Thu, 9 Apr 2020 12:21:07 +0200 |
27 |
+Subject: [PATCH] Removed invalid subpicture/x-pgs mime - refs #20 |
28 |
+ |
29 |
+--- |
30 |
+ src/subtitlecomposer.desktop | 2 +- |
31 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
32 |
+ |
33 |
+diff --git a/src/subtitlecomposer.desktop b/src/subtitlecomposer.desktop |
34 |
+index 4195b076..af8a80af 100644 |
35 |
+--- a/src/subtitlecomposer.desktop |
36 |
++++ b/src/subtitlecomposer.desktop |
37 |
+@@ -14,6 +14,6 @@ |
38 |
+ Comment[hr]=KDE uređivač podnaslova |
39 |
+ Icon=subtitlecomposer |
40 |
+ Exec=subtitlecomposer %f |
41 |
+-MimeType=text/x-ssa;text/x-ass;text/x-microdvd;text/x-mpsub;application/x-subrip;text/x-subviewer;text/x-mplsub;text/x-tmplayer;text/x-tmplayer+;application/x-vobsub;subpicture/x-pgs;video/mp2t;application/x-vobsub;video/x-matroska;video/mp4; |
42 |
++MimeType=text/x-ssa;text/x-ass;text/x-microdvd;text/x-mpsub;application/x-subrip;text/x-subviewer;text/x-mplsub;text/x-tmplayer;text/x-tmplayer+;application/x-vobsub;video/mp2t;application/x-vobsub;video/x-matroska;video/mp4; |
43 |
+ Terminal=false |
44 |
+ Categories=Qt;KDE;AudioVideo; |
45 |
|
46 |
diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
47 |
index 87743030541..d5fe989dd52 100644 |
48 |
--- a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
49 |
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild |
50 |
@@ -54,7 +54,10 @@ DEPEND=" |
51 |
" |
52 |
RDEPEND="${DEPEND}" |
53 |
|
54 |
-PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) |
55 |
+PATCHES=( |
56 |
+ "${FILESDIR}/${P}-tests-optional.patch" |
57 |
+ "${FILESDIR}/${P}-valid-desktop-file.patch" # bug 745429 |
58 |
+) |
59 |
|
60 |
S="${WORKDIR}/SubtitleComposer-${PV}" |