summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Forest <vladimir@gentoo.org>2003-03-17 08:45:12 +0000
committerGraham Forest <vladimir@gentoo.org>2003-03-17 08:45:12 +0000
commit80e2da0faf99469a89dc26a5a2744ef9405de4e8 (patch)
tree1b3fb5110290115b1bd3abc791077317852e2dba /media-gfx/imagemagick
parentInitial import (diff)
downloadgentoo-2-80e2da0faf99469a89dc26a5a2744ef9405de4e8.tar.gz
gentoo-2-80e2da0faf99469a89dc26a5a2744ef9405de4e8.tar.bz2
gentoo-2-80e2da0faf99469a89dc26a5a2744ef9405de4e8.zip
Version bump, moved perlmagick to seperate ebuild
Diffstat (limited to 'media-gfx/imagemagick')
-rw-r--r--media-gfx/imagemagick/ChangeLog7
-rw-r--r--media-gfx/imagemagick/files/digest-imagemagick-5.5.5.31
-rw-r--r--media-gfx/imagemagick/imagemagick-5.5.5.3.ebuild82
3 files changed, 89 insertions, 1 deletions
diff --git a/media-gfx/imagemagick/ChangeLog b/media-gfx/imagemagick/ChangeLog
index 9d60f8763285..59c6e491284e 100644
--- a/media-gfx/imagemagick/ChangeLog
+++ b/media-gfx/imagemagick/ChangeLog
@@ -1,6 +1,11 @@
# 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.37 2003/03/13 10:06:01 doctomoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.38 2003/03/17 08:45:12 vladimir Exp $
+
+*imagemagick-5.5.5.3 (17 Mar 2003)
+
+ 17 Mar 2003; Graham Forest <vladimir@gentoo.org> imagemagick-5.5.5.3.ebuild:
+ Version bump, moved PerlMagick to a seperate ebuild
13 Mar 2003; Olivier Reisch <doctomoe@gentoo.org> imagemagick-5.5.3.2.ebuild
Put back to ~ppc as some deps are not marked ppc stable either.
diff --git a/media-gfx/imagemagick/files/digest-imagemagick-5.5.5.3 b/media-gfx/imagemagick/files/digest-imagemagick-5.5.5.3
new file mode 100644
index 000000000000..771d7d44f42c
--- /dev/null
+++ b/media-gfx/imagemagick/files/digest-imagemagick-5.5.5.3
@@ -0,0 +1 @@
+MD5 8670a84eff9468e3312c1844ebe5f6a7 ImageMagick-5.5.5-3.tar.bz2 3480433
diff --git a/media-gfx/imagemagick/imagemagick-5.5.5.3.ebuild b/media-gfx/imagemagick/imagemagick-5.5.5.3.ebuild
new file mode 100644
index 000000000000..5610e6cc4288
--- /dev/null
+++ b/media-gfx/imagemagick/imagemagick-5.5.5.3.ebuild
@@ -0,0 +1,82 @@
+# 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.5.3.ebuild,v 1.1 2003/03/17 08:45:12 vladimir 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
+MY_P=${MY_PN}-${PV%.*}-${PV#*.*.*.}
+MY_P2=${MY_PN}-${PV%.*}
+S=${WORKDIR}/${MY_P2}
+DESCRIPTION="A collection of tools and libraries for many image formats"
+SRC_URI="http://imagemagick.sourceforge.net/http/${MY_P}.tar.bz2"
+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
+}