summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libqglviewer/ChangeLog8
-rw-r--r--x11-libs/libqglviewer/Manifest4
-rw-r--r--x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild51
-rw-r--r--x11-libs/libqglviewer/metadata.xml5
4 files changed, 68 insertions, 0 deletions
diff --git a/x11-libs/libqglviewer/ChangeLog b/x11-libs/libqglviewer/ChangeLog
new file mode 100644
index 000000000..01490d622
--- /dev/null
+++ b/x11-libs/libqglviewer/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for x11-libs/libqglviewer
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 13 Nov 2008; Oliver Borm (boroli) <oli.borm@web.de>
+ +libqglviewer-2.3.1.ebuild, +metadata.xml:
+ New ebuild for bug 53167, thanks to scarabeus
+
diff --git a/x11-libs/libqglviewer/Manifest b/x11-libs/libqglviewer/Manifest
new file mode 100644
index 000000000..07ec33eac
--- /dev/null
+++ b/x11-libs/libqglviewer/Manifest
@@ -0,0 +1,4 @@
+DIST libQGLViewer-2.3.1.tar.gz 2142397 RMD160 46148dfe90d828f1f68d3cb7400767558c8f6943 SHA1 08d86c8eebe796e3bb548bfbd1dee66038d45629 SHA256 120b61aac0ecc03f208f56d171b53bc9ab177d0d0a06a67eab23759836e11f98
+EBUILD libqglviewer-2.3.1.ebuild 1161 RMD160 bf8d1f482d015e3fa6123dd205bd3a6c52a8d526 SHA1 09d64c5b8d08978ca29e6518bebc7701f9328ea4 SHA256 e09e636eae39d80ece7eefb678d33917a9166b6f19c2c9ef435088c3eceea7d7
+MISC ChangeLog 270 RMD160 5155f41368e1d19136cffd2531fabfc2ed3d8d62 SHA1 ecddd55188e74a64aa3590c64b9ddc5b154667a6 SHA256 40a4c1ec7cf6e99134046cec47939876a5cef928890ddba6a4937ac43a381265
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
new file mode 100644
index 000000000..210c79492
--- /dev/null
+++ b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit kde-functions qt4
+
+MY_P="libQGLViewer-"${PV}
+
+DESCRIPTION="Simple 3D viewer class for Qt OpenGL applications"
+HOMEPAGE="http://www.libqglviewer.com"
+SRC_URI="http://www.libqglviewer.com/src/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/opengl
+ >=x11-libs/qt-4.3"
+
+S="${WORKDIR}"/${MY_P}
+
+src_compile() {
+ set-qtdir 4
+ cd QGLViewer
+ eqmake4 QGLViewer.pro -o Makefile \
+ PREFIX=/usr || die "qmake QGLViewer failed"
+ emake || die "emake QGLViewer failed"
+
+ cd ../designerPlugin
+ eqmake4 designerPlugin.pro -o Makefile \
+ INCLUDE_DIR=.. \
+ LIB_DIR=../QGLViewer || die "qmake designerPlugin failed"
+ emake || die "emake designerPlugin failed"
+}
+
+src_install() {
+ cd QGLViewer
+ INSTALL_ROOT="${D}" emake install_target install_include || die "install QGLViewer failed"
+
+ cd ../designerPlugin
+ INSTALL_ROOT="${D}" emake install_target || die "install QGLViewer failed"
+
+ dodoc ../README
+
+ if use doc ; then
+ dohtml -r ../doc/*
+ insinto /usr/share/doc/${PF}
+ doins -r ../examples
+ fi
+}
diff --git a/x11-libs/libqglviewer/metadata.xml b/x11-libs/libqglviewer/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/x11-libs/libqglviewer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>