summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-06-10 22:10:18 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2020-07-15 18:44:51 +0200
commit01483fa92e603583e5e2474a13cb38c9084621ec (patch)
treeea7415b87c26124c448a444f870112321b7454a4 /x11-libs
parentmedia-plugins/audacious-plugins: 4.0.5 version bump (diff)
downloadgentoo-01483fa92e603583e5e2474a13cb38c9084621ec.tar.gz
gentoo-01483fa92e603583e5e2474a13cb38c9084621ec.tar.bz2
gentoo-01483fa92e603583e5e2474a13cb38c9084621ec.zip
x11-libs/libQGLViewer: version bump 2.7.2
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16173 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libQGLViewer/Manifest1
-rw-r--r--x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild57
-rw-r--r--x11-libs/libQGLViewer/metadata.xml3
3 files changed, 61 insertions, 0 deletions
diff --git a/x11-libs/libQGLViewer/Manifest b/x11-libs/libQGLViewer/Manifest
index 3c91cb004b19..ebe470f32af2 100644
--- a/x11-libs/libQGLViewer/Manifest
+++ b/x11-libs/libQGLViewer/Manifest
@@ -1 +1,2 @@
DIST libQGLViewer-2.7.1.tar.gz 3078737 BLAKE2B 0374c60374af0f4594ee79fafd53440654e9bb5114cef38e50deba86584cc55eef03d2177b5d54829f5b111d4d029384fff19f8a5bebf750cac1ab8cfe6afaa5 SHA512 1f597d737614f07682bde0d886c9c2eee57f478607a4caeac40922f66a6310ff30ea32e8ab44de0b23e0d1e5db2e6deea8c4fe3bc2cddc78ed5b971f638b09bd
+DIST libQGLViewer-2.7.2.tar.gz 3135146 BLAKE2B a46df06a135821fcb7895d4d037ee422cd9041695c57601cb7dccad3e1c4905ccbcacad91e47a79aa4adc85550db572adbb2311b1254d8779aba12d8fb36b255 SHA512 888695e413aa42b62d029efd1313f8aa101b4529f51edcea6416b58f6281715f8cdf27289d8f60cf1b0cdceba204e43e8477d30166350f8d3e090e6a93d8d595
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 000000000000..ac6ea56e5114
--- /dev/null
+++ b/x11-libs/libQGLViewer/libQGLViewer-2.7.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+SRC_URI="http://www.libqglviewer.com/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/qt5"
+KEYWORDS="~amd64 ~arm"
+IUSE="designer examples"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ virtual/glu
+ virtual/opengl
+"
+RDEPEND="${DEPEND}
+ designer? ( dev-qt/designer:5 )
+"
+
+src_configure() {
+ 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 \
+ PREFIX="${EPREFIX}/usr" \
+ LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
+ DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
+ if use designer ; then
+ cd "designerPlugin" || die
+ eqmake5 designerPlugin.pro
+ fi
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README
+
+ if use designer ; then
+ cd "${S}/designerPlugin" || die
+ 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
+}
diff --git a/x11-libs/libQGLViewer/metadata.xml b/x11-libs/libQGLViewer/metadata.xml
index 6f836ff48534..9bc94015e4e3 100644
--- a/x11-libs/libQGLViewer/metadata.xml
+++ b/x11-libs/libQGLViewer/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="designer">Installs <pkg>dev-qt/designer</pkg> plugin.</flag>
</use>
+ <upstream>
+ <remote-id type="github">GillesDebunne/libQGLViewer</remote-id>
+ </upstream>
</pkgmetadata>