summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-10-04 20:56:43 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-10-04 20:56:43 +0000
commit4a189e724b731bcc6952fea1502c6a82a8315b18 (patch)
tree084ac9972279f2a4af83d3467ccc1561f44e8df6 /media-gfx/graphicsmagick
parentBug #66333 - better RDEPEND. (Manifest recommit) (diff)
downloadgentoo-2-4a189e724b731bcc6952fea1502c6a82a8315b18.tar.gz
gentoo-2-4a189e724b731bcc6952fea1502c6a82a8315b18.tar.bz2
gentoo-2-4a189e724b731bcc6952fea1502c6a82a8315b18.zip
Version bump.
Diffstat (limited to 'media-gfx/graphicsmagick')
-rw-r--r--media-gfx/graphicsmagick/ChangeLog8
-rw-r--r--media-gfx/graphicsmagick/Manifest8
-rw-r--r--media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.31
-rw-r--r--media-gfx/graphicsmagick/graphicsmagick-1.1.3.ebuild94
4 files changed, 107 insertions, 4 deletions
diff --git a/media-gfx/graphicsmagick/ChangeLog b/media-gfx/graphicsmagick/ChangeLog
index 20a1fd615327..a97c02efbae7 100644
--- a/media-gfx/graphicsmagick/ChangeLog
+++ b/media-gfx/graphicsmagick/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/graphicsmagick
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.6 2004/06/24 22:40:58 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.7 2004/10/04 20:56:43 kloeri Exp $
+
+*graphicsmagick-1.1.3 (04 Oct 2004)
+
+ 04 Oct 2004; Bryan Østergaard <kloeri@gentoo.org>
+ +graphicsmagick-1.1.3.ebuild:
+ Version bump.
18 Jun 2004; Aron Griffis <agriffis@gentoo.org> graphicsmagick-1.1.2.ebuild:
Fix use invocation
diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest
index 690451b5e1a2..5ee547c61097 100644
--- a/media-gfx/graphicsmagick/Manifest
+++ b/media-gfx/graphicsmagick/Manifest
@@ -1,6 +1,8 @@
+MD5 dbf4dffdd54ce98989633ec13c11c8db graphicsmagick-1.1.3.ebuild 2513
MD5 ae6f04410b0befb9f0d1f494f7baee3d graphicsmagick-1.0.6.ebuild 2518
-MD5 65b7b0dcba519ee7e36eb4a2f5ca2e1a ChangeLog 887
-MD5 eae2172901a7cc6b7a6e37fc9267a2b9 metadata.xml 197
MD5 dbf4dffdd54ce98989633ec13c11c8db graphicsmagick-1.1.2.ebuild 2513
-MD5 28bcb1e625a5c8fa5f3b40d749c0a52f files/digest-graphicsmagick-1.0.6 74
+MD5 eae2172901a7cc6b7a6e37fc9267a2b9 metadata.xml 197
+MD5 65b7b0dcba519ee7e36eb4a2f5ca2e1a ChangeLog 887
+MD5 96b73807d1e5b4a44a2807fd0f5f7fdc files/digest-graphicsmagick-1.1.3 74
MD5 e8a8eb8d32898a5a8bd3bafca30f35cf files/digest-graphicsmagick-1.1.2 74
+MD5 28bcb1e625a5c8fa5f3b40d749c0a52f files/digest-graphicsmagick-1.0.6 74
diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.3 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.3
new file mode 100644
index 000000000000..2dd972784496
--- /dev/null
+++ b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.3
@@ -0,0 +1 @@
+MD5 fec44e95ce028bbd48d3f4b27c20ea11 GraphicsMagick-1.1.3.tar.bz2 4852809
diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.3.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.3.ebuild
new file mode 100644
index 000000000000..3e3bf1209bb7
--- /dev/null
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.1.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.3.ebuild,v 1.1 2004/10/04 20:56:43 kloeri Exp $
+
+inherit libtool flag-o-matic perl-module
+replace-flags k6-3 i586
+replace-flags k6-2 i586
+replace-flags k6 i586
+
+IUSE="X gs jbig jp2 jpeg lcms lzw perl png tiff truetype wmf xml2"
+
+MY_PN=GraphicsMagick
+MY_P=${MY_PN}-${PV}
+
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A collection of tools and libraries for many image formats"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.graphicsmagick.org/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-apps/sed-4
+ >=app-arch/bzip2-1
+ sys-libs/zlib
+ X? ( virtual/x11
+ >=app-text/dgs-0.5.9.1 )
+ gs? ( >=app-text/ghostscript-7.05 )
+ jbig? ( media-libs/jbigkit )
+ jp2? ( media-libs/jasper )
+ jpeg? ( >=media-libs/jpeg-6b )
+ lcms? ( >=media-libs/lcms-1.06 )
+ perl? ( dev-lang/perl )
+ png? ( media-libs/libpng )
+ tiff? ( >=media-libs/tiff-3.5.5 )
+ xml2? ( >=dev-libs/libxml2-2.4.10 )
+ truetype? ( =media-libs/freetype-2* )
+ wmf? ( >=media-libs/libwmf-0.2.5 )"
+
+src_compile() {
+ local myconf=""
+ use X || myconf="${myconf} --with-x=no"
+ use jbig || myconf="${myconf} --without-jbig"
+ use jp2 || myconf="${myconf} --without-jp2"
+ use jpeg || myconf="${myconf} --without-jpeg"
+ use lcms || myconf="${myconf} --without-lcms"
+ use lzw && myconf="${myconf} --enable-lzw"
+ use png || myconf="${myconf} --with-png=no"
+ use tiff || myconf="${myconf} --without-tiff"
+ use truetype || myconf="${myconf} --without-ttf"
+ use wmf || myconf="${myconf} --without-wmf"
+ use xml2 || myconf="${myconf} --without-xml"
+
+ # Netscape is still used ? More people should have Mozilla
+ sed -i 's:netscape:mozilla:g' configure
+
+ econf \
+ --enable-shared \
+ --with-quantum-depth=16 \
+ --with-threads \
+ --with-bzlib \
+ --without-perl \
+ ${myconf} || die
+
+ # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues
+ if use perl ; then
+ cd PerlMagick
+ perl-module_src_prep
+ perl-module_src_compile
+ cd ..
+ fi
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ if use perl ; then
+ cd PerlMagick
+ perl-module_src_install
+ cd ..
+ fi
+
+ dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick
+
+ mydoc="*.txt"
+
+ rm -f ${D}/usr/share/GraphicsMagick/*.txt
+
+ dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config
+ dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config
+}