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

inherit trinity-meta

DESCRIPTION="Extra screensavers for Trinity"
KEYWORDS="x86 amd64"
IUSE="opengl xscreensaver arts"

DEPEND="
	>=trinity-base/kscreensaver-${PV}:${SLOT}
	>=trinity-base/krootbacking-${PV}:${SLOT}
	media-libs/libart_lgpl
	opengl? ( virtual/opengl )
	xscreensaver? ( x11-misc/xscreensaver )
	arts? ( trinity-base/arts )"
RDEPEND="$DEPEND"

TSM_EXTRACT_ALSO="FindXscreensaver.cmake"

src_configure() {
	mycmakeargs=(
		-DWITH_LIBART=ON
		$(cmake-utils_use_with opengl OPENGL)
		$(cmake-utils_use_with xscreensaver XSCREENSAVER)
		$(cmake-utils_use_with arts ARTS)
	)

	trinity-meta_src_configure
}