diff options
author | Johannes Huber <johu@gentoo.org> | 2016-06-03 14:03:03 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-06-03 14:03:03 +0200 |
commit | 734c14696a77d939076553320533cc4927865eac (patch) | |
tree | 1c370e8a0f25bc7649020f4b78f4af7367cfde56 /media-video/kaffeine | |
parent | media-video/kaffeine: Disable tools build option (diff) | |
download | kde-734c14696a77d939076553320533cc4927865eac.tar.gz kde-734c14696a77d939076553320533cc4927865eac.tar.bz2 kde-734c14696a77d939076553320533cc4927865eac.zip |
media-video/kaffeine: Fix desktop file warning
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-video/kaffeine')
-rw-r--r-- | media-video/kaffeine/files/kaffeine-2.0.1-desktop-file.patch | 25 | ||||
-rw-r--r-- | media-video/kaffeine/kaffeine-9999.ebuild | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/media-video/kaffeine/files/kaffeine-2.0.1-desktop-file.patch b/media-video/kaffeine/files/kaffeine-2.0.1-desktop-file.patch new file mode 100644 index 0000000000..1558aefc44 --- /dev/null +++ b/media-video/kaffeine/files/kaffeine-2.0.1-desktop-file.patch @@ -0,0 +1,25 @@ +From 534d90f280b7aea3fa3006d858729cc2d606cee6 Mon Sep 17 00:00:00 2001 +From: Johannes Huber <johu@gentoo.org> +Date: Fri, 3 Jun 2016 13:59:11 +0200 +Subject: [PATCH] Fix desktop file + +--- + src/kaffeine.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kaffeine.desktop b/src/kaffeine.desktop +index dee82c4..0095a07 100644 +--- a/src/kaffeine.desktop ++++ b/src/kaffeine.desktop +@@ -127,7 +127,7 @@ GenericName[zh_CN]=媒体播放器 + GenericName[zh_TW]=媒體播放器 + Categories=Qt;KDE;AudioVideo;Player; + Icon=kaffeine +-MimeType=application/ogg;application/ram;application/vnd.rn-realmedia;application/x-matroska;application/x-ogg;application/x-quicktime-media-link;application/x-shockwave-flash;application/x-shorten;application/xspf+xml;audio/ac3;audio/amr;audio/amr-wb;audio/basic;audio/flac;audio/mp4;audio/mpeg;audio/ogg;audio/vnd.rn-realaudio;audio/webm;audio/x-aiff;audio/x-flac;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asx;audio/x-ms-wma;audio/x-musepack;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-tta;audio/x-voc;audio/x-vorbis+ogg;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;skip;video/dv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/webm;video/x-anim;video/x-avi;video/x-fli;video/x-flic;video/x-flv;video/x-matroska;video/x-mng;video/x-mpeg;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-ogm+ogg;x-content/audio-cdda;x-content/audio-player;x-content/video-dvd;x-content/video-svcd;x-content/video-vcd; ++MimeType=application/ogg;application/ram;application/vnd.rn-realmedia;application/x-matroska;application/x-ogg;application/x-quicktime-media-link;application/x-shockwave-flash;application/x-shorten;application/xspf+xml;audio/ac3;audio/amr;audio/amr-wb;audio/basic;audio/flac;audio/mp4;audio/mpeg;audio/ogg;audio/vnd.rn-realaudio;audio/webm;audio/x-aiff;audio/x-flac;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asx;audio/x-ms-wma;audio/x-musepack;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-tta;audio/x-voc;audio/x-vorbis+ogg;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;x-scheme-handler/skip;video/dv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/webm;video/x-anim;video/x-avi;video/x-fli;video/x-flic;video/x-flv;video/x-matroska;video/x-mng;video/x-mpeg;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-ogm+ogg;x-content/audio-cdda;x-content/audio-player;x-content/video-dvd;x-content/video-svcd;x-content/video-vcd; + Terminal=false + Type=Application + X-KDE-HasTempFileOption=true +-- +2.8.3 + diff --git a/media-video/kaffeine/kaffeine-9999.ebuild b/media-video/kaffeine/kaffeine-9999.ebuild index 2e712c217e..0736122911 100644 --- a/media-video/kaffeine/kaffeine-9999.ebuild +++ b/media-video/kaffeine/kaffeine-9999.ebuild @@ -4,7 +4,6 @@ EAPI=6 -# TODO: desktop file has warnings inherit kde5 DESCRIPTION="Media player with digital TV support by KDE" @@ -40,6 +39,8 @@ RDEPEND="${DEPEND} DOCS=( Changelog NOTES README ) +PATCHES=( "${FILESDIR}/${PN}-2.0.1-desktop-file.patch" ) + src_configure() { # tools working on $HOME directory for a local git checkout local mycmakeargs=( |