summaryrefslogtreecommitdiff
path: root/sci-chemistry/avogadro2
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 /sci-chemistry/avogadro2
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/avogadro2')
-rw-r--r--sci-chemistry/avogadro2/Manifest4
-rw-r--r--sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild51
-rw-r--r--sci-chemistry/avogadro2/metadata.xml16
3 files changed, 71 insertions, 0 deletions
diff --git a/sci-chemistry/avogadro2/Manifest b/sci-chemistry/avogadro2/Manifest
new file mode 100644
index 000000000000..6efded77282d
--- /dev/null
+++ b/sci-chemistry/avogadro2/Manifest
@@ -0,0 +1,4 @@
+DIST avogadro2-0.9.0.tar.gz 1096442 SHA256 3af7faf0cc534953f40f4d77d9a5b6bdf1699d8c8bce9fb72834aaef10deddd1 SHA512 bc780b1f45822ffc6cef82cf5fbe04cfbab035e553037959965eb0cad2c3f87e53bc71a574c7154cae5909377c74d14708550070c1794bdd5d83d738846b03ba WHIRLPOOL a7633bec714f1decc339d8a9a131f047b733fc2e30d80f2ed9ff904b89e03091bed4c242452e222e441ecbea02fe95c06a6ef9faed354a565b1a89d9d00bc049
+EBUILD avogadro2-0.9.0.ebuild 1031 SHA256 023a3dad1c42e5296d171999076238a74716f090bdc776c401b5e687597d3216 SHA512 3290929eca3db226824837533d8e0da2e13bc9aa8b7c4ae449aed7ebca743b2b669cb1cc3151a9df47ee30b932b149bd6b55ff4bf2e7e2d5934f1a10dca9a922 WHIRLPOOL d7f804fafd34ca3ea5922cf2228cca80917f24790b7478566fd648dc1dd979631bddc057a5e2b74ee41011d9bc9d8a32e45dec822651541442d68ca11ead0e43
+MISC ChangeLog 1026 SHA256 3c8db792334cd406419dae2b685545166fd78615c4c9887bb8a43a1181a7a0fb SHA512 ab891ae86f9cf5f1e204a77d473aab10b367aca6429feda8a36d7c36fbc941197b208fc1a531f00e3272b79b6f4cae9024008525116c0909ab813f4a3ed2fa07 WHIRLPOOL 7987e0897e91a7b224d7e2a9611f2e76bf0a7618d64c6658c93fb4529e303bd36a70680ffd5302ea2491ba810f31d6673676e3d1f28cc8debfa7f5ea23eeac2e
+MISC metadata.xml 513 SHA256 9e6f9634c6d9822d535f6954d69103d926a962de400af784325f630baa67ac2b SHA512 4209c0681f7055b240f1054a10d58d5c22dca467903096ab1f5eb1b8cf276990f694b2033b4e9b4e4838cce65dd7c7660633079764248f394e32ece0048f09a0 WHIRLPOOL de9405700e679a5d7a9aba646e93fd4173c200fe8339eb881ad8ad351904c16c2c32814436aa6e4ee820d7c599f3cd61500777c096de861aa90f2d0fbbdf0f16
diff --git a/sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild b/sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild
new file mode 100644
index 000000000000..201fc77dace6
--- /dev/null
+++ b/sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_PN=avogadroapp
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Advanced molecule editor and visualizer 2"
+HOMEPAGE="http://www.openchemistry.org/"
+SRC_URI="https://github.com/OpenChemistry/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD GPL-2+"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc rpc test vtk"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ ~sci-libs/avogadrolibs-${PV}[qt5,opengl]
+ sci-libs/hdf5:=
+ rpc? ( sci-chemistry/molequeue )
+"
+DEPEND="${DEPEND}
+ dev-cpp/eigen:3
+ test? ( dev-qt/qttest:5 )
+"
+
+RESTRICT=test
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed '/COPYING/d' -i CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DAvogadro_ENABLE_RPC=$(usex rpc)
+ -DENABLE_TESTING=$(usex test)
+ -DUSE_VTK=$(usex vtk)
+ )
+ cmake-utils_src_configure
+}
diff --git a/sci-chemistry/avogadro2/metadata.xml b/sci-chemistry/avogadro2/metadata.xml
new file mode 100644
index 000000000000..a43fe21628c8
--- /dev/null
+++ b/sci-chemistry/avogadro2/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+ <use>
+ <flag name="rpc">Enable RPC server</flag>
+ <flag name="vtk">include vtk support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">OpenChemistry/avogadroapp</remote-id>
+ <remote-id type="sourceforge">avogadro</remote-id>
+ </upstream>
+</pkgmetadata>