Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/imagemagick: ChangeLog imagemagick-6.7.4.10.ebuild
Date: Sat, 28 Jan 2012 03:27:04
Message-Id: 20120128032647.E4FD120033@flycatcher.gentoo.org
1 ssuominen 12/01/28 03:26:47
2
3 Modified: ChangeLog
4 Added: imagemagick-6.7.4.10.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.455 media-gfx/imagemagick/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.455&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.455&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?r1=1.454&r2=1.455
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v
20 retrieving revision 1.454
21 retrieving revision 1.455
22 diff -u -r1.454 -r1.455
23 --- ChangeLog 23 Jan 2012 22:54:47 -0000 1.454
24 +++ ChangeLog 28 Jan 2012 03:26:47 -0000 1.455
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/imagemagick
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.454 2012/01/23 22:54:47 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.455 2012/01/28 03:26:47 ssuominen Exp $
30 +
31 +*imagemagick-6.7.4.10 (28 Jan 2012)
32 +
33 + 28 Jan 2012; Samuli Suominen <ssuominen@g.o>
34 + +imagemagick-6.7.4.10.ebuild:
35 + Version bump.
36
37 23 Jan 2012; Samuli Suominen <ssuominen@g.o>
38 -imagemagick-6.7.4.0.ebuild:
39
40
41
42 1.1 media-gfx/imagemagick/imagemagick-6.7.4.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.4.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.4.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: imagemagick-6.7.4.10.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.4.10.ebuild,v 1.1 2012/01/28 03:26:47 ssuominen Exp $
52
53 EAPI=4
54 inherit multilib toolchain-funcs versionator
55
56 MY_P=ImageMagick-$(replace_version_separator 3 '-')
57
58 DESCRIPTION="A collection of tools and libraries for many image formats"
59 HOMEPAGE="http://www.imagemagick.org/"
60 SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
61
62 LICENSE="imagemagick"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
65 IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png q32 q64 q8 raw static-libs svg tiff truetype webp wmf X xml zlib"
66
67 RDEPEND=">=sys-devel/libtool-2.2.6b
68 autotrace? ( >=media-gfx/autotrace-0.31.1 )
69 bzip2? ( app-arch/bzip2 )
70 corefonts? ( media-fonts/corefonts )
71 djvu? ( app-text/djvu )
72 fftw? ( sci-libs/fftw:3.0 )
73 fontconfig? ( media-libs/fontconfig )
74 fpx? ( >=media-libs/libfpx-1.3.0-r1 )
75 graphviz? ( >=media-gfx/graphviz-2.6 )
76 gs? ( app-text/ghostscript-gpl )
77 jbig? ( media-libs/jbigkit )
78 jpeg? ( virtual/jpeg )
79 jpeg2k? ( media-libs/jasper )
80 lcms? ( media-libs/lcms:2 )
81 lqr? ( >=media-libs/liblqr-0.1.0 )
82 opencl? ( virtual/opencl )
83 openexr? ( media-libs/openexr )
84 pango? ( x11-libs/pango )
85 perl? ( >=dev-lang/perl-5.8.6-r6 )
86 png? ( media-libs/libpng:0 )
87 raw? ( media-gfx/ufraw )
88 svg? ( >=gnome-base/librsvg-2.9.0 )
89 tiff? ( media-libs/tiff:0 )
90 truetype? ( media-libs/freetype:2 )
91 webp? ( media-libs/libwebp )
92 wmf? ( >=media-libs/libwmf-0.2.8 )
93 X? (
94 x11-libs/libXext
95 x11-libs/libXt
96 x11-libs/libICE
97 x11-libs/libSM
98 )
99 xml? ( >=dev-libs/libxml2-2.4.10 )
100 lzma? ( app-arch/xz-utils )
101 zlib? ( sys-libs/zlib )"
102 DEPEND="${RDEPEND}
103 !media-gfx/graphicsmagick[imagemagick]
104 app-arch/xz-utils
105 dev-util/pkgconfig
106 >=sys-apps/sed-4
107 X? ( x11-proto/xextproto )"
108
109 REQUIRED_USE="corefonts? ( truetype )"
110
111 S=${WORKDIR}/${MY_P}
112
113 RESTRICT="perl? ( userpriv )"
114
115 DOCS="AUTHORS.txt ChangeLog NEWS.txt README.txt"
116
117 src_configure() {
118 local depth=16
119 use q8 && depth=8
120 use q32 && depth=32
121 use q64 && depth=64
122
123 local openmp=disable
124 if use openmp && tc-has-openmp; then
125 openmp=enable
126 fi
127
128 econf \
129 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
130 $(use_enable static-libs static) \
131 $(use_enable hdri) \
132 $(use_enable opencl) \
133 --with-threads \
134 --without-included-ltdl \
135 --with-ltdl-include="${EPREFIX}/usr/include" \
136 --with-ltdl-lib="${EPREFIX}/usr/$(get_libdir)" \
137 --with-modules \
138 --with-quantum-depth=${depth} \
139 $(use_with cxx magick-plus-plus) \
140 $(use_with perl) \
141 --with-perl-options='INSTALLDIRS=vendor' \
142 --with-gs-font-dir="${EPREFIX}/usr/share/fonts/default/ghostscript" \
143 $(use_with bzip2 bzlib) \
144 $(use_with X x) \
145 $(use_with zlib) \
146 $(use_with autotrace) \
147 $(use_with gs dps) \
148 $(use_with djvu) \
149 --with-dejavu-font-dir="${EPREFIX}/usr/share/fonts/dejavu" \
150 $(use_with fftw) \
151 $(use_with fpx) \
152 $(use_with fontconfig) \
153 $(use_with truetype freetype) \
154 $(use_with gs gslib) \
155 $(use_with graphviz gvc) \
156 $(use_with jbig) \
157 $(use_with jpeg) \
158 $(use_with jpeg2k jp2) \
159 --without-lcms \
160 $(use_with lcms lcms2) \
161 $(use_with lqr) \
162 $(use_with lzma) \
163 $(use_with openexr) \
164 $(use_with pango) \
165 $(use_with png) \
166 $(use_with svg rsvg) \
167 $(use_with tiff) \
168 $(use_with webp) \
169 $(use_with corefonts windows-font-dir /usr/share/fonts/corefonts) \
170 $(use_with wmf) \
171 $(use_with xml) \
172 --${openmp}-openmp
173 }
174
175 src_test() {
176 has_version media-gfx/imagemagick || emake -j1 check
177 }
178
179 src_install() {
180 default
181
182 if use perl; then
183 find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
184 find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
185 fi
186
187 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
188 }