summaryrefslogtreecommitdiff
blob: ef11d5477a56e9fc4ff57e0af77f6eeecaafaf68 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/kdeartwork-3.4.1.ebuild,v 1.1 2005/05/27 08:51:57 greg_g Exp $

inherit kde-dist eutils

DESCRIPTION="KDE artwork package"

KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~ia64"
IUSE="opengl xscreensaver"

DEPEND="~kde-base/kdebase-${PV}
	opengl? ( virtual/opengl )
	xscreensaver? ( x11-misc/xscreensaver )"

src_unpack() {
	kde_src_unpack

	# Fix compilation with --without-gl and detection of arts.
	# See kde bug 89387 and 102398.
	epatch ${FILESDIR}/${P}-configure.patch

	make -f admin/Makefile.common
}

src_compile() {
	myconf="--with-dpms $(use_with opengl gl)"

	kde_src_compile
}