# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.0.ebuild,v 1.2 2005/12/09 14:03:41 flameeyes Exp $ inherit kde-dist eutils DESCRIPTION="KDE utilities" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="crypt snmp pbbuttonsd xmms" DEPEND="~kde-base/kdebase-${PV} snmp? ( net-analyzer/net-snmp ) pbbuttonsd? ( app-laptop/pbbuttonsd ) dev-lang/python xmms? ( media-sound/xmms ) dev-libs/gmp" RDEPEND="${DEPEND} crypt? ( app-crypt/gnupg ) !x11-misc/superkaramba" src_unpack() { kde_src_unpack # Fix output of klaptopdaemon (kde bug 103437). epatch "${FILESDIR}/kdeutils-3.4.3-klaptopdaemon.patch" # Fix memory calculations for FreeBSD systems epatch "${FILESDIR}/superkaramba-3.5.0-fbsd.patch" } src_compile() { local myconf="$(use_with snmp) $(use_with pbbuttonsd powerbook) $(use_with xmms)" use crypt || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kgpg" kde_src_compile }