Meet gaia, an attempt to reverse engineer famous Google Earth and implement it's functionality in open, portable, customizable and extendable way.
Created attachment 101845 [details] ebuild
Comment on attachment 101845 [details] ebuild >inherit eutils libtool >IUSE="gps doc examples" > >DESCRIPTION="opensource 3D interface to the planet" >HOMEPAGE="http://gaia.serezhkin.com/index.html" >SRC_URI="http://gaia.serezhkin.com/${P}.tar.bz2" > > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" > > >RDEPEND=" > media-libs/jpeg > media-libs/libpng > >=media-libs/libsdl-1.2 > net-misc/curl > gps? ( sci-geosciences/gpsd ) > doc? ( app-doc/doxygen ) > virtual/opengl" > >DEPEND="dev-util/scons > >=sys-apps/sed-4 > ${RDEPEND}" > >src_unpack() { > unpack ${A} > cd ${S} > sed -i "s/\.\/data/\/usr\/share\/gaia/" src/config.h > sed -i "/libgefetch_examples/a\SConsignFile()" SConstruct >} > >src_compile() { > if use gps; then > local myconf="" > else > local myconf="gpsd=no" > fi > > use examples && myconf="${myconf} libgefetch_examples=1" > scons ${MAKEOPTS} ${myconf} || die > use doc && doxygen >} > >src_install() { > dobin gaia > dodoc COPYING ChangeLog README TODO > cp -r data "${D}/usr/share/gaia/" || die > use doc && cp -r doc/html/*.{html,css,png,gif} "${D}/usr/share/doc/${PF}/" > if use examples; then > mkdir "${D}/usr/share/doc/${PF}/examples" > cp -r libgefetch/examples/*.c "${D}/usr/share/doc/${PF}/examples" > cp -r libgefetch/examples/rootmeta "${D}/usr/share/doc/${PF}/examples" > cp -r libgefetch/examples/zerojpg "${D}/usr/share/doc/${PF}/examples" > cp -r libgefetch/examples/SConscript "${D}/usr/share/doc/${PF}/examples" > fi >} > >pkg_postinst() { >echo >einfo "please set color depth of X11 to 24 or 32 bpp" >echo >}
Created attachment 101849 [details] ebuild (fixed) fixed ebuild
In Portage now, thanks for the ebuild, I modified it a little bit.
http://www.faulhammer.org/index.php?option=com_content&task=view&id=148&Itemid=31