Magellan Linux

Annotation of /trunk/extras/imagemagick/imagemagick-7.0.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31335 - (hide annotations) (download)
Thu Jun 21 12:58:55 2018 UTC (5 years, 10 months ago) by niro
File size: 2251 byte(s)
auto added: ver bump to 7.0.8.2-r1
1 niro 31335 # $Id$
2    
3     PNAME="imagemagick"
4     PVER="7.0.8.2"
5     PBUILD="r1"
6    
7     PCAT="media-gfx"
8    
9     DESCRIPTION="Image manipulation tools and libraries for many image formats."
10     HOMEPAGE="http://www.imagemagick.org/"
11    
12     DEPEND=">= x11-libs/libICE-1
13     >= x11-libs/libSM-1
14     >= x11-libs/libXext-1.3
15     >= x11-libs/libXt-1.1
16     >= app-arch/bzip2-1.0.6
17     >= sys-libs/zlib-1.2.5
18     >= sys-libs/libgomp-6.3
19     >= sys-libs/libltdl-2.4
20     >= virtual/libjpeg
21     >= media-libs/libpng-1.5
22     >= media-libs/libtiff-4
23     >= media-libs/lcms-1.19
24     == dev-lang/perl-5.26.1
25     >= dev-libs/libxml2-2.7
26     >= app-text/ghostscript-gpl-9
27     >= media-gfx/graphviz-2.38
28     >= media-libs/freetype-2.6
29     >= media-libs/libwmf-0.2.8.4
30     >= media-libs/openexr-2.1
31     >= media-fonts/corefonts-2
32     >= sci-libs/fftw3-3.3"
33    
34     SDEPEND=">= virtual/sed
35     >= sys-dev/libtool-2.4
36     >= virtual/xextproto"
37    
38     SRCFILE="ImageMagick-${PVER:0:5}-${PVER:6}.tar.xz"
39     SRCDIR="${BUILDDIR}/ImageMagick-${PVER:0:5}-${PVER:6}"
40    
41     sminclude mbuild
42     # .la files a substantly needed to load runtime lib-deps!
43     # do not remove them or errors like this will occur:
44     # convert: no decode delegate for this image format `/usr/share/pixmaps/xterm_48x48.xpm'
45     # @ error/constitute.c/ReadImage/532.
46     msetfeature "libtool" "!check"
47    
48     SRC_URI=(
49     ftp://ftp.imagemagick.org/pub/ImageMagick/${SRCFILE}
50     ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/${SRCFILE}
51     mirror://${PNAME}/${SRCFILE}
52     mirror://${PNAME}/${PNAME}-6.8.9.10-rpath.patch
53     )
54    
55     UP2SEPERATOR="k."
56     UP2DATE="updatecmd -listonly https://www.imagemagick.org/download/ | grep ImageMagick- | sed s:-:\.:g | highesttarball xz"
57    
58     src_prepare()
59     {
60     munpack ${SRCFILE} || die
61     cd ${SRCDIR}
62    
63     # remove insecure rpath
64     mpatch ${PNAME}-6.8.9.10-rpath.patch || die
65    
66     # do not link to included libltdl,
67     # use system libtool instead
68     sed -i 's/\$(LIBLTDL) \$/\$/' Makefile.in || die
69     }
70    
71     src_compile()
72     {
73     cd ${SRCDIR}
74    
75     mconfigure \
76     --build=${CHOST} \
77     --with-windows-font-dir=/usr/share/fonts/corefonts \
78     --enable-shared \
79     --with-threads \
80     --with-bzlib \
81     --with-modules \
82     --with-zlib \
83     --with-x \
84     --with-perl \
85     --with-tiff \
86     --with-lcms \
87     --with-xml \
88     --with-jp2 \
89     --with-jpeg \
90     --with-gslib \
91     --with-freetype \
92     --with-wmf \
93     --with-openexr \
94     --without-fpx \
95     --without-jbig \
96     || die
97    
98     mmake -j1 || die
99     }