summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-03-25 01:35:18 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-03-25 01:36:48 +0100
commitb052b21fd6a6fdbfcf375ef558c06a6f9355c38f (patch)
tree617581a48a22781d97704f6097d42ae53d9d07fc /sci-chemistry
parentsci-libs/avogadrolibs: 0.9.0 version bump (diff)
downloadgentoo-b052b21fd6a6fdbfcf375ef558c06a6f9355c38f.tar.gz
gentoo-b052b21fd6a6fdbfcf375ef558c06a6f9355c38f.tar.bz2
gentoo-b052b21fd6a6fdbfcf375ef558c06a6f9355c38f.zip
sci-chemistry/avogadro2: 0.9.0 version bump
Gentoo-bug: 594632 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/avogadro2/Manifest1
-rw-r--r--sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild53
-rw-r--r--sci-chemistry/avogadro2/metadata.xml22
3 files changed, 65 insertions, 11 deletions
diff --git a/sci-chemistry/avogadro2/Manifest b/sci-chemistry/avogadro2/Manifest
index 96307cdc6ece..e02dad7d155d 100644
--- a/sci-chemistry/avogadro2/Manifest
+++ b/sci-chemistry/avogadro2/Manifest
@@ -1,2 +1,3 @@
+DIST avogadro2-0.9.0.tar.gz 1096442 SHA256 3af7faf0cc534953f40f4d77d9a5b6bdf1699d8c8bce9fb72834aaef10deddd1 SHA512 bc780b1f45822ffc6cef82cf5fbe04cfbab035e553037959965eb0cad2c3f87e53bc71a574c7154cae5909377c74d14708550070c1794bdd5d83d738846b03ba WHIRLPOOL a7633bec714f1decc339d8a9a131f047b733fc2e30d80f2ed9ff904b89e03091bed4c242452e222e441ecbea02fe95c06a6ef9faed354a565b1a89d9d00bc049
DIST avogadroapp-0.7.2.tar.gz 523935 SHA256 f29db2f04aea8d9dfa0ab73bfa0c45fba18f45fba968a249f618024e8ab8fe63 SHA512 fb798931b66827b0b0e27295b528483d258e15612dba729219874b6171be3e981bd18337add41eb93613d90653286d8d8aa0dbe5fb11577c5ee22ba25b65443b WHIRLPOOL bce0a6c8e0e10bedb332b68c08935ecaf2abe8fbc53cfb7eb53f206da89014f99e0f9ccd95c2ad6c876bb97090939b0807e0d10c7e62f58ebb3a3cc3254fd2a6
DIST avogadroapp-0.8.0.tar.gz 1105596 SHA256 d79840f0395c11c2081262ba9c1bc6d944c089bac162b434b94a3080bc90c221 SHA512 cc8c6c1620f603b3ed48a45c13968dc451382d3c3947b743fc65c547d6af92ae1f7f1764ffba84e602a2b54a5be075473e58cb49b8061b9e41b728eadba1a5de WHIRLPOOL dc04714b0f830bf826b5253ceb1738500f48aed5e1c922bd2096d2273c88264bbcf27a796418eec80c4483c5905d6c46e8ad4af22e011ab1b451c70d0c087a38
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..956e2893d255
--- /dev/null
+++ b/sci-chemistry/avogadro2/avogadro2-0.9.0.ebuild
@@ -0,0 +1,53 @@
+# 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/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork: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
index 89ea8dc34f2c..7202b38993c4 100644
--- a/sci-chemistry/avogadro2/metadata.xml
+++ b/sci-chemistry/avogadro2/metadata.xml
@@ -1,15 +1,15 @@
<?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="sourceforge">avogadro</remote-id>
- </upstream>
+ <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>
+ </upstream>
</pkgmetadata>