1 |
commit: f0decc7b2f1e42b151e9aa2f9a6882d9762d0391 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 02:00:31 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 02:00:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0decc7b |
7 |
|
8 |
media-gfx/imagemagick: bump to 6.9.10-6 & 7.0.8-6 |
9 |
|
10 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
11 |
|
12 |
media-gfx/imagemagick/Manifest | 2 + |
13 |
media-gfx/imagemagick/imagemagick-6.9.10.6.ebuild | 188 ++++++++++++++++++++++ |
14 |
media-gfx/imagemagick/imagemagick-7.0.8.6.ebuild | 188 ++++++++++++++++++++++ |
15 |
3 files changed, 378 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest |
18 |
index b148196426a..d0683a4eab2 100644 |
19 |
--- a/media-gfx/imagemagick/Manifest |
20 |
+++ b/media-gfx/imagemagick/Manifest |
21 |
@@ -1,5 +1,6 @@ |
22 |
DIST ImageMagick-6.9.10-3.tar.xz 8922536 BLAKE2B 36936b28aac025bd948d9925707877b6f6b5a9eb50f1afc2f318a0596c9096b7853f4db44c42994fe32b7ba0fe42eafb9d705ead0faf6f75eb9e7e07bc1c97e4 SHA512 760e8b003415fcf6c83e542346800f1f2d8834cd47ba343eead1f0fa228f2f44af7ca9b4379de52498a3da76aa35f25d0ec939cefa71718400702bc6801fffbe |
23 |
DIST ImageMagick-6.9.10-5.tar.xz 8921204 BLAKE2B b11c6dded5b42b797585e8253441fa6265de9f06241206b9ce29781df6c8896e9dd0ec967191ff28fcae445130d38e7e781728cbc27752b33b3422d971459952 SHA512 b6c068918a2c23bc86d84a1fd81bd8c0aea83fee0c33b5c686c7c6180231be2b27c1c43be111555017d2065fa97ba36c084e1479ff771846b73d500d67c7f85b |
24 |
+DIST ImageMagick-6.9.10-6.tar.xz 8913200 BLAKE2B 7009454e8d1d3bb27ef143dd3d0810df1548ff66d36cb48d0a91aee11246e2c2c4908947b95058b8cd2a83a4d69318564e4881a45636dca666fdec95e418c26a SHA512 984acc4610c205ead3b32ae4c059470dc4361e48cee6d9314bd3f8beed6b88b4adc824d59f059ead840293afae5595bdc3161e57ac9b2d4d49b90d32df46e49a |
25 |
DIST ImageMagick-6.9.9-31.tar.xz 8819864 BLAKE2B f6cdb19bff58a0b318a9af78f3fa429137cc4e79bbe075f9c6444204ce8a4324dde5792ab7232e6898a4993ad558c514a143c14469370de822038d1d669fdffa SHA512 85cbe4e4991a08a5c11c01b4276525fa1d63bcef9a9814fee1f8ede3a5ed432da8d3d84965ed75105723948d07ad879f7cf07d5121f0d624df9275dd4e41cb8f |
26 |
DIST ImageMagick-6.9.9-40.tar.xz 8919136 BLAKE2B 04b9585948194e6ba03efa549d9ef6a8b12fce141346ddd7dc1b40e72349dc603bc6154a3826496dae47ff8c0eb5b6a5b80ae51a60d0d8a632debcd9229cf3da SHA512 416c2e248e3d1c6d89b930b8179194a9e1dfd160b9de1a75f98ceeb4199dd1b5f3b1d0ce646c26429054e7970680c40b77e2bf0a97ca82bbe84aa66648393fb4 |
27 |
DIST ImageMagick-6.9.9-47.tar.xz 8918196 BLAKE2B f28948d5728cbd2b011091ded2c12b507d1939ae5f2e0872c098ea488a3668d5f15782de023a6775a60790feeabcbab3ae62917f5f160bbc5ec59b65527775d5 SHA512 7bf7ae7fc276c2857f546370851ef7aaf1704c1b5bbad1a739d964e8e48a4ece9d9274e154a5aaa18c24f31e60e03d2df661cca922a3fff780cbcddd86524cb5 |
28 |
@@ -8,3 +9,4 @@ DIST ImageMagick-7.0.7-28.tar.xz 8611096 BLAKE2B f4e70f32c5716f5e4673d9b938ea392 |
29 |
DIST ImageMagick-7.0.7-35.tar.xz 8614296 BLAKE2B 7c3c65d3fa630040febd40370fe93d3ba946b3d71cfef4daa340154a111f58af8e5028813fd35d1db99796d691f4d13999c3030b8ab7dc82494d0d89e2853359 SHA512 65aac1f1b4546212608acc1bf8b7b0a6fc7e45c9273183725dcfaf04e16948112fd4cfb295d88e5860dff66f04c54cc504af067e32c46cf8662f4ff72c64688a |
30 |
DIST ImageMagick-7.0.8-3.tar.xz 8613672 BLAKE2B c3ad7bb2d0917d2551b7c8ae0d80a8ab95e31d40cf18c26d7df363c3df209d7923a62a7fb90aec581fc4101139bc369a82289a96f51965f533b1956a9cfa4eed SHA512 0594de337c9eb1d116b15eeac0f1bceefeb86f13a41bc6721b120fa2e58f0ca5e2e1454b4e2b670c93545f13406f8bdbf54e5b3470e34841b5e9ac9d26821b70 |
31 |
DIST ImageMagick-7.0.8-5.tar.xz 8611448 BLAKE2B 7a4f38ec458d010644d88cda605355d5871952b055ba9e088fe164448e2a0332e44e1545fc5929df455298ee56be65b66846faae4738912314177be050c683b0 SHA512 d760e630fd82b7636a031728e1f078efb8bb962e60cdc912cdfad29d3e6f74c1b5047941e711db89aa847d2e7c8c6ed44f451fa8ccff431c20d92ef49ef1915d |
32 |
+DIST ImageMagick-7.0.8-6.tar.xz 8636756 BLAKE2B de30cbf334e47232c4f2addc789342a96da72f13f1f88d0db08462cf8ad80487d78dfae51f23a63c83100f78a60beb79781c44cff1b25f084badbb009fedf965 SHA512 4d498d2b7e9345b71e08a541aeaa1ee0ee62c781e92638cdd38a9a830b8fa291afece032b731ee79e1142d26cf94817356f0492cef257039beac33f865e9f588 |
33 |
|
34 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.10.6.ebuild b/media-gfx/imagemagick/imagemagick-6.9.10.6.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..07ebb1e3f53 |
37 |
--- /dev/null |
38 |
+++ b/media-gfx/imagemagick/imagemagick-6.9.10.6.ebuild |
39 |
@@ -0,0 +1,188 @@ |
40 |
+# Copyright 1999-2018 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=6 |
44 |
+ |
45 |
+inherit eutils flag-o-matic libtool multilib toolchain-funcs eapi7-ver |
46 |
+ |
47 |
+MY_P=ImageMagick-$(ver_rs 3 '-') |
48 |
+ |
49 |
+DESCRIPTION="A collection of tools and libraries for many image formats" |
50 |
+HOMEPAGE="https://www.imagemagick.org/" |
51 |
+SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
52 |
+ |
53 |
+LICENSE="imagemagick" |
54 |
+SLOT="0/${PV}" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
56 |
+IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
57 |
+ |
58 |
+RESTRICT="perl? ( userpriv )" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-libs/libltdl:0 |
62 |
+ bzip2? ( app-arch/bzip2 ) |
63 |
+ corefonts? ( media-fonts/corefonts ) |
64 |
+ djvu? ( app-text/djvu ) |
65 |
+ fftw? ( sci-libs/fftw:3.0 ) |
66 |
+ fontconfig? ( media-libs/fontconfig ) |
67 |
+ fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
68 |
+ graphviz? ( media-gfx/graphviz ) |
69 |
+ jbig? ( >=media-libs/jbigkit-2:= ) |
70 |
+ jpeg? ( virtual/jpeg:0 ) |
71 |
+ jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
72 |
+ lcms? ( media-libs/lcms:2= ) |
73 |
+ lqr? ( media-libs/liblqr ) |
74 |
+ opencl? ( virtual/opencl ) |
75 |
+ openexr? ( media-libs/openexr:0= ) |
76 |
+ pango? ( x11-libs/pango ) |
77 |
+ perl? ( >=dev-lang/perl-5.8.8:0= ) |
78 |
+ png? ( media-libs/libpng:0= ) |
79 |
+ postscript? ( app-text/ghostscript-gpl ) |
80 |
+ raw? ( media-libs/libraw:= ) |
81 |
+ svg? ( gnome-base/librsvg ) |
82 |
+ tiff? ( media-libs/tiff:0= ) |
83 |
+ truetype? ( |
84 |
+ media-fonts/urw-fonts |
85 |
+ >=media-libs/freetype-2 |
86 |
+ ) |
87 |
+ webp? ( media-libs/libwebp:0= ) |
88 |
+ wmf? ( media-libs/libwmf ) |
89 |
+ X? ( |
90 |
+ x11-libs/libICE |
91 |
+ x11-libs/libSM |
92 |
+ x11-libs/libXext |
93 |
+ x11-libs/libXt |
94 |
+ ) |
95 |
+ xml? ( dev-libs/libxml2:= ) |
96 |
+ lzma? ( app-arch/xz-utils ) |
97 |
+ zlib? ( sys-libs/zlib:= )" |
98 |
+DEPEND="${RDEPEND} |
99 |
+ !media-gfx/graphicsmagick[imagemagick] |
100 |
+ virtual/pkgconfig |
101 |
+ X? ( x11-base/xorg-proto )" |
102 |
+ |
103 |
+REQUIRED_USE="corefonts? ( truetype ) |
104 |
+ test? ( corefonts )" |
105 |
+ |
106 |
+PATCHES=( "${FILESDIR}"/${PN}-7.0.26-FTBFS-on-i386.patch ) |
107 |
+ |
108 |
+S="${WORKDIR}/${MY_P}" |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ local mesa_cards ati_cards nvidia_cards render_cards |
112 |
+ default |
113 |
+ |
114 |
+ elibtoolize # for Darwin modules |
115 |
+ |
116 |
+ # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
117 |
+ shopt -s nullglob |
118 |
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
119 |
+ if test -n "${ati_cards}"; then |
120 |
+ addpredict "${ati_cards}" |
121 |
+ fi |
122 |
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
123 |
+ if test -n "${mesa_cards}"; then |
124 |
+ addpredict "${mesa_cards}" |
125 |
+ fi |
126 |
+ nvidia_cards=$(echo -n /dev/nvidia** | sed 's/ /:/g') |
127 |
+ if test -n "${nvidia_cards}"; then |
128 |
+ addpredict "${nvidia_cards}" |
129 |
+ fi |
130 |
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') |
131 |
+ if test -n "${render_cards}"; then |
132 |
+ addpredict "${render_cards}" |
133 |
+ fi |
134 |
+ shopt -u nullglob |
135 |
+ addpredict /dev/nvidiactl |
136 |
+} |
137 |
+ |
138 |
+src_configure() { |
139 |
+ local depth=16 |
140 |
+ use q8 && depth=8 |
141 |
+ use q32 && depth=32 |
142 |
+ |
143 |
+ local openmp=disable |
144 |
+ use openmp && { tc-has-openmp && openmp=enable; } |
145 |
+ |
146 |
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
147 |
+ |
148 |
+ local myeconfargs=( |
149 |
+ $(use_enable static-libs static) |
150 |
+ $(use_enable hdri) |
151 |
+ $(use_enable opencl) |
152 |
+ --with-threads |
153 |
+ --with-modules |
154 |
+ --with-quantum-depth=${depth} |
155 |
+ $(use_with cxx magick-plus-plus) |
156 |
+ $(use_with perl) |
157 |
+ --with-perl-options='INSTALLDIRS=vendor' |
158 |
+ --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts |
159 |
+ $(use_with bzip2 bzlib) |
160 |
+ $(use_with X x) |
161 |
+ $(use_with zlib) |
162 |
+ --without-autotrace |
163 |
+ $(use_with postscript dps) |
164 |
+ $(use_with djvu) |
165 |
+ --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu |
166 |
+ $(use_with fftw) |
167 |
+ $(use_with fpx) |
168 |
+ $(use_with fontconfig) |
169 |
+ $(use_with truetype freetype) |
170 |
+ $(use_with postscript gslib) |
171 |
+ $(use_with graphviz gvc) |
172 |
+ $(use_with jbig) |
173 |
+ $(use_with jpeg) |
174 |
+ $(use_with jpeg2k openjp2) |
175 |
+ $(use_with lcms) |
176 |
+ $(use_with lqr) |
177 |
+ $(use_with lzma) |
178 |
+ $(use_with openexr) |
179 |
+ $(use_with pango) |
180 |
+ $(use_with png) |
181 |
+ $(use_with raw) |
182 |
+ $(use_with svg rsvg) |
183 |
+ $(use_with tiff) |
184 |
+ $(use_with webp) |
185 |
+ $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) |
186 |
+ $(use_with wmf) |
187 |
+ $(use_with xml) |
188 |
+ --${openmp}-openmp |
189 |
+ --with-gcc-arch=no-automagic |
190 |
+ ) |
191 |
+ CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}" |
192 |
+} |
193 |
+ |
194 |
+src_test() { |
195 |
+ LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
196 |
+ emake check |
197 |
+} |
198 |
+ |
199 |
+src_install() { |
200 |
+ # Ensure documentation installation files and paths with each release! |
201 |
+ emake \ |
202 |
+ DESTDIR="${D}" \ |
203 |
+ DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
204 |
+ install |
205 |
+ |
206 |
+ rm -f "${ED%/}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
207 |
+ dodoc {AUTHORS,README}.txt ChangeLog |
208 |
+ |
209 |
+ if use perl; then |
210 |
+ find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
211 |
+ find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
212 |
+ fi |
213 |
+ |
214 |
+ find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
215 |
+ |
216 |
+ if use opencl; then |
217 |
+ cat <<-EOF > "${T}"/99${PN} |
218 |
+ SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128" |
219 |
+ EOF |
220 |
+ |
221 |
+ insinto /etc/sandbox.d |
222 |
+ doins "${T}"/99${PN} #472766 |
223 |
+ fi |
224 |
+ |
225 |
+ insinto /usr/share/${PN} |
226 |
+ doins config/*icm |
227 |
+} |
228 |
|
229 |
diff --git a/media-gfx/imagemagick/imagemagick-7.0.8.6.ebuild b/media-gfx/imagemagick/imagemagick-7.0.8.6.ebuild |
230 |
new file mode 100644 |
231 |
index 00000000000..15b1ca966bf |
232 |
--- /dev/null |
233 |
+++ b/media-gfx/imagemagick/imagemagick-7.0.8.6.ebuild |
234 |
@@ -0,0 +1,188 @@ |
235 |
+# Copyright 1999-2018 Gentoo Foundation |
236 |
+# Distributed under the terms of the GNU General Public License v2 |
237 |
+ |
238 |
+EAPI=6 |
239 |
+ |
240 |
+inherit eutils flag-o-matic libtool multilib toolchain-funcs eapi7-ver |
241 |
+ |
242 |
+MY_P=ImageMagick-$(ver_rs 3 '-') |
243 |
+ |
244 |
+DESCRIPTION="A collection of tools and libraries for many image formats" |
245 |
+HOMEPAGE="https://www.imagemagick.org/" |
246 |
+SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
247 |
+ |
248 |
+LICENSE="imagemagick" |
249 |
+SLOT="0/${PV}" |
250 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
251 |
+IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
252 |
+ |
253 |
+RESTRICT="perl? ( userpriv )" |
254 |
+ |
255 |
+RDEPEND=" |
256 |
+ dev-libs/libltdl:0 |
257 |
+ bzip2? ( app-arch/bzip2 ) |
258 |
+ corefonts? ( media-fonts/corefonts ) |
259 |
+ djvu? ( app-text/djvu ) |
260 |
+ fftw? ( sci-libs/fftw:3.0 ) |
261 |
+ fontconfig? ( media-libs/fontconfig ) |
262 |
+ fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
263 |
+ graphviz? ( media-gfx/graphviz ) |
264 |
+ jbig? ( >=media-libs/jbigkit-2:= ) |
265 |
+ jpeg? ( virtual/jpeg:0 ) |
266 |
+ jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
267 |
+ lcms? ( media-libs/lcms:2= ) |
268 |
+ lqr? ( media-libs/liblqr ) |
269 |
+ opencl? ( virtual/opencl ) |
270 |
+ openexr? ( media-libs/openexr:0= ) |
271 |
+ pango? ( x11-libs/pango ) |
272 |
+ perl? ( >=dev-lang/perl-5.8.8:0= ) |
273 |
+ png? ( media-libs/libpng:0= ) |
274 |
+ postscript? ( app-text/ghostscript-gpl ) |
275 |
+ raw? ( media-libs/libraw:= ) |
276 |
+ svg? ( gnome-base/librsvg ) |
277 |
+ tiff? ( media-libs/tiff:0= ) |
278 |
+ truetype? ( |
279 |
+ media-fonts/urw-fonts |
280 |
+ >=media-libs/freetype-2 |
281 |
+ ) |
282 |
+ webp? ( media-libs/libwebp:0= ) |
283 |
+ wmf? ( media-libs/libwmf ) |
284 |
+ X? ( |
285 |
+ x11-libs/libICE |
286 |
+ x11-libs/libSM |
287 |
+ x11-libs/libXext |
288 |
+ x11-libs/libXt |
289 |
+ ) |
290 |
+ xml? ( dev-libs/libxml2:= ) |
291 |
+ lzma? ( app-arch/xz-utils ) |
292 |
+ zlib? ( sys-libs/zlib:= )" |
293 |
+DEPEND="${RDEPEND} |
294 |
+ !media-gfx/graphicsmagick[imagemagick] |
295 |
+ virtual/pkgconfig |
296 |
+ X? ( x11-base/xorg-proto )" |
297 |
+ |
298 |
+REQUIRED_USE="corefonts? ( truetype ) |
299 |
+ test? ( corefonts )" |
300 |
+ |
301 |
+PATCHES=( "${FILESDIR}"/${PN}-7.0.26-FTBFS-on-i386.patch ) |
302 |
+ |
303 |
+S="${WORKDIR}/${MY_P}" |
304 |
+ |
305 |
+src_prepare() { |
306 |
+ local ati_cards mesa_cards nvidia_cards render_cards |
307 |
+ default |
308 |
+ |
309 |
+ elibtoolize # for Darwin modules |
310 |
+ |
311 |
+ # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
312 |
+ shopt -s nullglob |
313 |
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
314 |
+ if test -n "${ati_cards}"; then |
315 |
+ addpredict "${ati_cards}" |
316 |
+ fi |
317 |
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
318 |
+ if test -n "${mesa_cards}"; then |
319 |
+ addpredict "${mesa_cards}" |
320 |
+ fi |
321 |
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') |
322 |
+ if test -n "${nvidia_cards}"; then |
323 |
+ addpredict "${nvidia_cards}" |
324 |
+ fi |
325 |
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') |
326 |
+ if test -n "${render_cards}"; then |
327 |
+ addpredict "${render_cards}" |
328 |
+ fi |
329 |
+ shopt -u nullglob |
330 |
+ addpredict /dev/nvidiactl |
331 |
+} |
332 |
+ |
333 |
+src_configure() { |
334 |
+ local depth=16 |
335 |
+ use q8 && depth=8 |
336 |
+ use q32 && depth=32 |
337 |
+ |
338 |
+ local openmp=disable |
339 |
+ use openmp && { tc-has-openmp && openmp=enable; } |
340 |
+ |
341 |
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
342 |
+ |
343 |
+ local myeconfargs=( |
344 |
+ $(use_enable static-libs static) |
345 |
+ $(use_enable hdri) |
346 |
+ $(use_enable opencl) |
347 |
+ --with-threads |
348 |
+ --with-modules |
349 |
+ --with-quantum-depth=${depth} |
350 |
+ $(use_with cxx magick-plus-plus) |
351 |
+ $(use_with perl) |
352 |
+ --with-perl-options='INSTALLDIRS=vendor' |
353 |
+ --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts |
354 |
+ $(use_with bzip2 bzlib) |
355 |
+ $(use_with X x) |
356 |
+ $(use_with zlib) |
357 |
+ --without-autotrace |
358 |
+ $(use_with postscript dps) |
359 |
+ $(use_with djvu) |
360 |
+ --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu |
361 |
+ $(use_with fftw) |
362 |
+ $(use_with fpx) |
363 |
+ $(use_with fontconfig) |
364 |
+ $(use_with truetype freetype) |
365 |
+ $(use_with postscript gslib) |
366 |
+ $(use_with graphviz gvc) |
367 |
+ $(use_with jbig) |
368 |
+ $(use_with jpeg) |
369 |
+ $(use_with jpeg2k openjp2) |
370 |
+ $(use_with lcms) |
371 |
+ $(use_with lqr) |
372 |
+ $(use_with lzma) |
373 |
+ $(use_with openexr) |
374 |
+ $(use_with pango) |
375 |
+ $(use_with png) |
376 |
+ $(use_with raw) |
377 |
+ $(use_with svg rsvg) |
378 |
+ $(use_with tiff) |
379 |
+ $(use_with webp) |
380 |
+ $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) |
381 |
+ $(use_with wmf) |
382 |
+ $(use_with xml) |
383 |
+ --${openmp}-openmp |
384 |
+ --with-gcc-arch=no-automagic |
385 |
+ ) |
386 |
+ CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}" |
387 |
+} |
388 |
+ |
389 |
+src_test() { |
390 |
+ LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
391 |
+ emake check |
392 |
+} |
393 |
+ |
394 |
+src_install() { |
395 |
+ # Ensure documentation installation files and paths with each release! |
396 |
+ emake \ |
397 |
+ DESTDIR="${D}" \ |
398 |
+ DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
399 |
+ install |
400 |
+ |
401 |
+ rm -f "${ED%/}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
402 |
+ dodoc {AUTHORS,README}.txt ChangeLog |
403 |
+ |
404 |
+ if use perl; then |
405 |
+ find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
406 |
+ find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
407 |
+ fi |
408 |
+ |
409 |
+ find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
410 |
+ |
411 |
+ if use opencl; then |
412 |
+ cat <<-EOF > "${T}"/99${PN} |
413 |
+ SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128" |
414 |
+ EOF |
415 |
+ |
416 |
+ insinto /etc/sandbox.d |
417 |
+ doins "${T}"/99${PN} #472766 |
418 |
+ fi |
419 |
+ |
420 |
+ insinto /usr/share/${PN} |
421 |
+ doins config/*icm |
422 |
+} |