diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/avogadrolibs |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/avogadrolibs')
-rw-r--r-- | sci-libs/avogadrolibs/Manifest | 11 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild | 50 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild | 55 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild | 66 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/files/avogadrolibs-0.7.2-6464.patch | 16 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch | 34 | ||||
-rw-r--r-- | sci-libs/avogadrolibs/metadata.xml | 16 |
7 files changed, 248 insertions, 0 deletions
diff --git a/sci-libs/avogadrolibs/Manifest b/sci-libs/avogadrolibs/Manifest new file mode 100644 index 000000000000..f2afc22581d7 --- /dev/null +++ b/sci-libs/avogadrolibs/Manifest @@ -0,0 +1,11 @@ +AUX avogadrolibs-0.7.2-6464.patch 902 SHA256 e4d0e73683ffd6da1a039bf6ea6544065c1d45533633c7793fb2329c924625d7 SHA512 3851a3c5f7c599e439b4faa491ea080264e60bf2a7c4d35e01a10726f901a5797026bf32535107b46ca44335c5723d9ec7f0b6a46e9eebf7ffd9f90c7f2103d3 WHIRLPOOL 2622bc8408f69f4deb0084d78265fe5c70f05f6095f94b1cb0a4b25793ec1d1c4e9f7ef8a13043ea1b6f185d1a7ea11579675ae8a5360e2582fd2e87dcd91074 +AUX avogadrolibs-0.8.0-underlinking.patch 1170 SHA256 51c69e4b440c6d8056c3a8facc45a8771301da6d73abe83afc983b26e57f5104 SHA512 2520af361e250dc2459beec78d073686f44b41166cf81fd7c2a98e2ed30c5f20b5c910fb3808a56202420068043044900e7a504657506a12d16bd0acac87a466 WHIRLPOOL 25bdb409dcd93369b13ade06615f869f20ef758394f0a5a3fdc29d28401a8d48baf2557fa8def9d5906c40b54e6e5c9e945498bcf64c60825bcf6c31807fe549 +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 +EBUILD avogadrolibs-0.7.2-r1.ebuild 1134 SHA256 4d2d24e2268196656d6f03299b356c0bd1d40f116844fcf213d47df82b4e9f55 SHA512 647996bc7599e95c89f65e0527d682bab720a0b3c34f96ba979a41d8c4b5efde12de572d98146310a67cff8a8709cf0cc67f4ea49f93aab4cabbf80eb45f6572 WHIRLPOOL bf6e6dd9d1f2007deeaa8425696aa8333bceff6ec05088586d629fa440806647fde8765a5520a5fb61f1b962ed8dae5ecdaf2409e61e2d23f2ed22fa132ceed2 +EBUILD avogadrolibs-0.8.0.ebuild 1287 SHA256 8738be273e50e37cae03de61dabd91af7533e7d56a6e6ceec91bcf99680e22df SHA512 d233f1bec425686d2a8984fd63b135c6391e10db0b21ec95dcb9bd2014fea7bbb9ce16c4c03b9dcb928fc79e53160d26ef5fe2918623b9246a07482c309acff6 WHIRLPOOL f361d9fd74555bc80ca58fbcc290ddcd598dcf6155d8c1462f7f01e5ea3f07ff264dd157576b5d6cb50e4c33aa2569ea42afabfc699654512b2c336de8aaef0e +EBUILD avogadrolibs-0.9.0.ebuild 1399 SHA256 7ae3aac2d40ad5825bf89528cda26b0913cf7f26ad7b82401e757eaa845f190a SHA512 321dff768e0ec9984630900adb06eea78f2d30f78da5f6ca53f1405d1aae6f24c4c7a2d0c4dc6d2abe9615e19221abd119baeb8bb8dbfa093ce684082a1b2cba WHIRLPOOL 843e148070d9f16de55d0e0dc2d2c10037b7acc409d69bac5b1fa83d622b154c34df2855119218620a4afde7b2b0e7adb94adf88f17722686e4ba32b3db43be6 +MISC ChangeLog 3059 SHA256 f9d2d15410969599521108e93525ae0c5d63bbd3c423c977aaa588d252e22ceb SHA512 0b9d6c1de7321db3cae6a2e307a1a0569c3a42a8f9464835865696da83e69174182f0325bb4e1629d91f6c1ec5f9356ba2ec8319e3593f2a2f8c23dd3f30ce2c WHIRLPOOL 58a4ff0e716850a43edde9705fbf06b6c652f854491b8f1f62720f25a5389e7112e4b8e33006711956d3fecbc1930870f4c73600b1108682c73f8cdc23f14ca8 +MISC ChangeLog-2015 1728 SHA256 854ce6d73ee64d3675d9aeb9450af44f9f2936835f17f728a1fc88dfa4a859a3 SHA512 cd403669a5ea336bc3a6ac16afa4939aa515ec3d4c81f9c6e7fb9b01b1fdde75fc6c6089944b9052e3c1dd1ea562c45e8cb8d4788e4da2fdb301ab38e9e6840f WHIRLPOOL 147a0bdaf79c36d347067ce4e448b81ee7b9cad59ee329d3579e42ebe5e48f1d384106d45bbc85b97131f95c39b69a802d06ba93e39130236fd6c23188cde4a3 +MISC metadata.xml 561 SHA256 f7a56fafd1cd4aa6c8a2c9b49a185fbb0320897a991817f35581ecde95b72785 SHA512 20bee27014f13bcb3d1ca6addad61f4553fb77197c6113d65e71f97cbd6bda4a69e5db7f3ca12db41dc5d4afb09882bb89312a8e4babf5110957d6e86c1cbc81 WHIRLPOOL 8a3961c0d7ed2ab533f389b2147573efb44d0807d7796adbdcac27f4661530f381f4f5a8b476fe4f53138c7a59903792a69bf37210de126de16392b0c54708cd diff --git a/sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild b/sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild new file mode 100644 index 000000000000..ea3c49c5231f --- /dev/null +++ b/sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries" +HOMEPAGE="http://www.openchemistry.org/" +SRC_URI="mirror://sourceforge/project/avogadro/avogadro2/${PV}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD GPL-2+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc opengl qt4 static-plugins test vtk" + +REQUIRED_USE="qt4? ( opengl )" + +RDEPEND=" + >=sci-chemistry/molequeue-0.7 + sci-libs/chemkit + sci-libs/hdf5:= + opengl? ( + dev-qt/qtopengl:4 + media-libs/glew + ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + vtk? ( sci-libs/vtk ) +" +DEPEND="${DEPEND} + test? ( dev-cpp/gtest )" + +PATCHES=( "${FILESDIR}"/${P}-6464.patch ) + +src_configure() { + local mycmakeargs=( + -DUSE_PROTOCALL=OFF + -DBUILD_GPL_PLUGINS=ON + $(cmake-utils_use_build doc DOCUMENTATION) + $(cmake-utils_use_use opengl OPENGL) + $(cmake-utils_use_use qt4 QT) + $(cmake-utils_use_build static-plugins STATIC_PLUGINS) + $(cmake-utils_use_enable test TESTING) + $(cmake-utils_use_use vtk VTK) + ) + cmake-utils_src_configure +} diff --git a/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild new file mode 100644 index 000000000000..489784bb1736 --- /dev/null +++ b/sci-libs/avogadrolibs/avogadrolibs-0.8.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries" +HOMEPAGE="http://www.openchemistry.org/" +SRC_URI="mirror://sourceforge/project/avogadro/avogadro2/${PV}/${P}.tar.bz2" + +SLOT="0" +LICENSE="BSD GPL-2+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc opengl qt5 static-plugins test vtk" + +REQUIRED_USE="qt5? ( opengl )" + +RDEPEND=" + >=sci-chemistry/molequeue-0.7 + sci-libs/chemkit + 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}/"${P}-underlinking.patch ) + +src_configure() { + local mycmakeargs=( + -DUSE_PROTOCALL=OFF + -DBUILD_GPL_PLUGINS=ON + -DUSE_MOLEQUEUE=ON + $(cmake-utils_use_build doc DOCUMENTATION) + $(cmake-utils_use_use opengl OPENGL) + $(cmake-utils_use_use qt5 QT) + $(cmake-utils_use_build static-plugins STATIC_PLUGINS) + $(cmake-utils_use_enable test TESTING) + $(cmake-utils_use_use vtk VTK) + ) + cmake-utils_src_configure +} 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 000000000000..ea71fa95ce6e --- /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/qtgui:5 + dev-qt/qtnetwork: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 "${ED%/}"/usr/lib64/libjsoncpp.a || die +} diff --git a/sci-libs/avogadrolibs/files/avogadrolibs-0.7.2-6464.patch b/sci-libs/avogadrolibs/files/avogadrolibs-0.7.2-6464.patch new file mode 100644 index 000000000000..f763c242cc48 --- /dev/null +++ b/sci-libs/avogadrolibs/files/avogadrolibs-0.7.2-6464.patch @@ -0,0 +1,16 @@ + cmake/AvogadroLibsConfig.cmake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/AvogadroLibsConfig.cmake.in b/cmake/AvogadroLibsConfig.cmake.in +index ad57195..8a63400 100644 +--- a/cmake/AvogadroLibsConfig.cmake.in ++++ b/cmake/AvogadroLibsConfig.cmake.in +@@ -10,7 +10,7 @@ set(AvogadroLibs_VERSION "${AvogadroLibs_VERSION_MAJOR}.${AvogadroLibs_V + + set(AvogadroLibs_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@") + set(AvogadroLibs_INCLUDE_DIRS "${AvogadroLibs_INSTALL_PREFIX}/@INSTALL_INCLUDE_DIR@") +-set(AvogadroLibs_LIBRARY_DIR "${AvogadroLibs_INSTALL_PREFIX}/@INSTALL_LIBRARY_DIR@@LIB_SUFFIX@") ++set(AvogadroLibs_LIBRARY_DIR "${AvogadroLibs_INSTALL_PREFIX}/@INSTALL_LIBRARY_DIR@") + set(AvogadroLibs_RUNTIME_DIR "${AvogadroLibs_INSTALL_PREFIX}/@INSTALL_RUNTIME_DIR@") + set(AvogadroLibs_CMAKE_DIR "${AvogadroLibs_LIBRARY_DIR}/cmake/avogadrolibs") + diff --git a/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch b/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch new file mode 100644 index 000000000000..b29f3afe7613 --- /dev/null +++ b/sci-libs/avogadrolibs/files/avogadrolibs-0.8.0-underlinking.patch @@ -0,0 +1,34 @@ +Fix underlinking problems in shared libraries. + +--- avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt +@@ -23,4 +23,4 @@ + "${apbs_uis}" + ) + +-target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient) ++target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient AvogadroMoleQueue) +--- avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt +@@ -7,3 +7,5 @@ + "" + playertool.qrc + ) ++ ++target_link_libraries(PlayerTool LINK_PRIVATE Qt5OpenGL) +--- avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt +@@ -8,3 +8,5 @@ + "povray.cpp" + "" + ) ++ ++target_link_libraries(POVRay LINK_PRIVATE AvogadroRendering) +--- avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt ++++ avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt +@@ -34,3 +34,5 @@ + + target_link_libraries(QTAIMScenePlugin + LINK_PRIVATE AvogadroRendering ${Qt5Concurrent_LIBRARIES}) ++target_link_libraries(QTAIMExtension ++ LINK_PRIVATE ${Qt5Concurrent_LIBRARIES}) diff --git a/sci-libs/avogadrolibs/metadata.xml b/sci-libs/avogadrolibs/metadata.xml new file mode 100644 index 000000000000..ea8e4fdee064 --- /dev/null +++ b/sci-libs/avogadrolibs/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="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> + <remote-id type="sourceforge">avogadro</remote-id> + </upstream> +</pkgmetadata> |