# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Provides a rendering system for chaotic maps, with an interactive GTK+ frontend and the ability to create high-resolution images from the command line." SRC_URI="http://navi.cx/releases/${P}.tar.gz" HOMEPAGE="http://fyre.navi.cx/" KEYWORDS="~x86" SLOT="0" LICENSE="GPL-2" IUSE="binreloc binreloc-threads gnet openexr" # The configure script doesn't check the version of OpenEXR, so # I have no idea what it needs. DEPEND="dev-util/pkgconfig >=dev-libs/glib-2.0 >=gnome-base/libglade-2.0 >=x11-libs/gtk+-2.0 openexr? ( media-libs/openexr ) gnet? ( >=net-libs/gnet-2.0 )" pkg_setup() { if ! use binreloc && use binreloc-threads; then ewarn "+binreloc-threads implies +binreloc!" fi } src_compile() { local myconf; if use binreloc-threads; then myconf="--enable-binreloc --enable-binreloc-threads" elif use binreloc; then myconf="--enable-binreloc" fi econf ${myconf} || die emake || die } src_install() { make DESTDIR=${D} install dodoc README exeinto /etc/init.d newexe ${S}/contrib/fyre.gentoo-initscript fyre }