summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-03-25 01:28:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-03-25 01:36:48 +0100
commitf3ed53eedcd15825be0905ec64ca8f1e18a0b92d (patch)
tree76c4ec56508185717fbd2899b1404b005a432e26
parentapp-admin/perl-cleaner: Remove old (diff)
downloadgentoo-f3ed53eedcd15825be0905ec64ca8f1e18a0b92d.tar.gz
gentoo-f3ed53eedcd15825be0905ec64ca8f1e18a0b92d.tar.bz2
gentoo-f3ed53eedcd15825be0905ec64ca8f1e18a0b92d.zip
sci-libs/avogadrolibs: 0.9.0 version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--sci-libs/avogadrolibs/Manifest1
-rw-r--r--sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild66
-rw-r--r--sci-libs/avogadrolibs/metadata.xml24
3 files changed, 78 insertions, 13 deletions
diff --git a/sci-libs/avogadrolibs/Manifest b/sci-libs/avogadrolibs/Manifest
index 1e91026fd07..e0499c9f9a7 100644
--- a/sci-libs/avogadrolibs/Manifest
+++ b/sci-libs/avogadrolibs/Manifest
@@ -1,2 +1,3 @@
DIST avogadrolibs-0.7.2.tar.gz 637001 SHA256 217eb5d62082bbaacefe8ad3c8c8ddbbd41931d306038774f761c0155aeccc76 SHA512 a796af1ab3eb77eb2e5484e9e9cb9d7cf68759c9afbd48ddeb237513583e2c207c7c70b2e87b37843886fc737410456ee451e8fe5a21707bdc01fdf600d4cbb8 WHIRLPOOL 81f0d1949c0a93b9efd1f47f276929b01ca761a5875015be3feafb493be3629b0b8e00c0ba930e1ca73b79fc621a67f7e2ab41ae5e4fc10dddd18449238d933f
DIST avogadrolibs-0.8.0.tar.bz2 619784 SHA256 0f9a39e3469c4b4622a55ceeace3565c5f7f4df13fdadb73aa1f7d9bba43856c SHA512 edcd220e7c05962543b3cdd61faacb838060a69acb61677150256e2e8f36cad513f58a5071b6ef20510aa4aa6699e517c57d70017d8f1b57936c7f87c9da21c7 WHIRLPOOL 87ea3436af93ec860e90bdbe1b7c24408dae69e17755300f526a03b4e5d0f76217d0d3b695e917c5bf315758b4e2d3ee0c1511734d13e58251ade1d63709949b
+DIST avogadrolibs-0.9.0.tar.gz 742370 SHA256 be627991148ebcc50153ff5838ac147b6de2d90d25f1eeba700619810d353f69 SHA512 7cb000cd6399f33483c38b4f8a9c4a4688f5054cba35e101bed0f2371cea614ace6b3fc65c3ed1418976afef4462a09be868500435a5ae9c98a7ac496c10c36f WHIRLPOOL 9f7d10b2748b370a77ea22aa14abc50afefc49f23554e84600061d52b8c06c36953d1540d142068e4afa9a626b57a201720d9fae567d9a01bce9fca8e191e635
diff --git a/sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild
new file mode 100644
index 00000000000..b83d2422415
--- /dev/null
+++ b/sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries"
+HOMEPAGE="http://www.openchemistry.org/"
+SRC_URI="https://github.com/OpenChemistry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD GPL-2+"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc hdf5 opengl qt5 static-plugins test vtk"
+
+REQUIRED_USE="qt5? ( opengl )"
+
+RDEPEND="
+ >=sci-chemistry/molequeue-0.7
+ sci-libs/chemkit
+ hdf5? ( sci-libs/hdf5:= )
+ opengl? (
+ dev-qt/qtopengl:5
+ media-libs/glew
+ )
+ qt5? (
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ )
+ vtk? ( sci-libs/vtk )
+"
+DEPEND="${DEPEND}
+ dev-cpp/eigen:3
+ test? ( dev-cpp/gtest )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.7.2-6464.patch
+ "${FILESDIR}/"${PN}-0.8.0-underlinking.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_PROTOCALL=OFF
+ -DBUILD_GPL_PLUGINS=ON
+ -DUSE_MOLEQUEUE=ON
+ -DUSE_HDF5=$(usex hdf5)
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DUSE_OPENGL=$(usex opengl)
+ -DUSE_QT=$(usex qt5)
+ -DBUILD_STATIC_PLUGINS=$(usex static-plugins)
+ -DENABLE_TESTING=$(usex test)
+ -DUSE_VTK=$(usex vtk)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # TODO: bundles jsoncpp
+ rm ${D}/usr/lib64/libjsoncpp.a || die
+}
diff --git a/sci-libs/avogadrolibs/metadata.xml b/sci-libs/avogadrolibs/metadata.xml
index b9237e1612a..4b3dfdb2230 100644
--- a/sci-libs/avogadrolibs/metadata.xml
+++ b/sci-libs/avogadrolibs/metadata.xml
@@ -1,17 +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="static-plugins">
- build all plugins statically into main plugin modules
- </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="static-plugins">Build all plugins statically into main plugin modules</flag>
+ <flag name="vtk">include vtk support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">OpenChemistry/avogadrolibs</remote-id>
+ </upstream>
</pkgmetadata>