From 950d2f9adb5023eb4d669723b8e3efab32a74fb1 Mon Sep 17 00:00:00 2001 From: Nicholas Wourms Date: Sun, 23 Feb 2003 14:58:34 +0000 Subject: Added gif support patch to libgd for USE="gif". Updated keywords to reflect 1.8.4 keywords. --- media-libs/libgd/ChangeLog | 9 +++++- .../libgd/files/gd-2.0.11-gif-support.patch.bz2 | Bin 0 -> 25710 bytes media-libs/libgd/libgd-2.0.11.ebuild | 34 ++++++++++++++++----- 3 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2 (limited to 'media-libs/libgd') 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 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 : 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 Binary files /dev/null and b/media-libs/libgd/files/gd-2.0.11-gif-support.patch.bz2 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 ./ + } -- cgit v1.2.3-65-gdbad