diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2020-01-08 19:11:54 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2020-01-08 19:11:54 +0100 |
commit | 8d66416bc774a8aff54e6fa8998fb944e4cd9b0e (patch) | |
tree | 9c477433474bbe3e40c6ac1de837ad26995a4395 /x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild | |
parent | 2e2c95fcd3dc71bbc5431facb1f1064bdec70fde (diff) | |
download | brancik-overlay-8d66416bc774a8aff54e6fa8998fb944e4cd9b0e.tar.gz brancik-overlay-8d66416bc774a8aff54e6fa8998fb944e4cd9b0e.tar.bz2 |
Update x11-libs/libQGLViewer to v2.7.2
Diffstat (limited to 'x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild')
-rw-r--r-- | x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild new file mode 100644 index 0000000..4a91987 --- /dev/null +++ b/x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=7 + +inherit qmake-utils multilib + +DESCRIPTION="Simple 3D viewer class for Qt OpenGL applications" +HOMEPAGE="http://www.libqglviewer.com" +SRC_URI="http://www.libqglviewer.com/src/${PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + + +DEPEND="virtual/opengl + dev-qt/qtopengl:5 + dev-qt/qtxml:5" + +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${PV} + +src_configure() { + true +} + +src_compile() { + eqmake5 libQGLViewer-${PV}.pro -o Makefile \ + PREFIX=/usr \ + LIB_DIR=/usr/$(get_libdir) + emake || die "emake QGLViewer failed" +} + +src_install() { + cd QGLViewer + INSTALL_ROOT="${D}" emake install_target install_include || die "install QGLViewer failed" + + cd designerPlugin + INSTALL_ROOT="${D}" emake install_target || die "install QGLViewer failed" + + dodoc ../README || die "installing README failed" + + if use doc ; then + dohtml -r ../doc/* || die "installing html files failed" + docinto examples + dodoc ../examples/* || die "installing examples failed" + fi +} |