# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdesktop/kdesktop-3.4.3.ebuild,v 1.8 2006/03/27 15:43:23 agriffis Exp $ KMNAME=kdebase MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" inherit kde-meta eutils DESCRIPTION="The KDE desktop" KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" IUSE="" DEPEND="$DEPEND $(deprange $PV $MAXKDEVER kde-base/libkonq) $(deprange $PV $MAXKDEVER kde-base/kdm) $(deprange $PV $MAXKDEVER kde-base/kcontrol)" # Requires the desktop background settings module, # so until we separate the kcontrol modules into separate ebuilds :-), # there's a dep here RDEPEND="${DEPEND} $(deprange $PV $MAXKDEVER kde-base/kcheckpass) $(deprange 3.4.1 $MAXKDEVER kde-base/kdialog)" KMCOPYLIB="libkonq libkonq/" KMEXTRACTONLY="kcheckpass/kcheckpass.h libkonq/ kdm/kfrontend/themer/ kioslave/thumbnail/configure.in.in" # for the HAVE_LIBART test KMCOMPILEONLY="kcontrol/background kdmlib/" KMNODOCS=true src_install() { # ugly, needs fixing: don't install kcontrol/background kde-meta_src_install rmdir ${D}/${PREFIX}/share/templates/.source/emptydir # we install this script with kdialog, will not be needed in >=kde-3.4.2 (bug 89867) rm ${D}/${PREFIX}/bin/kdeeject } pkg_postinst() { mkdir -p ${PREFIX}/share/templates/.source/emptydir }