diff options
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r-- | kde-apps/kalzium/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kalzium/kalzium-24.05.2.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index acd1c3fb189a..54c35ae9eb09 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1,4 +1,6 @@ AUX kalzium-21.03.90-cmake.patch 815 BLAKE2B ba13821a0d50f1120e37d73b30d13b7597a67342b74c710155429b3880bddaafcef665f44acbc93d63dc7ed894b5b906a906bfef7a0a587554cea278c4c41553 SHA512 3b188578152cc399b13062afceb6e5a0e006f5e42810c09dec45ee7d8388a4177a98a076fe7789d1aeba49236e70f861f6a9af6907a5c06db3405db383cf83c9 DIST kalzium-24.05.1.tar.xz 22660092 BLAKE2B d5f636b415c8110774615eebf4bf81843f374c08e36d00768ce6d27a0bdf918d95634953c05e5d0529ee6f731ad7703c59b87ddd751637f55ed99587a2a38ece SHA512 556febc3c49ece2e1387df1139c1b4b12bf29d64df1129d8b4e540bc9c12154eb593fca74217fe62901354d30c778eb715140af861b6dda1c6c7a2d0229bcb7c +DIST kalzium-24.05.2.tar.xz 22660452 BLAKE2B 613704a0fa2e5394f90b9b5754cc3be4d6119f08f1037becc12f56b5ad3e6fc1b70964eccc3f6ea98c291733c0daabbeb3a67c27ed93b2c99e36627fed6bf72f SHA512 980c08b59b3bb715e5b2c581624d5b90846a3b085aee9f2bb2c542270978bf02d929be1a366ef94d1f3c757882652de92b4ea2d64c1c0040de253bda23d8654b EBUILD kalzium-24.05.1.ebuild 1800 BLAKE2B 5ea736a331bd5ec46bf21d9917e87d7694d771459c3a23f20264e07e498df2d087ff07ed59a8fb03ba2e920983b039edebbeee0060a6696bf4df952d0d5546a0 SHA512 eee7cd162886d6c77df8f9bb8ca76693d8e12c5905b1a58048e1785214bf4ba099514f4c63c79c1ca6b21f8f891368e8f92aa3e145cf082c5c6d910eb3551f1a +EBUILD kalzium-24.05.2.ebuild 1803 BLAKE2B 68f457aafee772d04fceadd1be5a5fa90f66e72442bbec057d4db3b5b031db1c3834f0f26bd9d0377c6554b85485b1970552eefcba54124bc5af6be0e34b9d38 SHA512 4ec0ae924c6546d39f7554f394eb138a35adf13531c211ba800f048b1e8a0ceeb7ed42ff19a07d0704814f4e0044802509d8dd51fa14db651d16b730fa1ec365 MISC metadata.xml 461 BLAKE2B 3f1c0869769225696ffe1f2d97ff7544d187cfc3316f72a2623806e499a418234655173ceb4932c396c8b4cf970ac2f72534cd3474a2c52b6e062b3228ba99d9 SHA512 c33c0d637690649dc2da606da08cdd489596addc9b51dad827e3ea2f9fd6558d66512452303364b3bd3a33a4d1e274d0598aba1db31e1d5601baf3b290051485 diff --git a/kde-apps/kalzium/kalzium-24.05.2.ebuild b/kde-apps/kalzium/kalzium-24.05.2.ebuild new file mode 100644 index 000000000000..2c18c831f38d --- /dev/null +++ b/kde-apps/kalzium/kalzium-24.05.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +KFMIN=5.115.0 +QTMIN=5.15.12 +inherit ecm gear.kde.org flag-o-matic + +DESCRIPTION="Periodic table of the elements" +HOMEPAGE="https://apps.kde.org/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/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 +" + +PATCHES=( "${FILESDIR}/${PN}-21.03.90-cmake.patch" ) + +src_configure() { + # Fix missing finite() + [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H + + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OpenBabel3=ON # TODO: bug 823101 + $(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 +} |