summaryrefslogtreecommitdiff
path: root/kde-apps/kalzium
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /kde-apps/kalzium
reinit the tree, so we can have metadata
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest8
-rw-r--r--kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch29
-rw-r--r--kde-apps/kalzium/kalzium-17.04.3.ebuild61
-rw-r--r--kde-apps/kalzium/kalzium-17.08.1.ebuild58
-rw-r--r--kde-apps/kalzium/metadata.xml12
5 files changed, 168 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
new file mode 100644
index 000000000000..2d57290dbff6
--- /dev/null
+++ b/kde-apps/kalzium/Manifest
@@ -0,0 +1,8 @@
+AUX kalzium-17.04.3-ocaml404.patch 1383 SHA256 462d96e29f2b410a3e12fabab0071ac66796639e920569fb3aa448879bc19f5e SHA512 da257b9073b5b38ccafa36bb7fc8dd1a3ef6e35d401e295311ab2c6294eec1683ce4c85fe71a5d7923636b9531ab3e709e07e93f1b89a173f9c17992287730bb WHIRLPOOL 67c07b96430fecf15bd963a2544e5f57e39275a13944d40a96514baf20b6f2db0376b39639bc37df4bb65e3b4385a065cb7b613745d8ef64aa2a1644ae67302a
+DIST kalzium-17.04.3.tar.xz 24464272 SHA256 8dfe48d336d746cfc2387d67c5bcb921f9ea4dea1c0231864f7dcd87c35a9d5f SHA512 7db4829925661c4dce3f94330bb44bc55819f3d8f93a33ae695c456b2db4f8ab8236a7385cae549430a5f4bf1768bc26951075b531be0c350b53e8ee7f867c20 WHIRLPOOL e9cf1e0294e93e8c5d15d670fc5af0c512c90fce0a19a5d1b041a30debd77df4f1408d75d9952ec301b83ade9a501e02dfea62140aef610473c5562b2d1e619b
+DIST kalzium-17.08.1.tar.xz 24449112 SHA256 2ec4639473fa635ec0ecbd16ed4028e5946d58fb3b72254a862ea810adbc3b97 SHA512 46288ac1aba95a67eab54f91759367910232860ae56b54f9b6e772f7b490a62807d2fab1ccd9caa1a39bb0b4776cb153724f6095b83983aedd991aa7dc89d331 WHIRLPOOL 7e0031f02d160af43cacf335331f838fa13782dde74fc0db009612e408cc1600ea3010dee9074269f262b5cadef645df70e7500f0ac450d78b831df97b16c1fb
+EBUILD kalzium-17.04.3.ebuild 1618 SHA256 72c5fafb9aecb2bee261b22de5fdc557720e5e9f6565a5b777550294e9d46be1 SHA512 29cd79cf5f5fa39219096e67de8f062504bf8f37499b844a0f676c3309642fb973cb6e0511452526e9d15a44733bb62cedb07d0672ec761c97b3e91581fade22 WHIRLPOOL 85a428a12eb0e32fc2f198832bf7023e205141f55783b48fe5db6d17eb93c4520498b4991c987b7fa6a6f8760be7010c5502a5f9e4e3cec0a1d64715b164daff
+EBUILD kalzium-17.08.1.ebuild 1561 SHA256 e86b67a4d8d3895fb549e095b04f4ec52b677c9732b61f0948f21a83c0caed0e SHA512 5de9f7a1fccd2647f7ffb8405e17d332d6b29c98ab043a4657670c9f3072233c14d38de053e1e4132297fdee617efce8d30036f8213e282b433a358d61f30e3e WHIRLPOOL a5a6e16c23a27cc0a04e8ae207abc2a06f688a8d5447294a6981fcced2b32854b1cda990e16c17aceb59e8b6f4b7547936fabbf5e4dc54f565a292c016e474b1
+MISC ChangeLog 6625 SHA256 626ecc8f56924c35dedbc44317138528cbf8ff2d4e2ea681bfbaa9389a487488 SHA512 c2024119ad5a2d6e48a53197568fd5adf9da7090b9ff2506ac827173ff2e78b14c2188af28ae97ebd3e4bea2d7c070ad7988091b6fad6a8446e38ad8c98afa39 WHIRLPOOL 3bfde102a7bc89ea8f090c4771b2ef12e11bf13f974c095f9c9d78c5ad6d0992952769954cd9238e382f8a9f6b2e2744df43474db43816f3e48859af26ef2f0b
+MISC ChangeLog-2015 40692 SHA256 d104cad17c2c259f67bae8428e7ec44fd99bf03c6c2f72512727c4d0364bb9ba SHA512 fa482239d9ff6afe7595a8794ebd4cabb82643836f5654ae6ecbaa5e3d53a9d7759256f7d397e7f29d421267ac1c82a37a7d8ef6b86134206bcddaa1ceb3a027 WHIRLPOOL 445c0e7867ee212abd6e2006d1ced1033a9e313534a0ba48476988eebca2ec98a799f76f86f268413d36c8f0eccd50b686fc1c9d406564a4ac5f4d57d48afe55
+MISC metadata.xml 392 SHA256 6f95fcddfe8dd25efbe6e8cf4c3e82bd61eead7fe412347184690fa56e7077a2 SHA512 424599782ee8fb9703d159dab7551f94785dceaae5e0a7e09b3b0bc8488b8b278f378d0041da0742f45812b3e0bbacf06db8e10447c2ec28b1393b1f8d6894c9 WHIRLPOOL 139f6f7cca22b21ca58f7f408bf473d4a69df253c2b83b0729e71b574aeeef03c1e7ce019504642ddc3837b8d29549d5b489a726370ff7f8c852049574860a92
diff --git a/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch b/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch
new file mode 100644
index 000000000000..b2c315702a70
--- /dev/null
+++ b/kde-apps/kalzium/files/kalzium-17.04.3-ocaml404.patch
@@ -0,0 +1,29 @@
+From 447d0ca4cc757f79ad02ca52ab5e086b78dfdfb1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Santamar=C3=ADa=20Lema?=
+ <panfaust@gmail.com>
+Date: Thu, 3 Aug 2017 18:10:53 +0200
+Subject: Fix build with ocaml 4.04
+
+BUG: 372671
+FIXED-IN: 17.08
+
+Differential Revision: https://phabricator.kde.org/D6752
+---
+ src/CMakeOCamlInstructions.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/CMakeOCamlInstructions.cmake b/src/CMakeOCamlInstructions.cmake
+index 483d003..da703b1 100644
+--- a/src/CMakeOCamlInstructions.cmake
++++ b/src/CMakeOCamlInstructions.cmake
+@@ -58,7 +58,7 @@ ocaml_ml_to_cmx(${CMAKE_CURRENT_BINARY_DIR}/lexer.cmx ${CMAKE_CURRENT_SOURCE_DIR
+ # object files
+
+ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o
+- COMMAND ${OCAML_OCAMLOPT_EXECUTABLE} -I ${LIBFACILE_INCLUDE_DIR} -c ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c -o ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o
++ COMMAND ${OCAML_OCAMLOPT_EXECUTABLE} -I ${LIBFACILE_INCLUDE_DIR} -c ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/solver/modwrap.c ${CMAKE_CURRENT_BINARY_DIR}/solver.o
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o)
+--
+cgit v0.11.2
diff --git a/kde-apps/kalzium/kalzium-17.04.3.ebuild b/kde-apps/kalzium/kalzium-17.04.3.ebuild
new file mode 100644
index 000000000000..94ad31e695c0
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-17.04.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5 flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://www.kde.org/applications/education/kalzium
+https://edu.kde.org/kalzium"
+KEYWORDS="amd64 x86"
+IUSE="editor solver"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep khtml)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kunitconversion)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ editor? (
+ dev-cpp/eigen:3
+ || ( sci-libs/avogadrolibs sci-chemistry/avogadro )
+ sci-chemistry/openbabel
+ )
+ solver? ( dev-ml/facile[ocamlopt] )
+"
+RDEPEND="${DEPEND}
+ sci-chemistry/chemical-mime-data
+"
+
+PATCHES=( "${FILESDIR}/${P}-ocaml404.patch" ) # bug 603050
+
+src_configure(){
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package editor Eigen3)
+ $(cmake-utils_use_find_package editor AvogadroLibs)
+ $(cmake-utils_use_find_package editor OpenBabel2)
+ $(cmake-utils_use_find_package solver OCaml)
+ $(cmake-utils_use_find_package solver Libfacile)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-apps/kalzium/kalzium-17.08.1.ebuild b/kde-apps/kalzium/kalzium-17.08.1.ebuild
new file mode 100644
index 000000000000..47095962e132
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-17.08.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5 flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://www.kde.org/applications/education/kalzium https://edu.kde.org/kalzium/"
+KEYWORDS="~amd64 ~x86"
+IUSE="editor solver"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep khtml)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kunitconversion)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ editor? (
+ dev-cpp/eigen:3
+ || ( sci-libs/avogadrolibs sci-chemistry/avogadro )
+ sci-chemistry/openbabel
+ )
+ solver? ( dev-ml/facile[ocamlopt] )
+"
+RDEPEND="${DEPEND}
+ sci-chemistry/chemical-mime-data
+"
+
+src_configure(){
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package editor Eigen3)
+ $(cmake-utils_use_find_package editor AvogadroLibs)
+ $(cmake-utils_use_find_package editor OpenBabel2)
+ $(cmake-utils_use_find_package solver OCaml)
+ $(cmake-utils_use_find_package solver Libfacile)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-apps/kalzium/metadata.xml b/kde-apps/kalzium/metadata.xml
new file mode 100644
index 000000000000..5d86ddcd4ed5
--- /dev/null
+++ b/kde-apps/kalzium/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="editor">Enable the embedded molecule editor/viewer</flag>
+ <flag name="solver">Enable the equation solver</flag>
+ </use>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>