kde-apps/konsole: Drop USE=minimal

Now there is konsolepart, prevent users from ending up without konsole
binary after rebuild, following the switch to plasma profile.

Package-Manager: portage-2.2.26
This commit is contained in:
Andreas Sturmlechner
2016-01-16 22:59:52 +01:00
committed by Michael Palimaka
parent 469204d2eb
commit 4296fbfe17
2 changed files with 2 additions and 66 deletions

View File

@@ -1,55 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_HANDBOOK="optional"
KDE_DOC_DIRS="doc/manual"
VIRTUALX_REQUIRED="test"
VIRTUALDBUS_TEST="true"
inherit kde4-base
DESCRIPTION="X terminal for use with KDE"
HOMEPAGE="https://www.kde.org/applications/system/konsole https://konsole.kde.org"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug minimal"
COMMONDEPEND="
!aqua? (
x11-libs/libX11
x11-libs/libXext
>=x11-libs/libxklavier-3.2
x11-libs/libXrender
x11-libs/libXtst
!minimal? ( $(add_kdeapps_dep libkonq) )
)
"
DEPEND="${COMMONDEPEND}
!aqua? (
x11-apps/bdftopcf
x11-proto/kbproto
x11-proto/renderproto
)
"
RDEPEND="${COMMONDEPEND}"
# can't connect to a kded instance, fails to connect to dbus
RESTRICT="test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_with "!minimal" LibKonq)
)
kde4-base_src_configure
}
src_install() {
kde4-base_src_install
if use minimal; then
rm "${D}/usr/bin/konsole" || die
rm "${D}/usr/bin/konsoleprofile" || die
fi
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -13,7 +13,7 @@ inherit kde4-base
DESCRIPTION="X terminal for use with KDE"
HOMEPAGE="https://www.kde.org/applications/system/konsole https://konsole.kde.org"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug minimal"
IUSE="debug"
COMMONDEPEND="
!aqua? (
@@ -36,12 +36,3 @@ RDEPEND="${COMMONDEPEND}"
# can't connect to a kded instance, fails to connect to dbus
RESTRICT="test"
src_install() {
kde4-base_src_install
if use minimal; then
rm "${D}/usr/bin/konsole" || die
rm "${D}/usr/bin/konsoleprofile" || die
fi
}