| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| KDE_HANDBOOK="optional" |
| inherit flag-o-matic kde4-base |
| |
| DESCRIPTION="The KDE physics simulator" |
| HOMEPAGE="https://edu.kde.org/step" |
| KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux" |
| IUSE="debug +gsl +qalculate" |
| |
| DEPEND=" |
| >=dev-cpp/eigen-2.0.3:2 |
| gsl? ( >=sci-libs/gsl-1.9-r1 ) |
| qalculate? ( >=sci-libs/libqalculate-0.9.5 ) |
| " |
| RDEPEND="${DEPEND}" |
| |
| src_configure() { |
| # bug 560884 |
| use ppc64 && append-flags -mno-altivec |
| |
| local mycmakeargs=( |
| $(cmake-utils_use_with gsl) |
| $(cmake-utils_use_with qalculate) |
| ) |
| kde4-base_src_configure |
| } |