# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-2.5.ebuild,v 1.2 2006/04/18 01:39:41 halcy0n Exp $ inherit eutils DESCRIPTION="Image Blending with Multiresolution Splines" HOMEPAGE="http://enblend.sf.net" SRC_URI="mirror://sourceforge/enblend/${P}.tar.gz" LICENSE="GPL-2 VIGRA" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="media-libs/tiff media-libs/lcms virtual/glut media-libs/glew media-libs/libxmi >=dev-libs/boost-1.31.0" src_unpack() { unpack ${A} cd "${S}" # Both of the following patches can be found in the sf.net tracker # Fixes endless loop with seam optimizer and and 360 deg images epatch "${FILESDIR}"/endless_loop_anneal.patch # Fixes compilation on AMD64 if use amd64; then epatch "${FILESDIR}"/amd64_compilation.patch fi } src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO }