summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-22 19:28:10 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-22 20:51:46 +0100
commit3fb33290e85d90a6f6d0a0a68cb00cc243abc49f (patch)
tree8c1adf42ecbc4222b0ddc8c052e703b897c50d50 /sci-libs/chemkit
parentsys-auth/elogind: Drop 235.2 (r0) (diff)
downloadgentoo-3fb33290e85d90a6f6d0a0a68cb00cc243abc49f.tar.gz
gentoo-3fb33290e85d90a6f6d0a0a68cb00cc243abc49f.tar.bz2
gentoo-3fb33290e85d90a6f6d0a0a68cb00cc243abc49f.zip
sci-libs/chemkit: Drop USE qt4
Closes: https://bugs.gentoo.org/644514 Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'sci-libs/chemkit')
-rw-r--r--sci-libs/chemkit/chemkit-0.1-r2.ebuild24
1 files changed, 10 insertions, 14 deletions
diff --git a/sci-libs/chemkit/chemkit-0.1-r2.ebuild b/sci-libs/chemkit/chemkit-0.1-r2.ebuild
index c1cb99bc9455..987c32161c18 100644
--- a/sci-libs/chemkit/chemkit-0.1-r2.ebuild
+++ b/sci-libs/chemkit/chemkit-0.1-r2.ebuild
@@ -14,10 +14,9 @@ SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="BSD PSF-2.2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples python qt4 test"
+IUSE="examples python test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- test? ( python qt4 )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
dev-cpp/eigen:3
@@ -32,14 +31,11 @@ RDEPEND="
x11-libs/libXext
)
python? ( ${PYTHON_DEPS} )
- qt4? (
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- )
"
DEPEND="${RDEPEND}"
+RESTRICT="test" # requires disabled Qt4
+
S="${WORKDIR}"/${PN}
PATCHES=(
@@ -63,12 +59,12 @@ src_configure() {
-DCHEMKIT_BUILD_EXAMPLES=$(usex examples)
-DCHEMKIT_BUILD_DEMOS=$(usex examples)
-DCHEMKIT_BUILD_BINDINGS_PYTHON=$(usex python)
- -DCHEMKIT_BUILD_APPS=$(usex qt4)
- -DCHEMKIT_BUILD_PLUGIN_BABEL=$(usex qt4)
- -DCHEMKIT_BUILD_QT_DESIGNER_PLUGINS=$(usex qt4)
- -DCHEMKIT_WITH_GRAPHICS=$(usex qt4)
- -DCHEMKIT_WITH_GUI=$(usex qt4)
- -DCHEMKIT_WITH_WEB=$(usex qt4)
+ -DCHEMKIT_BUILD_APPS=OFF
+ -DCHEMKIT_BUILD_PLUGIN_BABEL=OFF
+ -DCHEMKIT_BUILD_QT_DESIGNER_PLUGINS=OFF
+ -DCHEMKIT_WITH_GRAPHICS=OFF
+ -DCHEMKIT_WITH_GUI=OFF
+ -DCHEMKIT_WITH_WEB=OFF
-DCHEMKIT_BUILD_TESTS=$(usex test)
-DUSE_SYSTEM_INCHI=ON
-DUSE_SYSTEM_JSONCPP=OFF