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.
kde-apps/kalzium: 20.08.1 version bump
Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
66 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 kalzium-20.04.3.tar.xz 24550796 BLAKE2B 85309f277178f3e70b50db5154376371fbf3484d8b7fd7486ff74025044745de5dd77f4c8e5b18520279b8d5630ccb8f3fc3bc68618f2fbcd4a593090715ad0f SHA512 fa8f67128d35faa8bdc343cf425aedda8a9370584bdeb69e22ca229c0c1029a5d178f851d4131bd60c635d8d846c8bf1e9104fc030fddb15578ead4c2cba7ea0 | ||
DIST kalzium-20.08.0.tar.xz 24526088 BLAKE2B 6854fa73fc31573d6915aed82856b439ff7dd01a98f94ffb3560ed32daf6192cbb2b75161dd9e3b435711e68671b1e656526b4fd4e02efce81d603abd1a700a2 SHA512 21827886d0831e4845964aa8bc24194bc2c2381d169194a947e483a157d3058954e296cfbcacf437573685db2d0317242ca977c75933842c5b8a4ebc18723d8b | ||
DIST kalzium-20.08.1.tar.xz 24525128 BLAKE2B 20d5e28d549812d78ef914ce8a23c79d737235a68db91be3aa0c6a0a443d1f1c72be4bc320cb69ee3fd882ee5550f3468d7b9d03b73946eb9f2e67a037730da3 SHA512 60da587ba5001b718bd6106a384c26b5351e41d943ad6796def4b1e8e8c8aa8c077f58019e4a6e6796a90a3d594dfa61602cd149d82415d7cf7df0e6f453c5ee |
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,65 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
ECM_HANDBOOK="forceoptional" | ||
KFMIN=5.72.0 | ||
QTMIN=5.14.2 | ||
inherit ecm kde.org flag-o-matic | ||
|
||
DESCRIPTION="Periodic table of the elements" | ||
HOMEPAGE="https://kde.org/applications/education/org.kde.kalzium | ||
https://edu.kde.org/kalzium/" | ||
|
||
LICENSE="GPL-2" # TODO: CHECK | ||
SLOT="5" | ||
KEYWORDS="~amd64 ~arm64 ~x86" | ||
IUSE="editor solver" | ||
|
||
DEPEND=" | ||
>=dev-qt/qtgui-${QTMIN}:5 | ||
>=dev-qt/qtscript-${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/ki18n-${KFMIN}:5 | ||
>=kde-frameworks/kio-${KFMIN}:5 | ||
>=kde-frameworks/kitemviews-${KFMIN}:5 | ||
>=kde-frameworks/kparts-${KFMIN}:5 | ||
>=kde-frameworks/kplotting-${KFMIN}:5 | ||
>=kde-frameworks/ktextwidgets-${KFMIN}:5 | ||
>=kde-frameworks/kunitconversion-${KFMIN}:5 | ||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 | ||
>=kde-frameworks/kxmlgui-${KFMIN}:5 | ||
editor? ( | ||
dev-cpp/eigen:3 | ||
>=dev-qt/qtopengl-${QTMIN}:5 | ||
>=kde-frameworks/knewstuff-${KFMIN}:5 | ||
sci-chemistry/openbabel | ||
>=sci-libs/avogadrolibs-1.93[qt5] | ||
) | ||
solver? ( dev-ml/facile[ocamlopt] ) | ||
" | ||
RDEPEND="${DEPEND} | ||
sci-chemistry/chemical-mime-data | ||
" | ||
|
||
src_configure(){ | ||
# Fix missing finite() | ||
[[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H | ||
|
||
local mycmakeargs=( | ||
$(cmake_use_find_package editor Eigen3) | ||
$(cmake_use_find_package editor AvogadroLibs) | ||
$(cmake_use_find_package editor OpenBabel2) | ||
$(cmake_use_find_package solver OCaml) | ||
$(cmake_use_find_package solver Libfacile) | ||
) | ||
|
||
ecm_src_configure | ||
} |