diff options
author | 2015-01-26 13:21:01 +0000 | |
---|---|---|
committer | 2015-01-26 13:21:01 +0000 | |
commit | c4e337e9dac6e91270656956a37c88e4d3da1040 (patch) | |
tree | 33ad4f36d319d8b465b53ea307b5a4bd3c173773 /x11-libs | |
parent | Remove old. (diff) | |
download | gentoo-2-c4e337e9dac6e91270656956a37c88e4d3da1040.tar.gz gentoo-2-c4e337e9dac6e91270656956a37c88e4d3da1040.tar.bz2 gentoo-2-c4e337e9dac6e91270656956a37c88e4d3da1040.zip |
version bump
Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libQGLViewer/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/libQGLViewer/libQGLViewer-2.6.1.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/x11-libs/libQGLViewer/ChangeLog b/x11-libs/libQGLViewer/ChangeLog index 1fb9c45980e9..c76ecf8ee8f6 100644 --- a/x11-libs/libQGLViewer/ChangeLog +++ b/x11-libs/libQGLViewer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/libQGLViewer # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libQGLViewer/ChangeLog,v 1.7 2015/01/26 13:19:45 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libQGLViewer/ChangeLog,v 1.8 2015/01/26 13:21:01 aballier Exp $ + +*libQGLViewer-2.6.1 (26 Jan 2015) + + 26 Jan 2015; Alexis Ballier <aballier@gentoo.org> +libQGLViewer-2.6.1.ebuild: + version bump 26 Jan 2015; Alexis Ballier <aballier@gentoo.org> -libQGLViewer-2.5.3.ebuild, -libQGLViewer-2.5.4.ebuild: diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.6.1.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.6.1.ebuild new file mode 100644 index 000000000000..6317501c20ae --- /dev/null +++ b/x11-libs/libQGLViewer/libQGLViewer-2.6.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libQGLViewer/libQGLViewer-2.6.1.ebuild,v 1.1 2015/01/26 13:21:01 aballier Exp $ + +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" +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 +} |