summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-01 08:32:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-01 09:29:15 +0200
commit0a3f5bcc8a6ba9b1743401e31d2ed2f50e904b2f (patch)
tree589fc72d1daabfaac37406497e17c209b64fcc64 /x11-libs/libQGLViewer
parentnet-libs/libtrace: Version 4.0.8 (diff)
downloadgentoo-0a3f5bcc8a6ba9b1743401e31d2ed2f50e904b2f.tar.gz
gentoo-0a3f5bcc8a6ba9b1743401e31d2ed2f50e904b2f.tar.bz2
gentoo-0a3f5bcc8a6ba9b1743401e31d2ed2f50e904b2f.zip
x11-libs/libQGLViewer: EAPI-7 bump, missing || die
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-libs/libQGLViewer')
-rw-r--r--x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild
index 19eae03cf769..9354dafafbbd 100644
--- a/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild
+++ b/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
-inherit qmake-utils multilib flag-o-matic
+inherit flag-o-matic qmake-utils
DESCRIPTION="C++ library based on Qt that eases the creation of OpenGL 3D viewers"
HOMEPAGE="http://www.libqglviewer.com"
@@ -14,18 +14,21 @@ SLOT="0/qt5"
KEYWORDS="~amd64 ~arm"
IUSE="designer examples"
-DEPEND="virtual/opengl
- virtual/glu
- dev-qt/qtopengl:5
+DEPEND="
dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
- dev-qt/qtgui:5"
+ virtual/glu
+ virtual/opengl
+"
RDEPEND="${DEPEND}
- designer? ( dev-qt/designer:5 )"
+ designer? ( dev-qt/designer:5 )
+"
src_configure() {
- append-ldflags "-L${S}/QGLViewer"
+ append-ldflags "-LQGLViewer"
sed -e 's#designerPlugin##' -i ${P}.pro || die
use examples || sed -e 's#examples examples/contribs##' -i ${P}.pro || die
eqmake5 ${P}.pro \
@@ -33,7 +36,7 @@ src_configure() {
LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
if use designer ; then
- cd "${S}/designerPlugin"
+ cd "designerPlugin" || die
eqmake5 designerPlugin.pro
fi
}
@@ -43,7 +46,7 @@ src_install() {
dodoc README
if use designer ; then
- cd "${S}/designerPlugin"
+ cd "${S}/designerPlugin" || die
emake INSTALL_ROOT="${D}" install
fi