summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kdesktop/kdesktop-9999.ebuild
blob: 43531a0dfd8dafded20a8bef18cce8e67570d984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
TRINITY_MODULE_NAME="tdebase"

inherit trinity-meta

DESCRIPTION="The part of TDE ui that handles icons, desktop, screensaver etc"
KEYWORDS=
IUSE="pam xscreensaver"

COMMON_DEPEND="x11-libs/libXrender
	x11-libs/libXcursor
	>=trinity-base/libkonq-${PV}:${SLOT}
	>=trinity-base/kcontrol-${PV}:${SLOT}
	xscreensaver? ( x11-libs/libXScrnSaver )"
	# Requires the desktop background settings module,
	# so until we separate the kcontrol modules into separate ebuilds :-),
	# there's a dep here
DEPEND="${COMMON_DEPEND}
	xscreensaver? ( x11-proto/scrnsaverproto )
	xscreensaver? ( x11-misc/xscreensaver )"
# TODO remove x11-misc/xscreensaver after TDE bug # will be fixed
RDEPEND="${COMMON_DEPEND}
	>=trinity-base/kcheckpass-${PV}:${SLOT}
	>=trinity-base/kdialog-${PV}:${SLOT}
	>=trinity-base/konqueror-${PV}:${SLOT}
	pam? ( trinity-base/tdebase-pam )"

TSM_EXTRACT_ALSO="kcheckpass/"

src_configure() {
	mycmakeargs=(
		-DWITH_XCURSORS=ON
		-DWITH_XRENDER=ON
		$(cmake-utils_use_with pam PAM)
		$(cmake-utils_use_with xscreensaver XSCREENSAVER)
	)

	trinity-meta_src_configure
}