forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST step-20.04.3.tar.xz 929364 BLAKE2B 273fce857039052832d1e5a295d9387a0021e847bbfb169ba88ad5c9f0b849ebe494d56a7881184be07912aee3708536c435b08ff1451927d73c701faafc6c1c SHA512 1df12a6994a0f3e62bff837fc8e0ff8fc9b4afb651f51ee1e14e4cdc80905fc21d7a9af540433e0f97a7040e2ed4968d9a81a4f868bb46b07c0c7ad1efb21f96 | ||
DIST step-20.08.0.tar.xz 942788 BLAKE2B be437ecc07591cc59e83c3d1203f0fd992fe2466002b1a788a6cf4a701c457ec5fb3bf2cba4022117702a930d35c26501d907687c35c86c878ac540707788759 SHA512 da0012e9c165d404c737525a5ff64480190c80446c6ca8104a840ea3b1212e272cfddcf574d6bb27cf2552a8373e7fe5b9ba31110c2d4824e81d5624a805a654 | ||
DIST step-20.08.1.tar.xz 942732 BLAKE2B e8dc6ebc9649615135efcd195cd9d9b99915eb7b8598cc548cc8d0eff96b3b318499c4801670a1c0c5e7e5cb6179537050419c643d231e37913a23e08ae2ecf7 SHA512 91b28b5758bb43a28c7cc891c48edef3f8efe7821cf37cc501907c373d05ab40080d4e66199b436efc16c117063ab7d6951e9b3b3855d832e304935d6e7be4b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
ECM_HANDBOOK="optional" | ||
ECM_TEST="forceoptional" | ||
KFMIN=5.72.0 | ||
QTMIN=5.14.2 | ||
inherit ecm kde.org | ||
|
||
DESCRIPTION="Interactive physics simulator" | ||
HOMEPAGE="https://kde.org/applications/education/org.kde.step | ||
https://edu.kde.org/step/" | ||
|
||
LICENSE="GPL-2" # TODO: CHECK | ||
SLOT="5" | ||
KEYWORDS="~amd64 ~arm64 ~x86" | ||
IUSE="+gsl nls +qalculate" | ||
|
||
BDEPEND=" | ||
nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) | ||
" | ||
DEPEND=" | ||
>=dev-cpp/eigen-3.2:3 | ||
>=dev-qt/qtgui-${QTMIN}:5 | ||
>=dev-qt/qtopengl-${QTMIN}:5 | ||
>=dev-qt/qtsvg-${QTMIN}:5 | ||
>=dev-qt/qtwidgets-${QTMIN}:5 | ||
>=dev-qt/qtxml-${QTMIN}:5 | ||
>=kde-frameworks/kcompletion-${KFMIN}:5 | ||
>=kde-frameworks/kconfig-${KFMIN}:5 | ||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5 | ||
>=kde-frameworks/kcoreaddons-${KFMIN}:5 | ||
>=kde-frameworks/kcrash-${KFMIN}:5 | ||
>=kde-frameworks/ki18n-${KFMIN}:5 | ||
>=kde-frameworks/kiconthemes-${KFMIN}:5 | ||
>=kde-frameworks/kio-${KFMIN}:5 | ||
>=kde-frameworks/knewstuff-${KFMIN}:5 | ||
>=kde-frameworks/kparts-${KFMIN}:5 | ||
>=kde-frameworks/kplotting-${KFMIN}:5 | ||
>=kde-frameworks/ktextwidgets-${KFMIN}:5 | ||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 | ||
>=kde-frameworks/kxmlgui-${KFMIN}:5 | ||
sci-libs/cln | ||
gsl? ( sci-libs/gsl:= ) | ||
qalculate? ( >=sci-libs/libqalculate-0.9.5:= ) | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare() { | ||
ecm_src_prepare | ||
|
||
# FIXME: Drop duplicate upstream | ||
cmake_run_in stepcore ecm_punt_bogus_dep Qt5 Test | ||
} | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
$(cmake_use_find_package gsl GSL) | ||
$(cmake_use_find_package qalculate Qalculate) | ||
) | ||
ecm_src_configure | ||
} |