summaryrefslogtreecommitdiffstats
path: root/trinity-base/kalzium
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-04-22 11:30:51 +0300
committerormorph <roma251078@mail.ru>2023-04-22 21:42:10 +0300
commit3e6b95222ab4ee71b69a570f49e1e887b166a83e (patch)
tree30fa95df5cd70e135890939da86d325d10bf0dca /trinity-base/kalzium
parent70fc50722d8c4c3d7c566fb8ab9e7d4376eea1bf (diff)
downloadtde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.tar.gz
tde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.zip
Adding version 14.1.0
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.1.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/trinity-base/kalzium/Manifest b/trinity-base/kalzium/Manifest
index 9101165c..b04035fe 100644
--- a/trinity-base/kalzium/Manifest
+++ b/trinity-base/kalzium/Manifest
@@ -1 +1,2 @@
DIST tdeedu-trinity-14.0.13.tar.xz 24701400 BLAKE2B 2e488a7826d0715d3d1c80dfa096192ddc4b83ade67bfe8f4762bee368dcea605b4e18cb545e0fbc7a231266902183497589498fca971fd38719a5db022e4d11 SHA512 a3968a695e12a6c8349b21b792f52bf6f6c138d012479fb7262612908242b27824dc62320dfdc6605b15eaa2a61a2c9602f338abd5fafbe8ec2549e29da8c8cb
+DIST tdeedu-trinity-14.1.0.tar.xz 24697508 BLAKE2B fa3002581d37481b9c7e55a83ac934988b04d9164992d96e3576498af2c3e402b9b917e3e55f74a9db7d356c8c7b101fd6185916aef54b75d0c6b9eb98f2f341 SHA512 eaeacde4ed27f455faaa42d730477e4ef94d02b9902efbd86aee3ff921fc7bf2069f60c63db7ce57b5c188308745ba449f711eafe466af3b00734fd176b4a57e
diff --git a/trinity-base/kalzium/kalzium-14.1.0.ebuild b/trinity-base/kalzium/kalzium-14.1.0.ebuild
new file mode 100644
index 00000000..b81a49c7
--- /dev/null
+++ b/trinity-base/kalzium/kalzium-14.1.0.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
+}
+