Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155042 - gaia-0.1.0.ebuild (New Package)
Summary: gaia-0.1.0.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Christian Faulhammer (RETIRED)
URL: http://gaia.serezhkin.com/index.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-11-13 09:17 UTC by Mark Silinio
Modified: 2006-11-25 01:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (gaia-0.1.0.ebuild,1.38 KB, text/plain)
2006-11-13 09:27 UTC, Mark Silinio
Details
ebuild (fixed) (gaia-0.1.0.ebuild,1.44 KB, text/plain)
2006-11-13 10:30 UTC, Mark Silinio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Silinio 2006-11-13 09:17:19 UTC
Meet gaia, an attempt to reverse engineer famous Google Earth and implement it's functionality in open, portable, customizable and extendable way.
Comment 1 Mark Silinio 2006-11-13 09:27:25 UTC
Created attachment 101845 [details]
ebuild
Comment 2 Mark Silinio 2006-11-13 10:26:54 UTC
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
>}
Comment 3 Mark Silinio 2006-11-13 10:30:51 UTC
Created attachment 101849 [details]
ebuild (fixed)

fixed ebuild
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-23 04:32:00 UTC
In Portage now, thanks for the ebuild, I modified it a little bit.