# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils qt3 DESCRIPTION="Visualizes the earth in 3D view, using satellite data from online databases." HOMEPAGE="http://earth3d.org/" SRC_URI="mirror://sourceforge/earth3d/earth3d_client-${PV}-src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="$(qt_min_version 3.3.4) virtual/opengl" S="${WORKDIR}/${PN}" src_unpack() { unpack "${A}" cd "${S}" echo "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}" >> "${PN}".pro echo "QMAKE_CFLAGS_RELEASE += ${CFLAGS}" >> "${PN}".pro } src_compile() { "${QTDIR}"/bin/qmake || die "qmake failed" emake || die "emake failed" } src_install() { dobin earth3d dodoc README Changelog }