summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-10-28 17:30:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-10-28 17:30:56 +0000
commit4bae2a6744b6a1c6348d13a081b3316cd63dacea (patch)
tree26809a26af12f61a88f46e82b6616a49390337e9 /x11-libs/libQGLViewer
parentrepoman fix, convert dependency on baselayout to a blocker against older vers... (diff)
downloadhistorical-4bae2a6744b6a1c6348d13a081b3316cd63dacea.tar.gz
historical-4bae2a6744b6a1c6348d13a081b3316cd63dacea.tar.bz2
historical-4bae2a6744b6a1c6348d13a081b3316cd63dacea.zip
Initial import, adapted from old sunrise ebuild by myself
Signed-off-by: aballier@gentoo.org Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'x11-libs/libQGLViewer')
-rw-r--r--x11-libs/libQGLViewer/ChangeLog10
-rw-r--r--x11-libs/libQGLViewer/Manifest14
-rw-r--r--x11-libs/libQGLViewer/libQGLViewer-2.5.3.ebuild50
-rw-r--r--x11-libs/libQGLViewer/metadata.xml11
4 files changed, 85 insertions, 0 deletions
diff --git a/x11-libs/libQGLViewer/ChangeLog b/x11-libs/libQGLViewer/ChangeLog
new file mode 100644
index 000000000000..0de98f3f0f88
--- /dev/null
+++ b/x11-libs/libQGLViewer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/libQGLViewer
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libQGLViewer/ChangeLog,v 1.1 2014/10/28 17:30:52 aballier Exp $
+
+*libQGLViewer-2.5.3 (28 Oct 2014)
+
+ 28 Oct 2014; Alexis Ballier <aballier@gentoo.org> +libQGLViewer-2.5.3.ebuild,
+ +metadata.xml:
+ Initial import, adapted from old sunrise ebuild by myself
+
diff --git a/x11-libs/libQGLViewer/Manifest b/x11-libs/libQGLViewer/Manifest
new file mode 100644
index 000000000000..a8355a4d5656
--- /dev/null
+++ b/x11-libs/libQGLViewer/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST libQGLViewer-2.5.3.tar.gz 3082104 SHA256 309ddbf77643b3c1bd9e68f1a9c9ea95c4ecbf6cde2d2d56541ac78b986e421e SHA512 7e70aa15553c023f053ed1a65cc756b26390d8068c7000fb6ca3e7820a36ed039beb93ccbc02abaf25749b70ea8b98148dbb59c0c7a55b9db79c444a05df609e WHIRLPOOL 8143d701771f34b25486d666b000d20104e7e15fe37fd43c30cee85b00d95ab2683eb57f2cd1ba7147d0bf3deef81eb4314841c1088770365bd265efb2341a3b
+EBUILD libQGLViewer-2.5.3.ebuild 1316 SHA256 56eeb43fe3ad48b1f45352309f8337d1446013cdcae9a5e0f7644a27166dc977 SHA512 d6ccf5023094609526f0f387749094a2bbd52e9c5ef09b504c67edd2d5245ecb299defc58d5d4e56dda5fc714a4eced49f8431243f274be970ae1316e21ab3cd WHIRLPOOL a59497087038aa5a2385f4d2c6572b08180bee53414bd636284701a346229986bfbcd5f4caa4547956cb51ae69905e8aba44c8ca76ccac186606d33426c23310
+MISC ChangeLog 410 SHA256 8f43145d7dcaede81e4bdac2be56512c869ab7bfdd475c47655efaa910750714 SHA512 a5ee37f7b32c7ec411f5e38f896f88cbd161754d66929d5fe3756284eee7463eb2b00fddd6529438477e5f7cc27d999dbbfaae747deb4c545897be67de1c9af1 WHIRLPOOL b2cdbab17f351c30dc8945a3864ea8fcf6933ec535d3aadb14bda022f81ba1d3606242f1ad2346db31081c104dca28865c464b98be310ad40ab3cf0a5766ff75
+MISC metadata.xml 323 SHA256 6bdd27e12b620ae37eed8b2c9d5ed347fc56eebfa79118a8a4fdb126b959874a SHA512 4195cf6f862fedaeac6c94dfc7636b18178ff887e9088cd9256c1125ac6c9713e4dde8c9eb164088398a87e850ab73e695c5d25f68595349899839ec0fc2fa06 WHIRLPOOL a735c395507703f5a1a6579577693939a12dbd53f91c55d67899943594888af4797fee84880696df7612906484d8b12ae9952cd02d98415877091916e2eed593
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlRP0s0ACgkQvFcC4BYPU0oKxACdHUlWVenVmpxYpB2GN+7FsWQ7
+EUYAoKGctvx4dl6FP7JMzjdRz4ngPnBW
+=8EQu
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/libQGLViewer/libQGLViewer-2.5.3.ebuild b/x11-libs/libQGLViewer/libQGLViewer-2.5.3.ebuild
new file mode 100644
index 000000000000..9a4bc4390f21
--- /dev/null
+++ b/x11-libs/libQGLViewer/libQGLViewer-2.5.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libQGLViewer/libQGLViewer-2.5.3.ebuild,v 1.1 2014/10/28 17:30:52 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"
+IUSE="designer examples"
+
+DEPEND="virtual/opengl
+ 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
+}
diff --git a/x11-libs/libQGLViewer/metadata.xml b/x11-libs/libQGLViewer/metadata.xml
new file mode 100644
index 000000000000..fca4f9d4a11e
--- /dev/null
+++ b/x11-libs/libQGLViewer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+ <use>
+ <flag name="designer">Installs <pkg>dev-qt/designer</pkg> plugin.</flag>
+ </use>
+</pkgmetadata>