From 18d39ed9f062321b596258a9137f10b3e93b71e0 Mon Sep 17 00:00:00 2001 From: ormorph Date: Fri, 27 Oct 2023 13:50:17 +0300 Subject: Release R14.1.1 added Signed-off-by: ormorph --- trinity-base/kalzium/kalzium-14.1.1.ebuild | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 trinity-base/kalzium/kalzium-14.1.1.ebuild (limited to 'trinity-base/kalzium/kalzium-14.1.1.ebuild') diff --git a/trinity-base/kalzium/kalzium-14.1.1.ebuild b/trinity-base/kalzium/kalzium-14.1.1.ebuild new file mode 100644 index 00000000..b81a49c7 --- /dev/null +++ b/trinity-base/kalzium/kalzium-14.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2023 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +TRINITY_MODULE_NAME="tdeedu" +TRINITY_MODULE_TYPE="core" +TRINITY_HANDBOOK="optional" +TSM_EXTRACT_ALSO="libtdeedu translations" +inherit trinity-meta-2 + +DESCRIPTION="Chemistry teaching tool for Trinity" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +IUSE="ocaml" + +DEPEND="~trinity-base/libtdeedu-${PV} + ocaml? ( dev-lang/ocaml + dev-ml/facile )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e '/add_subdirectory( applnk )/d' \ + -e '/add_subdirectory( libtdeedu )/d' "${S}/CMakeLists.txt" || die + sed -i -e 's/tdeeduplot-shared/tdeeduplot/' \ + -e 's/tdeeduui-shared/tdeeduui/' "${S}/kalzium/src/CMakeLists.txt" || die + sed 's/nums//' -i "${S}/kalzium/src/CMakeLists.txt" || die + trinity-meta-2_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_OCAML_SOLVER="$(usex ocaml)" + ) + + trinity-meta-2_src_configure +} + -- cgit v1.2.1