diff options
author | Pacho Ramos <pacho@gentoo.org> | 2020-03-14 18:31:36 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2020-03-14 18:32:07 +0100 |
commit | 4f9bfa15743bd562d43831e436f4419790fd7560 (patch) | |
tree | 53a5935b7f16eafbf9d33a0bda521e11c2254e82 /sci-chemistry/avogadro2 | |
parent | sci-libs/avogadrolibs: Bump to 1.93.0 (diff) | |
download | gentoo-4f9bfa15743bd562d43831e436f4419790fd7560.tar.gz gentoo-4f9bfa15743bd562d43831e436f4419790fd7560.tar.bz2 gentoo-4f9bfa15743bd562d43831e436f4419790fd7560.zip |
sci-chemistry/avogadro2: Bump to 1.93.0
Closes: https://bugs.gentoo.org/695180
Closes: https://bugs.gentoo.org/698644
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-chemistry/avogadro2')
-rw-r--r-- | sci-chemistry/avogadro2/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/avogadro2/avogadro2-1.93.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-chemistry/avogadro2/Manifest b/sci-chemistry/avogadro2/Manifest index bf8336ee200f..dae68233edb6 100644 --- a/sci-chemistry/avogadro2/Manifest +++ b/sci-chemistry/avogadro2/Manifest @@ -1 +1,2 @@ DIST avogadro2-1.90.0_p20180211.tar.gz 1099312 BLAKE2B fbf8e2006c46114632587615b48ac130e45a46ce2859a9c34270714091bc8397d9d7a93c3166bf58833f100e3e40afd1962012e479a8f92ba8ff9078200d51c5 SHA512 db9b0983d2161df493138ddf18c5dbda54cf2f8b75ebc944f1f57dab0f1e2048582362e5f46a78b1610aba080aaac8a66d2b2b71db748e031ffde306d3609856 +DIST avogadro2-1.93.0.tar.gz 2905461 BLAKE2B db51e4574fdf2a31657b8bef7b06eb0d563484deaae1a6d75649187d6f5fd7b02a99506cfb850e09792555d7c27d9937d0df0f7172fafc3ddcbccaa7502c5bb6 SHA512 8e4e15b6c2d1935f8c585c83761b28a6397bc1dc22cd5f66464d59dd25327b1cffec809af492586be4b56793448f94f9375c16e8a4c4969f7b8f2591049cc5fc diff --git a/sci-chemistry/avogadro2/avogadro2-1.93.0.ebuild b/sci-chemistry/avogadro2/avogadro2-1.93.0.ebuild new file mode 100644 index 000000000000..b4a2a037987e --- /dev/null +++ b/sci-chemistry/avogadro2/avogadro2-1.93.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +MY_PN=avogadroapp + +inherit desktop cmake-utils xdg + +DESCRIPTION="Advanced molecule editor and visualizer 2" +HOMEPAGE="https://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/qtwidgets:5 + >=sci-libs/avogadrolibs-${PV}[qt5,vtk?] + sci-libs/hdf5:= + rpc? ( sci-chemistry/molequeue ) +" +DEPEND="${DEPEND} + dev-cpp/eigen:3 + test? ( dev-qt/qttest:5 ) +" + +RESTRICT="test" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + cmake-utils_src_prepare + sed -e "/LICENSE/d" -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + -DBUILD_DOCUMENTATION=$(usex doc) + -DAvogadro_ENABLE_RPC=$(usex rpc) + -DENABLE_TESTING=$(usex test) + -DUSE_VTK=$(usex vtk) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + for size in 64 128 256 512; do + newicon -s "${size}" avogadro/icons/"${PN}"_"${size}".png "${PN}".png + done +} |