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.8.ebuild |
Date: | Sun, 30 Mar 2008 18:20:54 |
Message-Id: | E1Jg1kp-0006pQ-C0@stork.gentoo.org |
1 | calchan 08/03/30 17:55:39 |
2 | |
3 | Modified: ChangeLog |
4 | Added: greycstoration-2.8.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.2 media-gfx/greycstoration/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 25 Feb 2008 23:18:31 -0000 1.1 |
23 | +++ ChangeLog 30 Mar 2008 17:55:38 -0000 1.2 |
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.1 2008/02/25 23:18:31 calchan Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.2 2008/03/30 17:55:38 calchan Exp $ |
29 | + |
30 | +*greycstoration-2.8 (30 Mar 2008) |
31 | + |
32 | + 30 Mar 2008; Denis Dupeyron <calchan@g.o> |
33 | + +greycstoration-2.8.ebuild: |
34 | + Version bump. |
35 | |
36 | *greycstoration-1.2.7 (25 Feb 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-gfx/greycstoration/greycstoration-2.8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: greycstoration-2.8.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.8.ebuild,v 1.1 2008/03/30 17:55:38 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 | DEPEND="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 | |
72 | S="${WORKDIR}/GREYCstoration-${PV}/src" |
73 | |
74 | src_unpack() { |
75 | unpack ${A} |
76 | sed -i -e "s:../CImg.h:CImg.h:" "${S}"/greycstoration.cpp || die "sed failed" |
77 | } |
78 | |
79 | src_compile() { |
80 | local MY_CONF |
81 | |
82 | use X && MY_CONF+=" -lX11 -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr" |
83 | use png && MY_CONF+=" -Dcimg_use_png -lpng -lz" |
84 | use jpeg && MY_CONF+=" -Dcimg_use_jpeg -ljpeg" |
85 | use tiff && MY_CONF+=" -Dcimg_use_tiff -ltiff" |
86 | use imagemagick && MY_CONF+=" -Dcimg_use_magick $(Magick++-config --cppflags) \ |
87 | $(Magick++-config --ldflags) $(Magick++-config --libs)" |
88 | use fftw && MY_CONF+=" -Dcimg_use_fftw3 -lfftw3" |
89 | use lapack && MY_CONF+=" -Dcimg_use_lapack -llapack" |
90 | |
91 | $(tc-getCXX) -o greycstoration greycstoration.cpp \ |
92 | ${MY_CONF} -lm -lpthread \ |
93 | ${CXXFLAGS} ${LDFLAGS} \ |
94 | || die "Compilation failed" |
95 | } |
96 | |
97 | src_install() { |
98 | dobin greycstoration |
99 | } |
100 | |
101 | |
102 | |
103 | -- |
104 | gentoo-commits@l.g.o mailing list |