-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="1"
+EAPI="2"
-inherit qt4
+inherit qt4-r2
MY_P="libQGLViewer-${PV}"
IUSE="doc"
DEPEND="virtual/opengl
- x11-libs/qt-gui:4"
+ dev-libs/qtgui:4"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}/QGLViewer
+src_configure() {
+ true
+}
+
src_compile() {
eqmake4 QGLViewer.pro -o Makefile PREFIX=/usr
emake || die "emake QGLViewer failed"