# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.0.4.ebuild,v 1.1 2008/05/15 22:42:23 ingmar Exp $ EAPI="1" KMNAME=kdeedu CPPUNIT_REQUIRED="optional" inherit kde4-meta DESCRIPTION="KDE: periodic table of the elements." KEYWORDS="~amd64 ~x86" IUSE="${IUSE} cviewer debug htmlhandbook solver" COMMONDEPEND=">=kde-base/libkdeedu-${PV}:${SLOT} cviewer? ( >=dev-cpp/eigen-1.0.5 >=sci-chemistry/openbabel-2.1 || ( x11-libs/qt-opengl:4 >=x11-libs/qt-4.3.3:4 ) virtual/opengl )" DEPEND="${DEPEND} ${COMMONDEPEND} solver? ( dev-ml/facile )" RDEPEND="${RDEPEND} ${COMMONDEPEND}" KMEXTRACTONLY="libkdeedu/kdeeduui libkdeedu/libscience" pkg_setup() { if use cviewer && has_version '