diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-29 17:01:40 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-29 17:02:06 +0200 |
commit | fd173d23a57391e6f6827db5d1b23e3d8cd9f383 (patch) | |
tree | d366412db93807a2138352679690275ab6b79293 | |
parent | dev-python/setuptools: set DISTUTILS_USE_SETUPTOOLS=manual (diff) | |
download | gentoo-fd173d23a57391e6f6827db5d1b23e3d8cd9f383.tar.gz gentoo-fd173d23a57391e6f6827db5d1b23e3d8cd9f383.tar.bz2 gentoo-fd173d23a57391e6f6827db5d1b23e3d8cd9f383.zip |
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@gentoo.org>
-rw-r--r-- | media-video/subtitlecomposer/files/subtitlecomposer-0.7.0-valid-desktop-file.patch | 21 | ||||
-rw-r--r-- | media-video/subtitlecomposer/subtitlecomposer-0.7.0.ebuild | 5 |
2 files changed, 25 insertions, 1 deletions
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 000000000000..0ee0311bcf02 --- /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 <maxrd2@smoothware.net> +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 87743030541f..d5fe989dd52a 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}" |