1 |
ssuominen 12/06/14 22:39:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: graphicsmagick-1.3.15.ebuild |
5 |
Log: |
6 |
Version bump wrt #421053 by Johan Bergström |
7 |
|
8 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.93 media-gfx/graphicsmagick/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?rev=1.93&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?rev=1.93&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/ChangeLog?r1=1.92&r2=1.93 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v |
20 |
retrieving revision 1.92 |
21 |
retrieving revision 1.93 |
22 |
diff -u -r1.92 -r1.93 |
23 |
--- ChangeLog 14 Jun 2012 22:26:39 -0000 1.92 |
24 |
+++ ChangeLog 14 Jun 2012 22:39:44 -0000 1.93 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-gfx/graphicsmagick |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.92 2012/06/14 22:26:39 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.93 2012/06/14 22:39:44 ssuominen Exp $ |
30 |
+ |
31 |
+*graphicsmagick-1.3.15 (14 Jun 2012) |
32 |
+ |
33 |
+ 14 Jun 2012; Samuli Suominen <ssuominen@g.o> |
34 |
+ +graphicsmagick-1.3.15.ebuild: |
35 |
+ Version bump wrt #421053 by Johan Bergström |
36 |
|
37 |
14 Jun 2012; Samuli Suominen <ssuominen@g.o> |
38 |
-files/graphicsmagick-1.3.7-debian-fixed.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-gfx/graphicsmagick/graphicsmagick-1.3.15.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.15.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.15.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: graphicsmagick-1.3.15.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/graphicsmagick/graphicsmagick-1.3.15.ebuild,v 1.1 2012/06/14 22:39:44 ssuominen Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
inherit eutils toolchain-funcs |
55 |
|
56 |
MY_P=${P/graphicsm/GraphicsM} |
57 |
|
58 |
DESCRIPTION="Collection of tools and libraries for many image formats" |
59 |
HOMEPAGE="http://www.graphicsmagick.org/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" |
61 |
|
62 |
LICENSE="MIT" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" |
65 |
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" |
66 |
|
67 |
RDEPEND="app-text/ghostscript-gpl |
68 |
media-fonts/urw-fonts |
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}"/${PN}-1.3.13-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/urw-fonts \ |
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 -exec rm -f {} + |
162 |
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
163 |
fi |
164 |
|
165 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
166 |
} |