# Copyright 2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit eutils DESCRIPTION="GUI for Panorama Tools, a powerful software package for the creation & processing of panoramic images. It supports most pano tools features and contains a powerful control point picker. Similar to the windows programs PTGui and PTAssembler. Install media-gfx/enblend if you want hugin to be able to use enblend for seamless blending." HOMEPAGE="http://hugin.sourceforge.net/" SRC_URI="hugin-20040823.tbz2" RESTRICT="fetch" LICENSE="GPL" KEYWORDS="~x86" DEPEND="media-libs/panotools media-libs/vigra dev-libs/fftw dev-libs/boost" #S="${WORKDIR}/hugin" pkg_nofetch() { einfo "The hugin CVS snapshot is not available prepackaged." einfo "You have to be special to have it. :)" einfo "This ebuild should probably actually use CVS to check out the sources." } src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/hugin-unicode-configure-patch-20040823.patch.gz } src_compile() { cd ${S} ./configure --prefix=/usr --gtk=2 --unicode=0 || die make || die # Because the makefiles don't abort on errors, we need to check # to see if the binaries were even built. [ -x src/hugin/hugin ] || die [ -x src/nona_gui/nona_gui ] || die } src_install() { make install INSTALL_PREFIX=${D}/usr || die dodoc AUTHORS BUGS INSTALL LICENCE LICENCE_SIFT README TODO windows_DOT_NET_compile.txt windows_compile.txt }