diff options
author | 2008-08-30 22:28:00 +0000 | |
---|---|---|
committer | 2008-08-30 22:28:00 +0000 | |
commit | cf1212d6b79200686316442e33fb8ef3e5646e6e (patch) | |
tree | 67ce187b339963ff0593cba3f1e4c0f423e19dcf /media-gfx | |
parent | version bump (diff) | |
download | gentoo-2-cf1212d6b79200686316442e33fb8ef3e5646e6e.tar.gz gentoo-2-cf1212d6b79200686316442e33fb8ef3e5646e6e.tar.bz2 gentoo-2-cf1212d6b79200686316442e33fb8ef3e5646e6e.zip |
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/greycstoration/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/greycstoration/greycstoration-2.9.ebuild | 54 |
2 files changed, 61 insertions, 1 deletions
diff --git a/media-gfx/greycstoration/ChangeLog b/media-gfx/greycstoration/ChangeLog index 84b44060a5de..639f7ad54e1b 100644 --- a/media-gfx/greycstoration/ChangeLog +++ b/media-gfx/greycstoration/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/greycstoration # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.3 2008/05/30 11:13:08 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.4 2008/08/30 22:28:00 calchan Exp $ + +*greycstoration-2.9 (30 Aug 2008) + + 30 Aug 2008; Denis Dupeyron <calchan@gentoo.org> + +greycstoration-2.9.ebuild: + Version bump. 30 May 2008; Denis Dupeyron <calchan@gentoo.org> greycstoration-2.8.ebuild: diff --git a/media-gfx/greycstoration/greycstoration-2.9.ebuild b/media-gfx/greycstoration/greycstoration-2.9.ebuild new file mode 100644 index 000000000000..0e537639245a --- /dev/null +++ b/media-gfx/greycstoration/greycstoration-2.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/greycstoration-2.9.ebuild,v 1.1 2008/08/30 22:28:00 calchan Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Image regularization algorithm for denoising, inpainting and resizing" +HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/" +SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip" +LICENSE="CeCILL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fftw imagemagick jpeg lapack png tiff X" + +RDEPEND="fftw? ( >=sci-libs/fftw-3 ) + imagemagick? ( media-gfx/imagemagick ) + jpeg? ( media-libs/jpeg ) + lapack? ( virtual/lapack ) + png? ( media-libs/libpng ) + tiff? ( media-libs/tiff ) + X? ( x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr )" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/GREYCstoration-${PV}/src" + +src_unpack() { + unpack ${A} + sed -i -e "s:../CImg.h:CImg.h:" "${S}"/greycstoration.cpp || die "sed failed" +} + +src_compile() { + local MY_CONF + + use X && MY_CONF+=" -lX11 -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr" + use png && MY_CONF+=" -Dcimg_use_png -lpng -lz" + use jpeg && MY_CONF+=" -Dcimg_use_jpeg -ljpeg" + use tiff && MY_CONF+=" -Dcimg_use_tiff -ltiff" + use imagemagick && MY_CONF+=" -Dcimg_use_magick $(Magick++-config --cppflags) \ + $(Magick++-config --ldflags) $(Magick++-config --libs)" + use fftw && MY_CONF+=" -Dcimg_use_fftw3 -lfftw3" + use lapack && MY_CONF+=" -Dcimg_use_lapack -llapack" + + $(tc-getCXX) -o greycstoration greycstoration.cpp \ + ${MY_CONF} -lm -lpthread \ + ${CXXFLAGS} ${LDFLAGS} -fno-tree-pre \ + || die "Compilation failed" +} + +src_install() { + dobin greycstoration +} |