# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.182 2006/10/14 10:59:36 flameeyes Exp $ # # Author Dan Armak # # Revisions Caleb Tennis # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit # straight from here. WANT_AUTOMAKE="1.9" inherit base eutils kde-functions flag-o-matic libtool autotools DESCRIPTION="Based on the $ECLASS eclass" HOMEPAGE="http://www.kde.org/" IUSE="debug xinerama" if [[ ${ARTS_REQUIRED} != "yes" && ${ARTS_REQUIRED} != "never" && ${PN} != "arts" ]]; then IUSE="${IUSE} arts" fi if [[ ${CATEGORY} == "kde-base" ]]; then IUSE="${IUSE} kdeenablefinal" if [[ ${PV} == "3.5"* ]] && [[ ${PN} != "kdemultimedia" && ${KMNAME} != "kdemultimedia" ]]; then IUSE="${IUSE} kdehiddenvisibility" fi fi # Set USE_KEG_PACKAGING=1 before inheriting if the package use extragear-like # packaging and then supports ${LANGS} and ${LANGS_DOC} variables. if [[ -n ${USE_KEG_PACKAGING} && -n "${LANGS}${LANGS_DOC}" ]]; then for lang in ${LANGS} ${LANGS_DOC}; do IUSE="${IUSE} linguas_${lang}" done fi DEPEND="sys-devel/make dev-util/pkgconfig dev-lang/perl || ( x11-proto/xf86vidmodeproto admin/detect-autoconf.sh <