1 |
commit: 27c00b1376b040e8e9cd149eb9084bbf5b9d799f |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 07:31:15 2015 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 07:31:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c00b13 |
7 |
|
8 |
media-gfx/imagemagick: remove old |
9 |
|
10 |
media-gfx/imagemagick/Manifest | 2 - |
11 |
.../files/imagemagick-6.9.1.7-cflags.patch | 68 -------- |
12 |
media-gfx/imagemagick/imagemagick-6.9.1.4.ebuild | 180 -------------------- |
13 |
media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild | 181 --------------------- |
14 |
4 files changed, 431 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest |
17 |
index ec6fffb..7b45786 100644 |
18 |
--- a/media-gfx/imagemagick/Manifest |
19 |
+++ b/media-gfx/imagemagick/Manifest |
20 |
@@ -1,5 +1,3 @@ |
21 |
DIST ImageMagick-6.9.0-3.tar.xz 7898568 SHA256 f00452ba2c05c2df9624c62d7adb49ecf17140edd6e5f355cceca051dab1fb38 SHA512 0ff1ac91fa4330544cf6ba9ac8bfd48fce5a0a702b4578e1dcd23989c52c2287e1d6291c231591457a87652a59d908bade148e4e94676a887293671dfec99a4c WHIRLPOOL 0ca86ecb04a18aee95aa2990b73f0f87a7c800b028c45c6af5a906bc0b2f9a380b2ac52bf825cfda8396b4c8dc9b1768be7b46000b9bee9b6f4aaa1bf7d7dea8 |
22 |
-DIST ImageMagick-6.9.1-4.tar.xz 7978216 SHA256 74973478058069ce44040ff76b61df713d70adcadfd207836cc0622cadf1e4bf SHA512 b3c8cc0882d3941053dd7052048f6839c268a2969637ba39067422dca9a2b0f442303d5ec647c6f1372723da5b59c30ee014902ad338d2157b75b8741526c698 WHIRLPOOL 0b3473bcfa43ae4fca0c084ea5bdff8c533e138f58ba782d79dd22d46e55a82b4cd8565fe0be5928a148eb969507e7d4b05764a8db08d8f5e862f00952772792 |
23 |
-DIST ImageMagick-6.9.1-7.tar.xz 8284892 SHA256 b610e5261c01664e19c91e513e21b3c2d76d583b497ee3c7cf2f20876d742328 SHA512 6eeef09b0e0297347e95c25c94305439e32e3e95a6f1c2e476a84911e8ca036c52634693a63cd28832c5dd0df14ca0c3ff41bad577f07bfe86c4085576350434 WHIRLPOOL 1751ac644916389292c306998df1c1d635d8acbaac23666a18b216b1b9867be39e7c1300a0f5d465ea3f3990af2dfac77efd8f23efca3f6f18e0beca439ceee5 |
24 |
DIST ImageMagick-6.9.1-8.tar.xz 8286604 SHA256 987b353058482b5ba15d42746eebc51c15eb05241ce94f22381b8aae0b841617 SHA512 feace56b4a409fa91b2827a3eae1a870541528a3f327e5d06a96ff4f97e8d94418c8f92e731b7276c41aef321584a75a4621fa2f361e9b20309a546d9a1f9fea WHIRLPOOL d2e3aa949a216829c5f2bea1149c31b0cd5ef83d0855863e6b0682afc0ee9fcc1f516893b9b0f612c5e64cb746225c3f9c2ab1c3f29332a6904ca53cb9117e7b |
25 |
DIST ImageMagick-6.9.2-0.tar.xz 8241360 SHA256 07a2de28f7f9ab888ef47c02eb7e10cc3e0dd0e9797c5d71d6e71d19f842399e SHA512 fc8c0f26447dc8225a30fd0c6e373cbc10161abffb9f511f137b1a78c2ab764782b3a2ce984177f99e0d5057a674465ebb27ff1260cef59ef3f8a73c82a8b617 WHIRLPOOL d53b963c15c79ff7de0077af2c2af740eb78c29a988a088b50ba8b79c2179def6e62806de6d30fced165df24eccf1019c42a1a130bef63066e824fadea4f3c0b |
26 |
|
27 |
diff --git a/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch b/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch |
28 |
deleted file mode 100644 |
29 |
index 53609c0..0000000 |
30 |
--- a/media-gfx/imagemagick/files/imagemagick-6.9.1.7-cflags.patch |
31 |
+++ /dev/null |
32 |
@@ -1,68 +0,0 @@ |
33 |
-https://github.com/ImageMagick/ImageMagick/issues/15 |
34 |
- |
35 |
---- ImageMagick-6.9.1-7/configure |
36 |
-+++ ImageMagick-6.9.1-7/configure |
37 |
-@@ -35563,30 +35563,6 @@ |
38 |
- fi |
39 |
- |
40 |
- |
41 |
--# |
42 |
--# Sanitize output variables (asthetic). |
43 |
--# |
44 |
--for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do |
45 |
-- sanitize='' |
46 |
-- eval value=$`echo $variable` |
47 |
-- for component in $value |
48 |
-- do |
49 |
-- unique=yes |
50 |
-- for test_component in $sanitize |
51 |
-- do |
52 |
-- if test $component = $test_component; then |
53 |
-- unique=no |
54 |
-- break |
55 |
-- fi |
56 |
-- done |
57 |
-- if test $unique = yes; then |
58 |
-- sanitize="$sanitize $component" |
59 |
-- fi |
60 |
-- done |
61 |
-- sanitize=`echo $sanitize | sed -e 's/^ *//g'` |
62 |
-- eval ${variable}=\${sanitize} |
63 |
--done |
64 |
-- |
65 |
- # Pass only user-provided LIBS as "global" libraries |
66 |
- LIBS=$USER_LIBS |
67 |
- |
68 |
---- ImageMagick-6.9.1-7/configure.ac |
69 |
-+++ ImageMagick-6.9.1-7/configure.ac |
70 |
-@@ -3706,30 +3706,6 @@ |
71 |
- fi |
72 |
- AC_SUBST(MAGICK_DEP_LIBS) |
73 |
- |
74 |
--# |
75 |
--# Sanitize output variables (asthetic). |
76 |
--# |
77 |
--for variable in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS PCFLAGS X_CFLAGS; do |
78 |
-- sanitize='' |
79 |
-- eval value=$`echo $variable` |
80 |
-- for component in $value |
81 |
-- do |
82 |
-- unique=yes |
83 |
-- for test_component in $sanitize |
84 |
-- do |
85 |
-- if test $component = $test_component; then |
86 |
-- unique=no |
87 |
-- break |
88 |
-- fi |
89 |
-- done |
90 |
-- if test $unique = yes; then |
91 |
-- sanitize="$sanitize $component" |
92 |
-- fi |
93 |
-- done |
94 |
-- sanitize=`echo $sanitize | sed -e 's/^ *//g'` |
95 |
-- eval ${variable}=\${sanitize} |
96 |
--done |
97 |
-- |
98 |
- # Pass only user-provided LIBS as "global" libraries |
99 |
- LIBS=$USER_LIBS |
100 |
- |
101 |
|
102 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.1.4.ebuild b/media-gfx/imagemagick/imagemagick-6.9.1.4.ebuild |
103 |
deleted file mode 100644 |
104 |
index e577a72..0000000 |
105 |
--- a/media-gfx/imagemagick/imagemagick-6.9.1.4.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,180 +0,0 @@ |
108 |
-# Copyright 1999-2015 Gentoo Foundation |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
-# $Id$ |
111 |
- |
112 |
-EAPI=5 |
113 |
- |
114 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
115 |
- |
116 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
117 |
- |
118 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
119 |
-HOMEPAGE="http://www.imagemagick.org/" |
120 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
121 |
- |
122 |
-LICENSE="imagemagick" |
123 |
-SLOT="0/${PV}" |
124 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
125 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
126 |
- |
127 |
-RESTRICT="perl? ( userpriv )" |
128 |
- |
129 |
-# Drop the libtool dep once libltdl goes stable. |
130 |
-RDEPEND=" |
131 |
- || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
132 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
133 |
- bzip2? ( app-arch/bzip2 ) |
134 |
- corefonts? ( media-fonts/corefonts ) |
135 |
- djvu? ( app-text/djvu ) |
136 |
- fftw? ( sci-libs/fftw:3.0 ) |
137 |
- fontconfig? ( media-libs/fontconfig ) |
138 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
139 |
- graphviz? ( media-gfx/graphviz ) |
140 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
141 |
- jpeg? ( virtual/jpeg:0 ) |
142 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
143 |
- lcms? ( media-libs/lcms:2= ) |
144 |
- lqr? ( media-libs/liblqr ) |
145 |
- opencl? ( virtual/opencl ) |
146 |
- openexr? ( media-libs/openexr:0= ) |
147 |
- pango? ( x11-libs/pango ) |
148 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
149 |
- png? ( media-libs/libpng:0= ) |
150 |
- postscript? ( app-text/ghostscript-gpl ) |
151 |
- raw? ( media-gfx/ufraw ) |
152 |
- svg? ( gnome-base/librsvg ) |
153 |
- tiff? ( media-libs/tiff:0= ) |
154 |
- truetype? ( |
155 |
- media-fonts/urw-fonts |
156 |
- >=media-libs/freetype-2 |
157 |
- ) |
158 |
- webp? ( media-libs/libwebp:0= ) |
159 |
- wmf? ( media-libs/libwmf ) |
160 |
- X? ( |
161 |
- x11-libs/libICE |
162 |
- x11-libs/libSM |
163 |
- x11-libs/libXext |
164 |
- x11-libs/libXt |
165 |
- ) |
166 |
- xml? ( dev-libs/libxml2:= ) |
167 |
- lzma? ( app-arch/xz-utils ) |
168 |
- zlib? ( sys-libs/zlib:= )" |
169 |
-DEPEND="${RDEPEND} |
170 |
- !media-gfx/graphicsmagick[imagemagick] |
171 |
- virtual/pkgconfig |
172 |
- X? ( x11-proto/xextproto )" |
173 |
- |
174 |
-REQUIRED_USE="corefonts? ( truetype ) |
175 |
- test? ( corefonts )" |
176 |
- |
177 |
-S=${WORKDIR}/${MY_P} |
178 |
- |
179 |
-src_prepare() { |
180 |
- epatch_user |
181 |
- |
182 |
- elibtoolize # for Darwin modules |
183 |
- |
184 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
185 |
- shopt -s nullglob |
186 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
187 |
- if test -n "${mesa_cards}"; then |
188 |
- addpredict "${mesa_cards}" |
189 |
- fi |
190 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
191 |
- if test -n "${ati_cards}"; then |
192 |
- addpredict "${ati_cards}" |
193 |
- fi |
194 |
- shopt -u nullglob |
195 |
- addpredict /dev/nvidiactl |
196 |
-} |
197 |
- |
198 |
-src_configure() { |
199 |
- local depth=16 |
200 |
- use q8 && depth=8 |
201 |
- use q32 && depth=32 |
202 |
- use q64 && depth=64 |
203 |
- |
204 |
- local openmp=disable |
205 |
- use openmp && { tc-has-openmp && openmp=enable; } |
206 |
- |
207 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
208 |
- |
209 |
- CONFIG_SHELL=$(type -P bash) \ |
210 |
- econf \ |
211 |
- $(use_enable static-libs static) \ |
212 |
- $(use_enable hdri) \ |
213 |
- $(use_enable opencl) \ |
214 |
- --with-threads \ |
215 |
- --with-modules \ |
216 |
- --with-quantum-depth=${depth} \ |
217 |
- $(use_with cxx magick-plus-plus) \ |
218 |
- $(use_with perl) \ |
219 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
220 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
221 |
- $(use_with bzip2 bzlib) \ |
222 |
- $(use_with X x) \ |
223 |
- $(use_with zlib) \ |
224 |
- $(use_with autotrace) \ |
225 |
- $(use_with postscript dps) \ |
226 |
- $(use_with djvu) \ |
227 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
228 |
- $(use_with fftw) \ |
229 |
- $(use_with fpx) \ |
230 |
- $(use_with fontconfig) \ |
231 |
- $(use_with truetype freetype) \ |
232 |
- $(use_with postscript gslib) \ |
233 |
- $(use_with graphviz gvc) \ |
234 |
- $(use_with jbig) \ |
235 |
- $(use_with jpeg) \ |
236 |
- $(use_with jpeg2k openjp2) \ |
237 |
- --without-lcms \ |
238 |
- $(use_with lcms lcms2) \ |
239 |
- $(use_with lqr) \ |
240 |
- $(use_with lzma) \ |
241 |
- $(use_with openexr) \ |
242 |
- $(use_with pango) \ |
243 |
- $(use_with png) \ |
244 |
- $(use_with svg rsvg) \ |
245 |
- $(use_with tiff) \ |
246 |
- $(use_with webp) \ |
247 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
248 |
- $(use_with wmf) \ |
249 |
- $(use_with xml) \ |
250 |
- --${openmp}-openmp \ |
251 |
- --with-gcc-arch=no-automagic |
252 |
-} |
253 |
- |
254 |
-src_test() { |
255 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
256 |
- emake -j1 check |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- # Ensure documentation installation files and paths with each release! |
261 |
- emake \ |
262 |
- DESTDIR="${D}" \ |
263 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
264 |
- install |
265 |
- |
266 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
267 |
- dodoc {AUTHORS,README}.txt ChangeLog |
268 |
- |
269 |
- if use perl; then |
270 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
271 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
272 |
- fi |
273 |
- |
274 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
275 |
- |
276 |
- if use opencl; then |
277 |
- cat <<-EOF > "${T}"/99${PN} |
278 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
279 |
- EOF |
280 |
- |
281 |
- insinto /etc/sandbox.d |
282 |
- doins "${T}"/99${PN} #472766 |
283 |
- fi |
284 |
- |
285 |
- insinto /usr/share/${PN} |
286 |
- doins config/*icm |
287 |
-} |
288 |
|
289 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild b/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild |
290 |
deleted file mode 100644 |
291 |
index d0b31b7..0000000 |
292 |
--- a/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild |
293 |
+++ /dev/null |
294 |
@@ -1,181 +0,0 @@ |
295 |
-# Copyright 1999-2015 Gentoo Foundation |
296 |
-# Distributed under the terms of the GNU General Public License v2 |
297 |
-# $Id$ |
298 |
- |
299 |
-EAPI=5 |
300 |
- |
301 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
302 |
- |
303 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
304 |
- |
305 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
306 |
-HOMEPAGE="http://www.imagemagick.org/" |
307 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
308 |
- |
309 |
-LICENSE="imagemagick" |
310 |
-SLOT="0/${PV}" |
311 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
312 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
313 |
- |
314 |
-RESTRICT="perl? ( userpriv )" |
315 |
- |
316 |
-# Drop the libtool dep once libltdl goes stable. |
317 |
-RDEPEND=" |
318 |
- || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
319 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
320 |
- bzip2? ( app-arch/bzip2 ) |
321 |
- corefonts? ( media-fonts/corefonts ) |
322 |
- djvu? ( app-text/djvu ) |
323 |
- fftw? ( sci-libs/fftw:3.0 ) |
324 |
- fontconfig? ( media-libs/fontconfig ) |
325 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
326 |
- graphviz? ( media-gfx/graphviz ) |
327 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
328 |
- jpeg? ( virtual/jpeg:0 ) |
329 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
330 |
- lcms? ( media-libs/lcms:2= ) |
331 |
- lqr? ( media-libs/liblqr ) |
332 |
- opencl? ( virtual/opencl ) |
333 |
- openexr? ( media-libs/openexr:0= ) |
334 |
- pango? ( x11-libs/pango ) |
335 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
336 |
- png? ( media-libs/libpng:0= ) |
337 |
- postscript? ( app-text/ghostscript-gpl ) |
338 |
- raw? ( media-gfx/ufraw ) |
339 |
- svg? ( gnome-base/librsvg ) |
340 |
- tiff? ( media-libs/tiff:0= ) |
341 |
- truetype? ( |
342 |
- media-fonts/urw-fonts |
343 |
- >=media-libs/freetype-2 |
344 |
- ) |
345 |
- webp? ( media-libs/libwebp:0= ) |
346 |
- wmf? ( media-libs/libwmf ) |
347 |
- X? ( |
348 |
- x11-libs/libICE |
349 |
- x11-libs/libSM |
350 |
- x11-libs/libXext |
351 |
- x11-libs/libXt |
352 |
- ) |
353 |
- xml? ( dev-libs/libxml2:= ) |
354 |
- lzma? ( app-arch/xz-utils ) |
355 |
- zlib? ( sys-libs/zlib:= )" |
356 |
-DEPEND="${RDEPEND} |
357 |
- !media-gfx/graphicsmagick[imagemagick] |
358 |
- virtual/pkgconfig |
359 |
- X? ( x11-proto/xextproto )" |
360 |
- |
361 |
-REQUIRED_USE="corefonts? ( truetype ) |
362 |
- test? ( corefonts )" |
363 |
- |
364 |
-S=${WORKDIR}/${MY_P} |
365 |
- |
366 |
-src_prepare() { |
367 |
- epatch "${FILESDIR}"/${PN}-6.9.1.7-cflags.patch |
368 |
- |
369 |
- epatch_user |
370 |
- |
371 |
- elibtoolize # for Darwin modules |
372 |
- |
373 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
374 |
- shopt -s nullglob |
375 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
376 |
- if test -n "${mesa_cards}"; then |
377 |
- addpredict "${mesa_cards}" |
378 |
- fi |
379 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
380 |
- if test -n "${ati_cards}"; then |
381 |
- addpredict "${ati_cards}" |
382 |
- fi |
383 |
- shopt -u nullglob |
384 |
- addpredict /dev/nvidiactl |
385 |
-} |
386 |
- |
387 |
-src_configure() { |
388 |
- local depth=16 |
389 |
- use q8 && depth=8 |
390 |
- use q32 && depth=32 |
391 |
- use q64 && depth=64 |
392 |
- |
393 |
- local openmp=disable |
394 |
- use openmp && { tc-has-openmp && openmp=enable; } |
395 |
- |
396 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
397 |
- |
398 |
- CONFIG_SHELL=$(type -P bash) \ |
399 |
- econf \ |
400 |
- $(use_enable static-libs static) \ |
401 |
- $(use_enable hdri) \ |
402 |
- $(use_enable opencl) \ |
403 |
- --with-threads \ |
404 |
- --with-modules \ |
405 |
- --with-quantum-depth=${depth} \ |
406 |
- $(use_with cxx magick-plus-plus) \ |
407 |
- $(use_with perl) \ |
408 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
409 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
410 |
- $(use_with bzip2 bzlib) \ |
411 |
- $(use_with X x) \ |
412 |
- $(use_with zlib) \ |
413 |
- $(use_with autotrace) \ |
414 |
- $(use_with postscript dps) \ |
415 |
- $(use_with djvu) \ |
416 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
417 |
- $(use_with fftw) \ |
418 |
- $(use_with fpx) \ |
419 |
- $(use_with fontconfig) \ |
420 |
- $(use_with truetype freetype) \ |
421 |
- $(use_with postscript gslib) \ |
422 |
- $(use_with graphviz gvc) \ |
423 |
- $(use_with jbig) \ |
424 |
- $(use_with jpeg) \ |
425 |
- $(use_with jpeg2k openjp2) \ |
426 |
- $(use_with lcms) \ |
427 |
- $(use_with lqr) \ |
428 |
- $(use_with lzma) \ |
429 |
- $(use_with openexr) \ |
430 |
- $(use_with pango) \ |
431 |
- $(use_with png) \ |
432 |
- $(use_with svg rsvg) \ |
433 |
- $(use_with tiff) \ |
434 |
- $(use_with webp) \ |
435 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
436 |
- $(use_with wmf) \ |
437 |
- $(use_with xml) \ |
438 |
- --${openmp}-openmp \ |
439 |
- --with-gcc-arch=no-automagic |
440 |
-} |
441 |
- |
442 |
-src_test() { |
443 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
444 |
- emake -j1 check |
445 |
-} |
446 |
- |
447 |
-src_install() { |
448 |
- # Ensure documentation installation files and paths with each release! |
449 |
- emake \ |
450 |
- DESTDIR="${D}" \ |
451 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
452 |
- install |
453 |
- |
454 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
455 |
- dodoc {AUTHORS,README}.txt ChangeLog |
456 |
- |
457 |
- if use perl; then |
458 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
459 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
460 |
- fi |
461 |
- |
462 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
463 |
- |
464 |
- if use opencl; then |
465 |
- cat <<-EOF > "${T}"/99${PN} |
466 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
467 |
- EOF |
468 |
- |
469 |
- insinto /etc/sandbox.d |
470 |
- doins "${T}"/99${PN} #472766 |
471 |
- fi |
472 |
- |
473 |
- insinto /usr/share/${PN} |
474 |
- doins config/*icm |
475 |
-} |