summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Wourms <dragon@gentoo.org>2003-02-23 14:58:34 +0000
committerNicholas Wourms <dragon@gentoo.org>2003-02-23 14:58:34 +0000
commit950d2f9adb5023eb4d669723b8e3efab32a74fb1 (patch)
treee6527e945348e7e2a909c103131d5187ba5195fb /media-libs/libgd
parenttweak snapshot behaviour (diff)
downloadgentoo-2-950d2f9adb5023eb4d669723b8e3efab32a74fb1.tar.gz
gentoo-2-950d2f9adb5023eb4d669723b8e3efab32a74fb1.tar.bz2
gentoo-2-950d2f9adb5023eb4d669723b8e3efab32a74fb1.zip
Added gif support patch to libgd for USE="gif". Updated keywords to reflect 1.8.4 keywords.
Diffstat (limited to 'media-libs/libgd')
-rw-r--r--media-libs/libgd/ChangeLog9
-rw-r--r--media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2bin0 -> 25710 bytes
-rw-r--r--media-libs/libgd/libgd-2.0.11.ebuild34
3 files changed, 35 insertions, 8 deletions
diff --git a/media-libs/libgd/ChangeLog b/media-libs/libgd/ChangeLog
index 6b343f90fcbd..7e19a59b97b2 100644
--- a/media-libs/libgd/ChangeLog
+++ b/media-libs/libgd/ChangeLog
@@ -1,9 +1,16 @@
# ChangeLog for media-libs/libgd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.18 2003/02/23 07:18:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.19 2003/02/23 14:58:34 dragon Exp $
*libgd-2.0.11 (23 Feb 2003)
+ 23 Feb 2003; root <root@gentoo.org> libgd-2.0.11.ebuild files/gd-2.0.11-gif-support.patch.bz2 :
+ Added patch for gif support when USE="gif". Added ~arch keywords to
+ correspond to the keywords from 1.8.4. This package also needed to be
+ elibtoolized. Also, this gd requires a modern libpng and freetype,
+ otherwise output won't look right. Changed dependancies to reflect
+ this.
+
23 Feb 2003; Mike Frysinger <vapier@gentoo.org> :
Version bumpage.
diff --git a/media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2 b/media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2
new file mode 100644
index 000000000000..0cf787555735
--- /dev/null
+++ b/media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2
Binary files differ
diff --git a/media-libs/libgd/libgd-2.0.11.ebuild b/media-libs/libgd/libgd-2.0.11.ebuild
index 7f0ee7cb38bd..fa218e473524 100644
--- a/media-libs/libgd/libgd-2.0.11.ebuild
+++ b/media-libs/libgd/libgd-2.0.11.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.11.ebuild,v 1.1 2003/02/23 07:18:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.11.ebuild,v 1.2 2003/02/23 14:58:34 dragon Exp $
+
+inherit eutils libtool
MY_P=${P/lib/}
S=${WORKDIR}/${MY_P}
@@ -10,25 +12,43 @@ HOMEPAGE="http://www.boutell.com/gd/"
SLOT="0"
LICENSE="as-is | BSD"
-KEYWORDS="~x86"
-IUSE="X pic"
+KEYWORDS="~x86 ~ppc ~sparc ~mips"
+IUSE="X gif pic"
DEPEND=">=media-libs/jpeg-6b
- >=media-libs/libpng-1.0.7
- >=media-libs/freetype-2.0.9
+ >=media-libs/libpng-1.2.5
+ >=media-libs/freetype-2.1.2
X? ( virtual/x11 )"
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ elibtoolize
+
+ if [ -n "`use gif`" ]
+ then
+ epatch ${FILESDIR}/${MY_P}-gif-support.patch.bz2
+ fi
+
+}
+
src_compile() {
+
econf \
--with-gnu-ld \
`use_with pic` \
`use_with X x` \
|| die
emake || die
+
}
src_install() {
+
emake DESTDIR=${D} install || die
- dodoc README*
- dohtml index.html demoin.png
+ dodoc COPYING INSTALL README*
+ dohtml -r ./
+
}