Gentoo Archives: gentoo-commits

From: "Denis Dupeyron (calchan)" <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/greycstoration: ChangeLog greycstoration-2.9.ebuild
Date: Sat, 30 Aug 2008 22:28:04
Message-Id: E1KZYvJ-0008Il-BU@stork.gentoo.org
1 calchan 08/08/30 22:28:01
2
3 Modified: ChangeLog
4 Added: greycstoration-2.9.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
8
9 Revision Changes Path
10 1.4 media-gfx/greycstoration/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 30 May 2008 11:13:08 -0000 1.3
23 +++ ChangeLog 30 Aug 2008 22:28:00 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-gfx/greycstoration
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.3 2008/05/30 11:13:08 calchan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.4 2008/08/30 22:28:00 calchan Exp $
29 +
30 +*greycstoration-2.9 (30 Aug 2008)
31 +
32 + 30 Aug 2008; Denis Dupeyron <calchan@g.o>
33 + +greycstoration-2.9.ebuild:
34 + Version bump.
35
36 30 May 2008; Denis Dupeyron <calchan@g.o>
37 greycstoration-2.8.ebuild:
38
39
40
41 1.1 media-gfx/greycstoration/greycstoration-2.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: greycstoration-2.9.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/greycstoration-2.9.ebuild,v 1.1 2008/08/30 22:28:00 calchan Exp $
51
52 inherit toolchain-funcs
53
54 DESCRIPTION="Image regularization algorithm for denoising, inpainting and resizing"
55 HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/"
56 SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip"
57 LICENSE="CeCILL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86"
60 IUSE="fftw imagemagick jpeg lapack png tiff X"
61
62 RDEPEND="fftw? ( >=sci-libs/fftw-3 )
63 imagemagick? ( media-gfx/imagemagick )
64 jpeg? ( media-libs/jpeg )
65 lapack? ( virtual/lapack )
66 png? ( media-libs/libpng )
67 tiff? ( media-libs/tiff )
68 X? ( x11-libs/libX11
69 x11-libs/libXext
70 x11-libs/libXrandr )"
71 DEPEND="${RDEPEND}
72 app-arch/unzip"
73
74 S="${WORKDIR}/GREYCstoration-${PV}/src"
75
76 src_unpack() {
77 unpack ${A}
78 sed -i -e "s:../CImg.h:CImg.h:" "${S}"/greycstoration.cpp || die "sed failed"
79 }
80
81 src_compile() {
82 local MY_CONF
83
84 use X && MY_CONF+=" -lX11 -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr"
85 use png && MY_CONF+=" -Dcimg_use_png -lpng -lz"
86 use jpeg && MY_CONF+=" -Dcimg_use_jpeg -ljpeg"
87 use tiff && MY_CONF+=" -Dcimg_use_tiff -ltiff"
88 use imagemagick && MY_CONF+=" -Dcimg_use_magick $(Magick++-config --cppflags) \
89 $(Magick++-config --ldflags) $(Magick++-config --libs)"
90 use fftw && MY_CONF+=" -Dcimg_use_fftw3 -lfftw3"
91 use lapack && MY_CONF+=" -Dcimg_use_lapack -llapack"
92
93 $(tc-getCXX) -o greycstoration greycstoration.cpp \
94 ${MY_CONF} -lm -lpthread \
95 ${CXXFLAGS} ${LDFLAGS} -fno-tree-pre \
96 || die "Compilation failed"
97 }
98
99 src_install() {
100 dobin greycstoration
101 }