summaryrefslogtreecommitdiff
blob: 692560c514dee27909165d32590c9f45360a38fc (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/kdeartwork-3.4.3.ebuild,v 1.9 2006/01/22 09:39:11 corsair Exp $

inherit kde-dist eutils

DESCRIPTION="KDE artwork package"

KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="opengl xscreensaver"

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

src_unpack() {
	kde_src_unpack

	# Configure patch. Applied for 3.5.
	epatch ${FILESDIR}/kdeartwork-3.4.3-configure.patch

	# Fix Makefile. Applied for 3.4.4.
	epatch ${FILESDIR}/kdeartwork-3.4.3-kfiresaver.patch

	# For the configure and Makefile patch.
	make -f admin/Makefile.common || die
}

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

	kde_src_compile
}