1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils toolchain-funcs
12 DESCRIPTION="refocus images using FIR Wiener filtering"
13 HOMEPAGE="http://refocus.sourceforge.net"
14 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
30 epatch "${FILESDIR}"/${MY_PN}-gimp-2.0.patch
31 epatch "${FILESDIR}"/${MY_PN}-0.9.0-gimp-2.2_rlx.diff
32 epatch "${FILESDIR}"/${PN}-gimp2.6.patch
33 epatch "${FILESDIR}"/${PN}-atlas.patch
39 export GIMPTOOL="/usr/bin/gimptool-2.0"
45 exeinto "$(gimptool-2.0 --gimpplugindir)/plug-ins"
46 doexe src/refocus || die