# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="1" KMNAME=kdeedu CPPUNIT_REQUIRED="optional" OPENGL_REQUIRED="always" inherit kde4overlay-meta DESCRIPTION="KDE: periodic table of the elements." KEYWORDS="" IUSE="cviewer debug htmlhandbook +plasma solver" COMMONDEPEND=">=kde-base/libkdeedu-${PV}:${SLOT} cviewer? ( >=dev-cpp/eigen-1.0.5 >=sci-chemistry/openbabel-2.1 )" DEPEND="${DEPEND} ${COMMONDEPEND} plasma? ( kde-base/libplasma:${SLOT} ) solver? ( || ( >=dev-lang/ocaml-3.10.1_rc2 /dev/null emake || die "compiling the ocaml resolver failed" mkdir -p "${WORKDIR}/${PN}_build/${PN}/src/" cp * "${WORKDIR}/${PN}_build/${PN}/src/" popd >/dev/null fi mycmakeargs="${mycmakeargs} $(cmake-utils_use_with cviewer Eigen) $(cmake-utils_use_with cviewer OpenBabel2) $(cmake-utils_use_with cviewer OpenGL) $(cmake-utils_use_with plasma Plasma) $(cmake-utils_use_with solver OCaml) $(cmake-utils_use_with solver Libfacile)" kde4overlay-meta_src_compile }