diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-09-29 14:52:42 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-09-29 14:52:52 +0200 |
commit | fc75a0c8b043b7b57ec817344ec0dcb371584353 (patch) | |
tree | 474334e557e9d7676132b4e4fac0878908f4e049 /x11-libs | |
parent | sci-libs/octomap: add := dep on qglviewer (diff) | |
download | gentoo-fc75a0c8b043b7b57ec817344ec0dcb371584353.tar.gz gentoo-fc75a0c8b043b7b57ec817344ec0dcb371584353.tar.bz2 gentoo-fc75a0c8b043b7b57ec817344ec0dcb371584353.zip |
x11-libs/libQGLViewer: bump to 2.6.4; add subslot
Package-Manager: portage-2.3.1
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libQGLViewer/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/libQGLViewer/libQGLViewer-2.6.4.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/x11-libs/libQGLViewer/Manifest b/x11-libs/libQGLViewer/Manifest index 43a19a7b281e..6ea6a1c391b6 100644 --- a/x11-libs/libQGLViewer/Manifest +++ b/x11-libs/libQGLViewer/Manifest @@ -1,3 +1,4 @@ DIST libQGLViewer-2.6.1.tar.gz 3083024 SHA256 e6a783061d31b77e9f8b3bfb10e20bc8166b400c24679312b7e7662a0f12d822 SHA512 525006e5e79625c9d98a037eb19cded6c83c9a1f38b6abce9b513dd8bdd8fe8bcbf9bd6228b55181227dd1124a5734331b5a078737b3cf233c8496a83678f576 WHIRLPOOL 2889ee5a135a526fa4eb490de3975f5e4964d30f338d50bdda963f879321049e429a4c0f4b46f6a20c8341c640105ac48fcf8426f845b8e5c401c4f37295f189 DIST libQGLViewer-2.6.2.tar.gz 3075407 SHA256 aacf3f26805e6f625e4d1e1927aff535a732b5666055676c4df07e2e3bfaf7ef SHA512 97907153975730c0cfa38df9ee051f9d4dc6f9d815784c946fb333c7477259d0af9b697173a58115beb3f1a46b119c0dfd1329bc7f2b18f192226800b03839e5 WHIRLPOOL c7f8a0bd98171fc12e8ac52a70c49632b7e4f895c0c63c4d652c45604803eb63ef898cf53b78eb37cecdf748fd3816063bd27c38ce7743c2b15c3797a48971c6 DIST libQGLViewer-2.6.3.tar.gz 3044822 SHA256 dc1c471817168d3c4a760abaf06f19cfd674a88c994db8b210d6f2b1264e681a SHA512 33cbee85d003379798561c9eceff95490053090184e892190e29a7e242469c4c688e6e2b969be25c66f47b2f4bfe2ff6d7a016a7d6fef2ac0f7159a1bdf9368c WHIRLPOOL 2f4e594e185bac324f7f581b71db9e75430ee02214f28c2ef682df87940d84e23dd81e37c323f140c0835de6b3c87ef71c9b5d9603620ddfe7fe7a1b307186f2 +DIST libQGLViewer-2.6.4.tar.gz 2996712 SHA256 d25cb6800649f26c7f61ae510af5d4abd88f9fb63b7264390e214e9facb1f17b SHA512 fae9caa7fe049b13ba970c971a9454700631cac18d46b6154ae4e155fabe64dc3b8eacf968dce69292743ade6c8c2772e236505ee8099bbf9ed291382dbd65f0 WHIRLPOOL e3beecca95576bc501645c1cc7784b2248f6cf7ebd11fbbda35a721996f5d16a12cd76f8daf5dad60876683acf3ead489e570e53ab71fdf37f855089ee6f455b diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.6.4.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.6.4.ebuild new file mode 100644 index 000000000000..d0ca60ff65da --- /dev/null +++ b/x11-libs/libQGLViewer/libQGLViewer-2.6.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit qt4-r2 multilib flag-o-matic + +DESCRIPTION="C++ library based on Qt that eases the creation of OpenGL 3D viewers" +HOMEPAGE="http://www.libqglviewer.com" +SRC_URI="http://www.libqglviewer.com/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/qt4-2" +KEYWORDS="~amd64 ~arm" +IUSE="designer examples" + +DEPEND="virtual/opengl + virtual/glu + dev-qt/qtopengl:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND} + designer? ( dev-qt/designer:4 )" + +src_configure() { + append-ldflags "-L${S}/QGLViewer" + sed -e 's#designerPlugin##' -i ${P}.pro || die + use examples || sed -e 's#examples examples/contribs##' -i ${P}.pro || die + eqmake4 ${P}.pro \ + PREFIX="${EPREFIX}/usr" \ + LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ + DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + if use designer ; then + cd "${S}/designerPlugin" + eqmake4 designerPlugin.pro + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README + + if use designer ; then + cd "${S}/designerPlugin" + emake INSTALL_ROOT="${D}" install + fi + + if use examples ; then + exeinto /usr/bin/${PN}-examples + doexe $(find "${S}/examples" -type f -executable ! -name '*.vcproj') + fi +} |