Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: media-video/kmplayer/, media-video/kmplayer/files/
Date: Thu, 28 Apr 2016 06:58:39
Message-Id: 1461826293.bc639b4bef5a54de9a41227645c3f4a02fb345f8.johu@gentoo
1 commit: bc639b4bef5a54de9a41227645c3f4a02fb345f8
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 06:51:33 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 06:51:33 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=bc639b4b
7
8 media-video/kmplayer: Remove pkg
9
10 No KDE Frameworks port available. Still uses deprecated kdelibs4. Stable
11 and testing version in gentoo main tree available.
12
13 media-video/kmplayer/files/kmplayer-flash.patch | 12 -----
14 media-video/kmplayer/kmplayer-9999.ebuild | 65 -------------------------
15 media-video/kmplayer/metadata.xml | 15 ------
16 3 files changed, 92 deletions(-)
17
18 diff --git a/media-video/kmplayer/files/kmplayer-flash.patch b/media-video/kmplayer/files/kmplayer-flash.patch
19 deleted file mode 100644
20 index 0a6a72b..0000000
21 --- a/media-video/kmplayer/files/kmplayer-flash.patch
22 +++ /dev/null
23 @@ -1,12 +0,0 @@
24 -diff -urN kmplayer-0.11.3d.old/src/kmplayer_part.desktop kmplayer-0.11.3d/src/kmplayer_part.desktop
25 ---- kmplayer-0.11.3d.old/src/kmplayer_part.desktop 2012-06-10 14:35:46.000000000 +0200
26 -+++ kmplayer-0.11.3d/src/kmplayer_part.desktop 2012-09-11 14:42:04.160426844 +0200
27 -@@ -93,7 +93,7 @@
28 - Comment[zh_TW]=影像播放器外掛程式(與 QuickTime,XMovie,Windows Media 與 RealPlayer 相容)
29 - X-KDE-Library=libkmplayerpart
30 - # Keep in sync with the audio types in kmplayer.desktop
31 --MimeType=application/ogg;application/smil;application/vnd.ms-asf;application/vnd.rn-realmedia;application/x-kmplayer;application/x-mplayer2;application/x-ogg;application/xspf+xml;audio/basic;audio/m3u;audio/mp4;audio/mpeg;audio/mpegurl;audio/vnd.rn-realaudio;audio/vorbis;audio/x-aiff;audio/x-flac;audio/x-m3u;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-mpegurl;audio/x-ms-asx;audio/x-ms-wma;audio/x-musepack;audio/x-mod;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-wav;video/avi;video/mediaplayer;video/mp4;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-avi;video/x-flic;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmp;video/x-ms-wmv;video/x-ogm;video/x-theora;x-scheme-handler/mms;x-scheme-handler/pnm;x-scheme-handler/rtspt;x-scheme-handler/rtspu;
32 -+MimeType=application/x-shockwave-flash;application/ogg;application/smil;application/vnd.ms-asf;application/vnd.rn-realmedia;application/x-kmplayer;application/x-mplayer2;application/x-ogg;application/xspf+xml;audio/basic;audio/m3u;audio/mp4;audio/mpeg;audio/mpegurl;audio/vnd.rn-realaudio;audio/vorbis;audio/x-aiff;audio/x-flac;audio/x-m3u;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-mpegurl;audio/x-ms-asx;audio/x-ms-wma;audio/x-musepack;audio/x-mod;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-wav;video/avi;video/mediaplayer;video/mp4;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-avi;video/x-flic;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmp;video/x-ms-wmv;video/x-ogm;video/x-theora;x-scheme-handler/mms;x-scheme-handler/pnm;x-scheme-handler/rtspt;x-scheme-handler/rtspu;
33 - Type=Service
34 - Icon=kmplayer
35 - X-KDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View,KMediaPlayer/Player
36
37 diff --git a/media-video/kmplayer/kmplayer-9999.ebuild b/media-video/kmplayer/kmplayer-9999.ebuild
38 deleted file mode 100644
39 index 4ecdc52..0000000
40 --- a/media-video/kmplayer/kmplayer-9999.ebuild
41 +++ /dev/null
42 @@ -1,65 +0,0 @@
43 -# Copyright 1999-2016 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -# $Id$
46 -
47 -EAPI=6
48 -
49 -KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fr ga gl hr hu it
50 -ja km ku lt lv mai nb nds nl nn pl pt pt_BR ro ru sk sr sr@latin sv th tr ug uk
51 -zh_CN zh_TW"
52 -KDE_HANDBOOK="optional"
53 -inherit kde4-base
54 -
55 -DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend"
56 -HOMEPAGE="https://projects.kde.org/projects/extragear/multimedia/kmplayer"
57 -
58 -LICENSE="GPL-2 FDL-1.2 LGPL-2.1"
59 -SLOT="4"
60 -KEYWORDS=""
61 -IUSE="cairo debug expat npp"
62 -
63 -DEPEND="
64 - media-libs/phonon[qt4]
65 - x11-libs/libX11
66 - cairo? (
67 - x11-libs/cairo
68 - x11-libs/pango
69 - )
70 - expat? ( >=dev-libs/expat-2.0.1 )
71 - npp? (
72 - $(add_kdeapps_dep kreadconfig)
73 - dev-libs/dbus-glib
74 - www-plugins/adobe-flash
75 - >=x11-libs/gtk+-2.10.14:2
76 - )
77 -"
78 -RDEPEND="${DEPEND}
79 - media-video/mplayer
80 -"
81 -
82 -src_prepare() {
83 - use npp && epatch "${FILESDIR}/${PN}-flash.patch"
84 - sed -e '/add_subdirectory(icons)/d' \
85 - -i CMakeLists.txt || die
86 -
87 - kde4-base_src_prepare
88 -}
89 -
90 -src_configure() {
91 - local mycmakeargs=(
92 - -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo)
93 - -DKMPLAYER_BUILT_WITH_EXPAT=$(usex expat)
94 - -DKMPLAYER_BUILT_WITH_NPP=$(usex npp)
95 - )
96 -
97 - kde4-base_src_configure
98 -}
99 -
100 -src_install() {
101 - kde4-base_src_install
102 -
103 - if use npp; then
104 - kwriteconfig --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp
105 - kwriteconfig --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so
106 - fi
107 -}
108
109 diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml
110 deleted file mode 100644
111 index d4fe1b9..0000000
112 --- a/media-video/kmplayer/metadata.xml
113 +++ /dev/null
114 @@ -1,15 +0,0 @@
115 -<?xml version="1.0" encoding="UTF-8"?>
116 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
117 -<pkgmetadata>
118 - <maintainer type="project">
119 - <email>kde@g.o</email>
120 - <name>Gentoo KDE Project</name>
121 - </maintainer>
122 - <maintainer type="project">
123 - <email>media-video@g.o</email>
124 - <name>Gentoo Video project</name>
125 - </maintainer>
126 - <use>
127 - <flag name="npp">Compile the npp backend that plays xembed style browser plugins.</flag>
128 - </use>
129 -</pkgmetadata>