1 |
commit: 6ba7e69a3bcedb44a9b5389139256ff6637021b4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 16 07:37:17 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 16 08:24:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba7e69a |
7 |
|
8 |
media-video/kmplayer: Drop 0.12.0b-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild | 99 ------------------------- |
14 |
1 file changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild b/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index bb6d4b92d3e..00000000000 |
19 |
--- a/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,99 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-KDE_HANDBOOK="true" |
28 |
-inherit kde5 |
29 |
- |
30 |
-DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend" |
31 |
-HOMEPAGE="https://kmplayer.kde.org" |
32 |
-SRC_URI="mirror://kde/stable/${PN}/${EGIT_BRANCH}/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="GPL-2 FDL-1.2 LGPL-2.1" |
35 |
-KEYWORDS="amd64 x86" |
36 |
-IUSE="cairo npp" |
37 |
- |
38 |
-CDEPEND=" |
39 |
- $(add_frameworks_dep kbookmarks) |
40 |
- $(add_frameworks_dep kcompletion) |
41 |
- $(add_frameworks_dep kconfig) |
42 |
- $(add_frameworks_dep kconfigwidgets) |
43 |
- $(add_frameworks_dep kcoreaddons) |
44 |
- $(add_frameworks_dep kdelibs4support) |
45 |
- $(add_frameworks_dep ki18n) |
46 |
- $(add_frameworks_dep kiconthemes) |
47 |
- $(add_frameworks_dep kio) |
48 |
- $(add_frameworks_dep kmediaplayer) |
49 |
- $(add_frameworks_dep kparts) |
50 |
- $(add_frameworks_dep ktextwidgets) |
51 |
- $(add_frameworks_dep kwidgetsaddons) |
52 |
- $(add_frameworks_dep kxmlgui) |
53 |
- $(add_qt_dep qtdbus) |
54 |
- $(add_qt_dep qtgui) |
55 |
- $(add_qt_dep qtsvg) |
56 |
- $(add_qt_dep qtwidgets) |
57 |
- $(add_qt_dep qtx11extras) |
58 |
- $(add_qt_dep qtxml) |
59 |
- media-libs/phonon[qt5(+)] |
60 |
- x11-libs/libX11 |
61 |
- x11-libs/libxcb |
62 |
- cairo? ( x11-libs/cairo[xcb] ) |
63 |
- npp? ( |
64 |
- dev-libs/dbus-glib |
65 |
- dev-libs/glib:2 |
66 |
- www-plugins/adobe-flash:* |
67 |
- >=x11-libs/gtk+-2.10.14:2 |
68 |
- ) |
69 |
-" |
70 |
-DEPEND="${CDEPEND} |
71 |
- sys-devel/gettext |
72 |
-" |
73 |
-RDEPEND="${CDEPEND} |
74 |
- media-video/mplayer |
75 |
- !media-video/kmplayer:4 |
76 |
-" |
77 |
- |
78 |
-PATCHES=( |
79 |
- "${FILESDIR}"/${P}-schedulerepaint.patch |
80 |
- "${FILESDIR}"/${P}-devpixelratio.patch |
81 |
- "${FILESDIR}"/${P}-qfile.patch |
82 |
- "${FILESDIR}"/${P}-cmake.patch |
83 |
- "${FILESDIR}"/${P}-desktop.patch |
84 |
- "${FILESDIR}"/${P}-qt-5.9.patch |
85 |
- "${FILESDIR}"/${P}-qt-5.11b3.patch |
86 |
-) |
87 |
- |
88 |
-src_prepare() { |
89 |
- # Prerequisite for ${P}-desktop.patch: |
90 |
- mv src/kmplayer.desktop src/org.kde.kmplayer.desktop || die |
91 |
- kde5_src_prepare |
92 |
- |
93 |
- if use npp; then |
94 |
- sed -i src/kmplayer_part.desktop \ |
95 |
- -e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die |
96 |
- fi |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- # 0.12: expat build broken, check in later releases |
101 |
- local mycmakeargs=( |
102 |
- -DKMPLAYER_BUILT_WITH_EXPAT=OFF |
103 |
- -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo) |
104 |
- -DKMPLAYER_BUILT_WITH_NPP=$(usex npp) |
105 |
- ) |
106 |
- |
107 |
- kde5_src_configure |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- kde5_src_install |
112 |
- |
113 |
- if use npp; then |
114 |
- kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" \ |
115 |
- --group "application/x-shockwave-flash" --key player npp |
116 |
- kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" \ |
117 |
- --group "application/x-shockwave-flash" \ |
118 |
- --key plugin /usr/$(get_libdir)/nsbrowser/plugins/libflashplayer.so |
119 |
- fi |
120 |
-} |