summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.2.ebuild
blob: 65f9c904140e5cdb668de82d921dbd3784e3f964 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
TRINITY_MODULE_NAME="kdebase"

inherit trinity-meta

DESCRIPTION="Trinity screensaver framework"
KEYWORDS="~amd64 ~x86"
IUSE="opengl +krootbacking"
# CHECKME: if this use needed
DEPEND="x11-libs/libXt
	opengl? ( virtual/opengl )
	krootbacking? ( >=trinity-base/krootbacking-${PV}:${TRINITY_VER} )"
RDEPEND="${DEPEND}"

src_configure () {
	if use opengl; then
		ewarn "OpenGL is not supported by trinity build system yet."
		ewarn "This use flag is here just for future/past capability"
	fi

	mycmakeargs=(
		$(cmake-utils_use_with opengl OPENGL )
	)

	trinity-meta_src_configure
}