# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kcontrol/kcontrol-3.5.0.ebuild,v 1.7 2006/01/14 09:28:04 flameeyes Exp $ KMNAME=kdebase MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" inherit kde-meta eutils SRC_URI="${SRC_URI} mirror://gentoo/kdebase-${PV}-patches-1.tar.bz2" DESCRIPTION="The KDE Control Center" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="ssl arts ieee1394 logitech-mouse opengl" DEPEND=">=media-libs/freetype-2 media-libs/fontconfig ssl? ( dev-libs/openssl ) arts? ( $(deprange $PV $MAXKDEVER kde-base/arts) ) opengl? ( virtual/opengl ) ieee1394? ( sys-libs/libraw1394 ) logitech-mouse? ( >=dev-libs/libusb-0.1.10a )" RDEPEND="${DEPEND} sys-apps/usbutils $(deprange $PV $MAXKDEVER kde-base/kcminit) $(deprange $PV $MAXKDEVER kde-base/kdebase-data) $(deprange $PV $MAXKDEVER kde-base/kdesu) $(deprange $PV $MAXKDEVER kde-base/khelpcenter) $(deprange $PV $MAXKDEVER kde-base/khotkeys) $(deprange $PV $MAXKDEVER kde-base/libkonq) $(deprange $PV $MAXKDEVER kde-base/kicker)" KMEXTRACTONLY="kwin/kwinbindings.cpp kicker/kicker/core/kickerbindings.cpp kicker/taskbar/taskbarbindings.cpp kdesktop/kdesktopbindings.cpp klipper/klipperbindings.cpp kxkb/kxkbbindings.cpp kicker/taskmanager" KMEXTRA="doc/kinfocenter" KMCOMPILEONLY="kicker/libkicker kicker/taskbar" KMCOPYLIB="libkonq libkonq libkicker kicker/libkicker libtaskbar kicker/taskbar libtaskmanager kicker/taskmanager" src_unpack() { unpack "kdebase-${PV}-patches-1.tar.bz2" kde-meta_src_unpack epatch "${WORKDIR}/patches/${P}-global-usbids.patch" } src_compile() { myconf="$myconf `use_with ssl` `use_with arts` `use_with opengl gl` `use_with ieee1394 libraw1394` `use_with logitech-mouse libusb` --with-usbids=/usr/share/misc/usb.ids" kde-meta_src_compile }