From 02e2208f46f4e2c00fb9743cbc47350bdd233bfa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Jan 2018 17:34:21 +0000 Subject: gentoo resync : 16.01.2018 --- x11-libs/libQGLViewer/Manifest | 2 + x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild | 54 +++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild (limited to 'x11-libs/libQGLViewer') diff --git a/x11-libs/libQGLViewer/Manifest b/x11-libs/libQGLViewer/Manifest index adebfbf809a2..02ab05c1af34 100644 --- a/x11-libs/libQGLViewer/Manifest +++ b/x11-libs/libQGLViewer/Manifest @@ -1,3 +1,5 @@ DIST libQGLViewer-2.6.4.tar.gz 2996712 BLAKE2B c57df2a538d74a3cb9f919e572f02ce0cb8093e95e117202b2b12503cd3423552244edf3ee79fda17581fa3c7dfa7192d2303117eef097c97d5f983d3e33d6c1 SHA512 fae9caa7fe049b13ba970c971a9454700631cac18d46b6154ae4e155fabe64dc3b8eacf968dce69292743ade6c8c2772e236505ee8099bbf9ed291382dbd65f0 +DIST libQGLViewer-2.7.1.tar.gz 3078737 BLAKE2B 0374c60374af0f4594ee79fafd53440654e9bb5114cef38e50deba86584cc55eef03d2177b5d54829f5b111d4d029384fff19f8a5bebf750cac1ab8cfe6afaa5 SHA512 1f597d737614f07682bde0d886c9c2eee57f478607a4caeac40922f66a6310ff30ea32e8ab44de0b23e0d1e5db2e6deea8c4fe3bc2cddc78ed5b971f638b09bd EBUILD libQGLViewer-2.6.4.ebuild 1235 BLAKE2B 4065cbec81221c971c48cb67edba095cd75b4553afe4e4543f9ff22b4ab63cda20e0a903b81915ef654c63ff5007182d1baf17fb8b335e6d421f535192ad6c65 SHA512 96bb2854665c64eb9821ac27497810a28e29c3e3056e0d853eb91bd7677636b983518824fdeead5932eb4f19797516b2af304a645aef3152b218b55aa4bf49cc +EBUILD libQGLViewer-2.7.1.ebuild 1291 BLAKE2B 711010c65c0a0cebe90f239d1f223ee3a66cce014770e712b9997eca165bd39af562a44d000f5271aec7df0cb303c924ffe0785166b4ed0dc567940d9a011f7a SHA512 6620cba4f14e98f4b827ded73d98a9ef935fd7da30a8908005cad327b339f4a962a6476b2890f27565e129adf9a326058d8f644acaf7d50d69ed0259cf0e87ed MISC metadata.xml 337 BLAKE2B d41f3f134ae930728e76d4924cd145a6a958482a008c047deda9e0ac8864496ceed43f939792583cc49bb572785a4924fb3e44da738b6ea2c84e43ca592844f4 SHA512 a699f6197293d6a53643064a2bcb524626e70c2f9557e8599ceadcf16b8d0fceeb98da2eb3691ed4b2fae0385416b1c238b3eff76228c3f420995b1d62f05e4e diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild new file mode 100644 index 000000000000..19eae03cf769 --- /dev/null +++ b/x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit qmake-utils 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/qt5" +KEYWORDS="~amd64 ~arm" +IUSE="designer examples" + +DEPEND="virtual/opengl + virtual/glu + dev-qt/qtopengl:5 + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtgui:5" +RDEPEND="${DEPEND} + designer? ( dev-qt/designer:5 )" + +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 + eqmake5 ${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" + eqmake5 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 +} -- cgit v1.2.3