summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-01-19 17:36:54 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-01-19 17:36:54 +0000
commit13bae8bfe3c606666af6bb667f24bde0bd37e4a7 (patch)
tree87a3a089f801bfca190a3c7dcca0a41f155316b7 /x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
parentdev-db/soci: Add suggested RDEPEND=${DEPEND}, simplify, add die statements, d... (diff)
downloadsunrise-13bae8bfe3c606666af6bb667f24bde0bd37e4a7.tar.gz
sunrise-13bae8bfe3c606666af6bb667f24bde0bd37e4a7.tar.bz2
sunrise-13bae8bfe3c606666af6bb667f24bde0bd37e4a7.zip
x11-libs/libqglviewer: Add suggested RDEPEND=${DEPEND}, installation of examples improved.
dependencies fixed for qt split ebuilds. svn path=/sunrise/; revision=7680
Diffstat (limited to 'x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild')
-rw-r--r--x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
index c5f129924..da8ab0aa2 100644
--- a/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
+++ b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=1
+
inherit qt4
-MY_P="libQGLViewer-"${PV}
+MY_P="libQGLViewer-${PV}"
DESCRIPTION="Simple 3D viewer class for Qt OpenGL applications"
HOMEPAGE="http://www.libqglviewer.com"
@@ -16,7 +18,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="virtual/opengl
- >=x11-libs/qt-4.3"
+ || ( x11-libs/qt:4 x11-libs/qt-gui )"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}/QGLViewer
@@ -41,7 +44,7 @@ src_install() {
if use doc ; then
dohtml -r ../doc/* || die "installing html files failed"
- insinto /usr/share/doc/${PF}
- doins -r ../examples || die "installing examples failed"
+ docinto examples
+ dodoc ../examples/* || die "installing examples failed"
fi
}