# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.3.ebuild,v 1.1 2006/06/02 20:21:43 genstef Exp $ inherit kde-dist eutils DESCRIPTION="KDE utilities" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="crypt snmp pbbuttonsd xmms" BOTH_DEPEND="~kde-base/kdebase-${PV} snmp? ( net-analyzer/net-snmp ) pbbuttonsd? ( app-laptop/pbbuttonsd ) dev-lang/python xmms? ( media-sound/xmms ) dev-libs/gmp || ( x11-libs/libXtst virtual/x11 )" RDEPEND="${BOTH_DEPEND} crypt? ( app-crypt/gnupg ) !x11-misc/superkaramba" DEPEND="${BOTH_DEPEND} || ( ( x11-libs/libX11 x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) virtual/os-headers" src_unpack() { kde_src_unpack # Fix output of klaptopdaemon (kde bug 103437). epatch "${FILESDIR}/kdeutils-3.4.3-klaptopdaemon.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 }