mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sci-libs/avogadrolibs: Drop old snapshot
Package-Manager: Portage-2.3.29, Repoman-2.3.9
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST avogadrolibs-1.91.0_pre20180406.tar.gz 857345 BLAKE2B 8e5c6b0a838a2a6b7dc925c1b544ab4d4de8b7769b1fe8d787127a1014b1243da89a2a6f6cfc871181f81a443c3ee63d758369f003afaf591c9373c9d5122ee3 SHA512 1814b2105615aabc1df78b14c581e78fea20a1e4ace8979bb2ad123ab0994d90c3935e37f0cc58b60d3307ffe682599a93d8cadddc22b4ba524caaec1a2c5319
|
||||
DIST avogadrolibs-1.91.0_pre20180415.tar.gz 2541101 BLAKE2B 526d2135af123d31220c8dd87351a35464e3dfd6b8d411d6dc9a6b3e74693090adfa3b61198a6a296eac99e6bbd67623f7aeda6a1752a09e3e3bcaa3df4d5008 SHA512 1cc646368f70523fcf20c6cf598025234162e0c81da64a3b5375c1691a6743f2aceb1f13230937bf9da045e725a23c1c89c8121e07b31ef9e2c7987b1feafccc
|
||||
DIST linux64-genXrdPattern 7480152 BLAKE2B dca8285c41aadfaa20c72f337e0f02db8ee07ce30c11ae84bf3aa7bd0b2220273d33f484d63f761d41a8946c6a0b77a0fb27906c480bcae01ae49b1531ae5cbb SHA512 538bde12e1e52600a21640d5907f43fcc853c6f3c111880f39eb238093e3d1358ccdfa1f45e944ec8b8e5ee3c2dff269cefe5334db5d73300e6ca327c95520b8
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
COMMIT=f414794a168712f72884cdcfba818def5f42e721
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries"
|
||||
HOMEPAGE="https://www.openchemistry.org/"
|
||||
SRC_URI="https://github.com/OpenChemistry/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
vtk? ( https://github.com/psavery/genXrdPattern/releases/download/1.0-static/linux64-genXrdPattern )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="archive doc hdf5 qt5 static-plugins test vtk"
|
||||
|
||||
REQUIRED_USE="vtk? ( qt5 )"
|
||||
|
||||
# TODO: Not yet packaged:
|
||||
# sci-libs/libmsym (https://github.com/mcodev31/libmsym)
|
||||
# sci-libs/spglib (https://atztogo.github.io/spglib/)
|
||||
RDEPEND="
|
||||
dev-libs/jsoncpp:=
|
||||
>=sci-chemistry/molequeue-0.7
|
||||
archive? ( app-arch/libarchive )
|
||||
hdf5? ( sci-libs/hdf5:= )
|
||||
qt5? (
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/glew:0=
|
||||
virtual/opengl
|
||||
)
|
||||
vtk? ( sci-libs/vtk[qt5,views] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/eigen:3
|
||||
dev-qt/qtopengl:5
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.7.2-6464.patch
|
||||
"${FILESDIR}/"${P}-underlinking.patch
|
||||
"${FILESDIR}/"${P}-unbundle-jsoncpp.patch
|
||||
"${FILESDIR}/"${P}-bundled-genxrdpattern.patch
|
||||
"${FILESDIR}/"${P}-qt-5.11.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
if use vtk; then
|
||||
cp "${DISTDIR}"/linux64-genXrdPattern "${WORKDIR}/genXrdPattern" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_PROTOCALL=OFF
|
||||
-DBUILD_GPL_PLUGINS=ON
|
||||
-DUSE_MOLEQUEUE=ON
|
||||
-DUSE_LIBMSYM=OFF
|
||||
-DUSE_LIBSPG=OFF
|
||||
-DUSE_PYTHON=OFF
|
||||
-DUSE_LIBARCHIVE=$(usex archive)
|
||||
-DBUILD_DOCUMENTATION=$(usex doc)
|
||||
-DUSE_HDF5=$(usex hdf5)
|
||||
-DUSE_OPENGL=$(usex qt5)
|
||||
-DUSE_QT=$(usex qt5)
|
||||
-DBUILD_STATIC_PLUGINS=$(usex static-plugins)
|
||||
-DENABLE_TESTING=$(usex test)
|
||||
-DUSE_VTK=$(usex vtk)
|
||||
)
|
||||
use vtk && mycmakeargs+=(
|
||||
-DBUNDLED_GENXRDPATTERN="${WORKDIR}/genXrdPattern"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
From 5d70cd5ec5ac8460ff5d3d6b0b47b9c60e1f3ca2 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Tue, 10 Apr 2018 21:59:32 +0200
|
||||
Subject: [PATCH] Fix build with Qt-5.11
|
||||
|
||||
---
|
||||
avogadro/qtplugins/gamessinput/gamessinput.cpp | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/avogadro/qtplugins/gamessinput/gamessinput.cpp b/avogadro/qtplugins/gamessinput/gamessinput.cpp
|
||||
index 779d2d4..0b2e106 100644
|
||||
--- a/avogadro/qtplugins/gamessinput/gamessinput.cpp
|
||||
+++ b/avogadro/qtplugins/gamessinput/gamessinput.cpp
|
||||
@@ -24,9 +24,9 @@
|
||||
|
||||
#include <molequeue/client/jobobject.h>
|
||||
|
||||
-#include <QtCore/QDebug>
|
||||
-
|
||||
-#include <QtWidgets/QMessageBox>
|
||||
+#include <QAction>
|
||||
+#include <QDebug>
|
||||
+#include <QMessageBox>
|
||||
|
||||
namespace Avogadro {
|
||||
namespace Core {
|
||||
--
|
||||
2.17.0
|
||||
|
||||
Reference in New Issue
Block a user