diff options
author | Bartosch Pixa <darkspecter@gentoo.org> | 2003-04-24 15:24:18 +0000 |
---|---|---|
committer | Bartosch Pixa <darkspecter@gentoo.org> | 2003-04-24 15:24:18 +0000 |
commit | ca21c796e496c1ed48900cc2c571c41700be9467 (patch) | |
tree | b2e40846d1f3c3bb0a86ae71d26b4591e0cec42e /media-gfx/imagemagick | |
parent | update digests (diff) | |
download | gentoo-2-ca21c796e496c1ed48900cc2c571c41700be9467.tar.gz gentoo-2-ca21c796e496c1ed48900cc2c571c41700be9467.tar.bz2 gentoo-2-ca21c796e496c1ed48900cc2c571c41700be9467.zip |
version bump and changed to use mirror:
Diffstat (limited to 'media-gfx/imagemagick')
-rw-r--r-- | media-gfx/imagemagick/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/imagemagick/files/digest-imagemagick-5.5.6 | 1 | ||||
-rw-r--r-- | media-gfx/imagemagick/imagemagick-5.5.6.ebuild | 89 |
3 files changed, 97 insertions, 1 deletions
diff --git a/media-gfx/imagemagick/ChangeLog b/media-gfx/imagemagick/ChangeLog index 972942e88513..4c3168ac4c41 100644 --- a/media-gfx/imagemagick/ChangeLog +++ b/media-gfx/imagemagick/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/imagemagick # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.41 2003/03/26 00:57:38 vladimir Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.42 2003/04/24 15:24:18 darkspecter Exp $ + +*imagemagick-5.5.6 (24 Apr 2003) + + 24 Apr 2003; Bartosch Pixa <darkspecter@gentoo.org> + imagemagick-5.5.6.ebuild: + version bump and changed to use mirror: *imagemagick-5.5.5.3 (17 Mar 2003) diff --git a/media-gfx/imagemagick/files/digest-imagemagick-5.5.6 b/media-gfx/imagemagick/files/digest-imagemagick-5.5.6 new file mode 100644 index 000000000000..bf79a6aae626 --- /dev/null +++ b/media-gfx/imagemagick/files/digest-imagemagick-5.5.6 @@ -0,0 +1 @@ +MD5 f7909dec53582d4004ead5ff4f581db6 ImageMagick-5.5.6.tar.gz 4394402 diff --git a/media-gfx/imagemagick/imagemagick-5.5.6.ebuild b/media-gfx/imagemagick/imagemagick-5.5.6.ebuild new file mode 100644 index 000000000000..545dd5dc1531 --- /dev/null +++ b/media-gfx/imagemagick/imagemagick-5.5.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-5.5.6.ebuild,v 1.1 2003/04/24 15:24:18 darkspecter Exp $ + +inherit libtool +inherit flag-o-matic +replace-flags k6-3 i586 +replace-flags k6-2 i586 +replace-flags k6 i586 + +IUSE="X cups jpeg lcms mpeg png truetype tiff xml2" + +MY_PN=ImageMagick + +### no PV hacks needed as we don't have a patchlevel with this release +#MY_P=${MY_PN}-${PV%.*}-${PV#*.*.*.} +#MY_P2=${MY_PN}-${PV%.*} +MY_P=${MY_PN}-${PV} +MY_P2=${MY_PN}-${PV} + +S=${WORKDIR}/${MY_P2} +DESCRIPTION="A collection of tools and libraries for many image formats" +SRC_URI="mirror://sourceforge/imagemagick/${MY_P}.tar.gz" +HOMEPAGE="http://www.imagemagick.org/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ppc ~sparc ~alpha ~mips ~hppa" + +DEPEND="media-libs/jbigkit + >=sys-apps/bzip2-1 + sys-libs/zlib + >=media-libs/freetype-2.0 + X? ( virtual/x11 + >=app-text/dgs-0.5.9.1 ) + cups? ( >=app-text/ghostscript-6.50 ) + jpeg? ( >=media-libs/jpeg-6b ) + lcms? ( >=media-libs/lcms-1.06 ) + mpeg? ( media-video/mpeg2vidcodec ) + png? ( media-libs/libpng ) + tiff? ( >=media-libs/tiff-3.5.5 ) + xml2? ( >=dev-libs/libxml2-2.4.10 ) + truetype? ( =media-libs/freetype-2* )" + +src_compile() { + elibtoolize + + local myconf="" + use X || myconf="${myconf} --with-x=no" + use cups || myconf="${myconf} --without-gslib" + use jpeg || myconf="${myconf} --without-jpeg --without-jp2" + use lcms || myconf="${myconf} --without-lcms" + use mpeg || myconf="${myconf} --without-mpeg2" + use tiff || myconf="${myconf} --without-tiff" + use xml2 || myconf="${myconf} --without-xml" + use truetype || myconf="${myconf} --without-ttf" + + # Netscape is still used ? More people should have Mozilla + cp configure configure.orig + sed -e 's:netscape:mozilla:g' configure.orig > configure + + #patch to allow building by perl + patch -p0 < ${FILESDIR}/perlpatch.diff + + econf \ + --enable-shared \ + #--enable-static \ + --enable-lzw \ + --with-fpx \ + --with-jbig \ + --without-hdf \ + --with-wmf \ + --with-threads \ + --with-bzlib \ + ${myconf} + emake || die "compile problem" +} + +src_install() { + make DESTDIR=${D} install + mydoc="*.txt" + + rm -f ${D}/usr/share/ImageMagick/*.txt + + dosed "s:-I/usr/include ::" /usr/bin/Magick-config + dosed "s:-I/usr/include ::" /usr/bin/Magick++-config + + dosym /usr/lib/libMagick-5.5.5-Q16.so.0.0.0 /usr/lib/libMagick.so.5 +} |