# Copyright 2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit eutils #http://hugin.sourceforge.net/snapshots/ 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="http://hugin.sourceforge.net/snapshots/hugin_2004_10_15_11_20.tgz" #RESTRICT="fetch" LICENSE="GPL-2 SIFT" KEYWORDS="~x86" # wxGTK-2.5.3 includes wxrc by default DEPEND="media-gfx/panotools-cvs media-libs/vigra =dev-libs/fftw-2* virtual/jdk >=dev-libs/boost-1.32.0 >=x11-libs/wxGTK-2.5.3" # S="${WORKDIR}/${P%_pre*}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/splash-configure_ac.patch epatch ${FILESDIR}/hugin-0.4-wx_gtk.m4.patch aclocal -I m4 || die "alocal failed" automake --gnu Makefile || die "automake failed" autoconf || die "autoconf failed" } src_compile() { econf || die "configure failed" emake || die "compiling failed" } src_install() { # make install INSTALL_PREFIX=${D}/usr || die # xrcdir and xrcdatadir need to be explicitly specified as the # Makefiles do not calculate these from datadir. einstall xrcdir=${D}/usr/share/hugin/xrc xrcdatadir=${D}/usr/share/hugin/xrc/data dodoc AUTHORS BUGS INSTALL LICENCE LICENCE_SIFT README TODO # dodoc windows_DOT_NET_compile.txt windows_compile.txt }