diff options
author | ormorph <roma251078@mail.ru> | 2024-04-28 17:23:47 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-29 00:52:31 +0200 |
commit | 94ec1d06986a97431ffc44951e92b075da19b93b (patch) | |
tree | d4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-base/kalzium | |
parent | 08657933720cc4345cdf62e1d42f199d8225e458 (diff) | |
download | tde-packaging-gentoo-94ec1d06986a97431ffc44951e92b075da19b93b.tar.gz tde-packaging-gentoo-94ec1d06986a97431ffc44951e92b075da19b93b.zip |
Add new TDE-14.1.2
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 30335515923be5f5ee02981121d2cdb6ad89978d)
Diffstat (limited to 'trinity-base/kalzium')
-rw-r--r-- | trinity-base/kalzium/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/kalzium/kalzium-14.1.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kalzium/Manifest b/trinity-base/kalzium/Manifest index c886acfe..88d4f661 100644 --- a/trinity-base/kalzium/Manifest +++ b/trinity-base/kalzium/Manifest @@ -1 +1,2 @@ DIST tdeedu-trinity-14.1.1.tar.xz 24697532 BLAKE2B 8a516c18a1dddc6a3fae01ad96df006fe60ad22515802ffc351fbc11fcc2cc9c347877b60790d44f538f5dc167a7b491f4083b1b2350489882f83676eb4a1cac SHA512 4216fdb31db332872bc09619feb9127944092495be4cc586d4e33d0df34d06658f3ba47b8baafd33c08f8f1a752ba6c8c828f16e1569a0b5b658477328cd28f2 +DIST tdeedu-trinity-14.1.2.tar.xz 24698504 BLAKE2B 6abd55ff81c4b00550bfca1374278cd7896b6d247aa0bde8b70601b1960ca3454b09d79fcd083eb5372d36a1a76aded568c6fb698a58a51ea2c7e438d4ee0ed0 SHA512 eee6e33acb28fee5a03de7892e9578138452c49dd8b25f61dccd3b4f2ee4206cf34684e6246232368a88c607b7a6d7b2910889a9c5afb62d3125f0d4e07f4acb diff --git a/trinity-base/kalzium/kalzium-14.1.2.ebuild b/trinity-base/kalzium/kalzium-14.1.2.ebuild new file mode 100644 index 00000000..a4a63c47 --- /dev/null +++ b/trinity-base/kalzium/kalzium-14.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2024 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" +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 +} |