summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-03-01 14:54:32 +0100
committerDavid Seifert <soap@gentoo.org>2022-03-01 14:54:32 +0100
commit6739b0456605499455c974f320425fbe9844d935 (patch)
tree95221d9342667038bfe04317ddace4c021388b87 /sci-libs/avogadrolibs
parentdev-python/podcastparser: Remove old (diff)
downloadgentoo-6739b0456605499455c974f320425fbe9844d935.tar.gz
gentoo-6739b0456605499455c974f320425fbe9844d935.tar.bz2
gentoo-6739b0456605499455c974f320425fbe9844d935.zip
sci-libs/avogadrolibs: fix doc and qt5 args
Closes: https://bugs.gentoo.org/834441 Closes: https://bugs.gentoo.org/834442 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/avogadrolibs')
-rw-r--r--sci-libs/avogadrolibs/avogadrolibs-1.95.1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.95.1.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.95.1.ebuild
index afbd3b62a290..2a3a1c7cdb9b 100644
--- a/sci-libs/avogadrolibs/avogadrolibs-1.95.1.ebuild
+++ b/sci-libs/avogadrolibs/avogadrolibs-1.95.1.ebuild
@@ -40,7 +40,9 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-cpp/eigen:3
test? ( dev-cpp/gtest )"
-BDEPEND="qt5? ( dev-qt/linguist-tools:5 )"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ qt5? ( dev-qt/linguist-tools:5 )"
PATCHES=(
"${FILESDIR}/"${PN}-1.91.0_pre20180406-bundled-genxrdpattern.patch
@@ -62,14 +64,11 @@ src_unpack() {
src_configure() {
local mycmakeargs=(
- -DBUILD_GPL_PLUGINS=ON
- -DBUILD_STATIC_PLUGINS=ON
-DUSE_LIBARCHIVE=$(usex archive)
-DBUILD_DOCUMENTATION=$(usex doc)
-DUSE_HDF5=$(usex hdf5)
-DENABLE_TRANSLATIONS=$(usex qt5)
-DUSE_OPENGL=$(usex qt5)
- -DOpenGL_GL_PREFERENCE=GLVND
-DUSE_QT=$(usex qt5)
-DENABLE_TESTING=$(usex test)
-DUSE_VTK=$(usex vtk)
@@ -81,6 +80,11 @@ src_configure() {
# find_package(Spglib) completely broken
-DUSE_SPGLIB=OFF
)
+ use qt5 && mycmakeargs+=(
+ -DBUILD_GPL_PLUGINS=ON
+ -DBUILD_STATIC_PLUGINS=ON
+ -DOpenGL_GL_PREFERENCE=GLVND
+ )
use vtk && mycmakeargs+=(
-DBUNDLED_GENXRDPATTERN="${WORKDIR}/genXrdPattern"
)