summaryrefslogtreecommitdiff
blob: 1ccf5dee55a69f7e37ad58f778cc40db71cb8eb4 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/kdeartwork-3.3.0.ebuild,v 1.9 2004/09/20 01:59:38 malc Exp $

inherit kde-dist eutils

DESCRIPTION="KDE artwork package"

KEYWORDS="x86 amd64 sparc ppc ppc64"
IUSE="opengl"

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

src_unpack() {
	kde_src_unpack
	sed -ie "s:X11R6/lib\(/X11\)\?:lib:g" kscreensaver/kxsconfig/Makefile.in
	if ! use arts; then
		epatch ${FILESDIR}/3.3.0-kfiresaver-configure.in.in.patch
		epatch ${FILESDIR}/3.3.0-kfiresaver-Makefile.am.patch
		cd ${S}
		make -f admin/Makefile.common
	fi
}

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