1 |
ssuominen 11/12/28 20:59:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: graphicsmagick-1.3.13.ebuild |
5 |
Log: |
6 |
Version bump wrt #395611 by Ivan S. Titov |
7 |
|
8 |
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.84 media-gfx/graphicsmagick/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?rev=1.84&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?rev=1.84&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?r1=1.83&r2=1.84 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v |
20 |
retrieving revision 1.83 |
21 |
retrieving revision 1.84 |
22 |
diff -u -r1.83 -r1.84 |
23 |
--- ChangeLog 16 Dec 2011 09:34:05 -0000 1.83 |
24 |
+++ ChangeLog 28 Dec 2011 20:59:28 -0000 1.84 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-gfx/graphicsmagick |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.83 2011/12/16 09:34:05 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.84 2011/12/28 20:59:28 ssuominen Exp $ |
30 |
+ |
31 |
+*graphicsmagick-1.3.13 (28 Dec 2011) |
32 |
+ |
33 |
+ 28 Dec 2011; Samuli Suominen <ssuominen@g.o> |
34 |
+ +graphicsmagick-1.3.13.ebuild, |
35 |
+ +files/graphicsmagick-1.3.13-lzma_configure.patch: |
36 |
+ Version bump wrt #395611 by Ivan S. Titov |
37 |
|
38 |
16 Dec 2011; Naohiro Aota <naota@g.o> graphicsmagick-1.3.12-r1.ebuild: |
39 |
Add ~x86-fbsd |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-gfx/graphicsmagick/graphicsmagick-1.3.13.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.13.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.13.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: graphicsmagick-1.3.13.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.13.ebuild,v 1.1 2011/12/28 20:59:28 ssuominen Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit eutils toolchain-funcs |
56 |
|
57 |
MY_P=${P/graphicsm/GraphicsM} |
58 |
|
59 |
DESCRIPTION="Collection of tools and libraries for many image formats" |
60 |
HOMEPAGE="http://www.graphicsmagick.org/" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" |
62 |
|
63 |
LICENSE="MIT" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" |
66 |
IUSE="bzip2 cxx debug fpx imagemagick jbig jpeg jpeg2k lcms lzma modules openmp perl png q16 q32 static-libs svg threads tiff truetype wmf X zlib" |
67 |
|
68 |
RDEPEND="app-text/ghostscript-gpl |
69 |
>=sys-devel/libtool-2.2.6b |
70 |
bzip2? ( app-arch/bzip2 ) |
71 |
fpx? ( media-libs/libfpx ) |
72 |
imagemagick? ( !media-gfx/imagemagick ) |
73 |
jbig? ( media-libs/jbigkit ) |
74 |
jpeg? ( virtual/jpeg ) |
75 |
jpeg2k? ( >=media-libs/jasper-1.701.0 ) |
76 |
lcms? ( media-libs/lcms:2 ) |
77 |
lzma? ( app-arch/xz-utils ) |
78 |
perl? ( dev-lang/perl ) |
79 |
png? ( >=media-libs/libpng-1.2:0 ) |
80 |
svg? ( dev-libs/libxml2 ) |
81 |
tiff? ( >=media-libs/tiff-3.8.2:0 ) |
82 |
truetype? ( >=media-libs/freetype-2.0 ) |
83 |
wmf? ( media-libs/libwmf ) |
84 |
X? ( |
85 |
x11-libs/libSM |
86 |
x11-libs/libXext |
87 |
) |
88 |
zlib? ( sys-libs/zlib )" |
89 |
DEPEND="${RDEPEND}" |
90 |
|
91 |
S=${WORKDIR}/${MY_P} |
92 |
|
93 |
src_prepare() { |
94 |
epatch "${FILESDIR}"/${P}-lzma_configure.patch |
95 |
} |
96 |
|
97 |
src_configure() { |
98 |
local depth=8 |
99 |
use q16 && depth=16 |
100 |
use q32 && depth=32 |
101 |
|
102 |
local openmp=disable |
103 |
if use openmp && tc-has-openmp; then |
104 |
openmp=enable |
105 |
fi |
106 |
|
107 |
econf \ |
108 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
109 |
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
110 |
--${openmp}-openmp \ |
111 |
--enable-largefile \ |
112 |
--enable-shared \ |
113 |
$(use_enable static-libs static) \ |
114 |
$(use_enable debug ccmalloc) \ |
115 |
$(use_enable debug prof) \ |
116 |
$(use_enable debug gcov) \ |
117 |
$(use_enable imagemagick magick-compat) \ |
118 |
$(use_with threads) \ |
119 |
--without-included-ltdl \ |
120 |
$(use_with modules) \ |
121 |
--with-quantum-depth=${depth} \ |
122 |
--without-frozenpaths \ |
123 |
$(use_with cxx magick-plus-plus) \ |
124 |
$(use_with perl) \ |
125 |
--with-perl-options=INSTALLDIRS=vendor \ |
126 |
$(use_with bzip2 bzlib) \ |
127 |
$(use_with fpx) \ |
128 |
--without-gslib \ |
129 |
$(use_with jbig) \ |
130 |
$(use_with jpeg) \ |
131 |
$(use_with jpeg2k jp2) \ |
132 |
--without-lcms \ |
133 |
$(use_with lcms lcms2) \ |
134 |
$(use_with lzma) \ |
135 |
$(use_with png) \ |
136 |
$(use_with tiff) \ |
137 |
$(use_with truetype ttf) \ |
138 |
$(use_with wmf) \ |
139 |
--with-fontpath="${EPREFIX}"/usr/share/fonts \ |
140 |
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/default/ghostscript \ |
141 |
--with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts \ |
142 |
$(use_with svg xml) \ |
143 |
$(use_with zlib) \ |
144 |
$(use_with X x) |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
emake |
149 |
use perl && emake perl-build |
150 |
} |
151 |
|
152 |
src_test() { |
153 |
emake check |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake DESTDIR="${D}" install |
158 |
|
159 |
if use perl; then |
160 |
emake -C PerlMagick DESTDIR="${D}" install |
161 |
find "${ED}" -type f -name perllocal.pod -delete |
162 |
find "${ED}" -depth -mindepth 1 -type d -empty -delete |
163 |
fi |
164 |
|
165 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
166 |
} |