summaryrefslogtreecommitdiffstats
path: root/trinity-base/kalzium
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2022-04-30 20:47:27 +0300
committerSlávek Banko <slavek.banko@axis.cz>2022-05-01 16:23:29 +0200
commit336d8ce82c00a00153a823a187dbc8e0bcf2c7a1 (patch)
tree920bb9b62e96c92b2a5a7e99352e68afb2783ce8 /trinity-base/kalzium
parent1c8d53512742aab368c0f7e9973604eaa54b43ba (diff)
downloadtde-packaging-gentoo-336d8ce82c00a00153a823a187dbc8e0bcf2c7a1.tar.gz
tde-packaging-gentoo-336d8ce82c00a00153a823a187dbc8e0bcf2c7a1.zip
Added version 14.0.12
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/kalzium')
-rw-r--r--trinity-base/kalzium/Manifest1
-rw-r--r--trinity-base/kalzium/kalzium-14.0.12.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kalzium/Manifest b/trinity-base/kalzium/Manifest
index 09d8e53d..7c161804 100644
--- a/trinity-base/kalzium/Manifest
+++ b/trinity-base/kalzium/Manifest
@@ -1 +1,2 @@
DIST tdeedu-trinity-14.0.11.tar.xz 24698428 BLAKE2B 18c8f88c4ed47c5d04e68663b8c5383383f1c80281c2590624ee68fd8f201a767f591b7294c44f45c7f80100085c5f3977bd0c784b274d7ebf5b95d518f48622 SHA512 a5cbe9e6f1e63cb0bab2d3e9db3e563b018acd41073f52b6179635e8854956fd83792bfc364e7cc0f57a8825330cff7792a112d7d01f37e0c26f53cbba2d8ca3
+DIST tdeedu-trinity-14.0.12.tar.xz 24697848 BLAKE2B a30088be53ba489aeaf7d8ca5958db47bf0e710724196077465bd65220b0ba88fa4f2f5ec9bf4d5fd032d039924b1c24901eb40be5a7115cf0050b9996168159 SHA512 d5841d609169e3d1b1c7ac98dcedfc8be78bbeff11e96efb59302a42d5f7423d27bbca98032a259fd0bed999a0b3ee2f54ec9ce8bbb101b560f8d05e6439f79a
diff --git a/trinity-base/kalzium/kalzium-14.0.12.ebuild b/trinity-base/kalzium/kalzium-14.0.12.ebuild
new file mode 100644
index 00000000..acec1121
--- /dev/null
+++ b/trinity-base/kalzium/kalzium-14.0.12.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 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"
+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
+}
+