Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/konsole/
Date: Thu, 24 Sep 2015 19:29:43
Message-Id: 1443122965.4da17bc0ba54412fc25afbe7e7a01cdd9d42649a.kensington@gentoo
1 commit: 4da17bc0ba54412fc25afbe7e7a01cdd9d42649a
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 9 00:33:31 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 24 19:29:25 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da17bc0
7
8 kde-apps/konsole: Disable LibKonq if USE=minimal
9
10 LibKonq is required for drag-n-drop menus in konsole application.
11 USE=minimal only installs konsolepart though, so disable it.
12 One less blocker against kde-apps/libkonq:5
13
14 Package-Manager: portage-2.2.20.1
15
16 kde-apps/konsole/konsole-4.14.3-r1.ebuild | 55 +++++++++++++++++++++++++++++++
17 1 file changed, 55 insertions(+)
18
19 diff --git a/kde-apps/konsole/konsole-4.14.3-r1.ebuild b/kde-apps/konsole/konsole-4.14.3-r1.ebuild
20 new file mode 100644
21 index 0000000..f5cb4e9
22 --- /dev/null
23 +++ b/kde-apps/konsole/konsole-4.14.3-r1.ebuild
24 @@ -0,0 +1,55 @@
25 +# Copyright 1999-2015 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=5
30 +
31 +KDE_HANDBOOK="optional"
32 +KDE_DOC_DIRS="doc/manual"
33 +VIRTUALX_REQUIRED="test"
34 +VIRTUALDBUS_TEST="true"
35 +inherit kde4-base
36 +
37 +DESCRIPTION="X terminal for use with KDE"
38 +HOMEPAGE="https://www.kde.org/applications/system/konsole https://konsole.kde.org"
39 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
40 +IUSE="debug minimal"
41 +
42 +COMMONDEPEND="
43 + !aqua? (
44 + x11-libs/libX11
45 + x11-libs/libXext
46 + >=x11-libs/libxklavier-3.2
47 + x11-libs/libXrender
48 + x11-libs/libXtst
49 + !minimal? ( $(add_kdeapps_dep libkonq) )
50 + )
51 +"
52 +DEPEND="${COMMONDEPEND}
53 + !aqua? (
54 + x11-apps/bdftopcf
55 + x11-proto/kbproto
56 + x11-proto/renderproto
57 + )
58 +"
59 +RDEPEND="${COMMONDEPEND}"
60 +
61 +# can't connect to a kded instance, fails to connect to dbus
62 +RESTRICT="test"
63 +
64 +src_configure() {
65 + local mycmakeargs=(
66 + $(cmake-utils_use_with "!minimal" LibKonq)
67 + )
68 +
69 + kde4-base_src_configure
70 +}
71 +
72 +src_install() {
73 + kde4-base_src_install
74 +
75 + if use minimal; then
76 + rm "${D}/usr/bin/konsole" || die
77 + rm "${D}/usr/bin/konsoleprofile" || die
78 + fi
79 +}