# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-kioslaves/kdebase-kioslaves-3.5.4-r1.ebuild,v 1.1 2006/09/18 01:22:53 carlo Exp $ KMNAME=kdebase KMMODULE=kioslave MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" inherit kde-meta eutils SRC_URI="${SRC_URI} mirror://gentoo/kdebase-3.5-patchset-03.tar.bz2" DESCRIPTION="kioslave: the kde VFS framework - kioslave plugins present a filesystem-like view of arbitrary data" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="hal ldap samba openexr" DEPEND="ldap? ( net-nds/openldap ) samba? ( >=net-fs/samba-3.0.1 ) >=dev-libs/cyrus-sasl-2 hal? ( || ( dev-libs/dbus-qt3-old >=sys-apps/dbus-0.33 ) =sys-apps/hal-0.5* sys-apps/pmount ) openexr? ( >=media-libs/openexr-1.2.2-r2 )" RDEPEND="${DEPEND} $(deprange $PV $MAXKDEVER kde-base/kdialog)" # for the kdeeject script used by the devices/mounthelper ioslave src_unpack() { kde-meta_src_unpack # FIXME - disable broken tests sed -i -e "s:TESTS =.*:TESTS =:" ${S}/kioslave/smtp/Makefile.am || die "sed failed" sed -i -e "s:TESTS =.*:TESTS =:" ${S}/kioslave/trash/Makefile.am || die "sed failed" } pkg_setup() { kde_pkg_setup if use hal && has_version '