commit: fd173d23a57391e6f6827db5d1b23e3d8cd9f383 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Sep 29 15:01:40 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Sep 29 15:02:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd173d23
media-video/subtitlecomposer: Fix .desktop file Closes: https://bugs.gentoo.org/745429 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../subtitlecomposer-0.7.0-valid-desktop-file.patch | 21 +++++++++++++++++++++ .../subtitlecomposer/subtitlecomposer-0.7.0.ebuild | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) 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 new file mode 100644 index 00000000000..0ee0311bcf0 --- /dev/null +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-valid-desktop-file.patch @@ -0,0 +1,21 @@ +From ce2a1a94a6a0802d9a289d701e76b7975d5baa0d Mon Sep 17 00:00:00 2001 +From: Mladen Milinkovic <[email protected]> +Date: Thu, 9 Apr 2020 12:21:07 +0200 +Subject: [PATCH] Removed invalid subpicture/x-pgs mime - refs #20 + +--- + src/subtitlecomposer.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/subtitlecomposer.desktop b/src/subtitlecomposer.desktop +index 4195b076..af8a80af 100644 +--- a/src/subtitlecomposer.desktop ++++ b/src/subtitlecomposer.desktop +@@ -14,6 +14,6 @@ + Comment[hr]=KDE uređivač podnaslova + Icon=subtitlecomposer + Exec=subtitlecomposer %f +-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; ++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; + Terminal=false + Categories=Qt;KDE;AudioVideo; diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild index 87743030541..d5fe989dd52 100644 --- a/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild +++ b/media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild @@ -54,7 +54,10 @@ DEPEND=" " RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) +PATCHES=( + "${FILESDIR}/${P}-tests-optional.patch" + "${FILESDIR}/${P}-valid-desktop-file.patch" # bug 745429 +) S="${WORKDIR}/SubtitleComposer-${PV}"
