diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 07:42:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 07:42:09 +0000 |
commit | 30ecfe874176907633ac0498fc83fec84a3fbc72 (patch) | |
tree | dbf48265067fd1ece92cefcbfd913e91c0aeb8f8 /media-libs/libgd | |
parent | fix jpeg support #23648 (diff) | |
download | historical-30ecfe874176907633ac0498fc83fec84a3fbc72.tar.gz historical-30ecfe874176907633ac0498fc83fec84a3fbc72.tar.bz2 historical-30ecfe874176907633ac0498fc83fec84a3fbc72.zip |
old
Diffstat (limited to 'media-libs/libgd')
-rw-r--r-- | media-libs/libgd/files/digest-libgd-1.8.4 | 1 | ||||
-rw-r--r-- | media-libs/libgd/files/digest-libgd-1.8.4-r1 | 1 | ||||
-rw-r--r-- | media-libs/libgd/libgd-1.8.4-r1.ebuild | 92 | ||||
-rw-r--r-- | media-libs/libgd/libgd-1.8.4.ebuild | 78 |
4 files changed, 0 insertions, 172 deletions
diff --git a/media-libs/libgd/files/digest-libgd-1.8.4 b/media-libs/libgd/files/digest-libgd-1.8.4 deleted file mode 100644 index e41c6df5c626..000000000000 --- a/media-libs/libgd/files/digest-libgd-1.8.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 2aef76e79f206f9798233f025f5dd28d gd-1.8.4.tar.gz 257631 diff --git a/media-libs/libgd/files/digest-libgd-1.8.4-r1 b/media-libs/libgd/files/digest-libgd-1.8.4-r1 deleted file mode 100644 index e41c6df5c626..000000000000 --- a/media-libs/libgd/files/digest-libgd-1.8.4-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 2aef76e79f206f9798233f025f5dd28d gd-1.8.4.tar.gz 257631 diff --git a/media-libs/libgd/libgd-1.8.4-r1.ebuild b/media-libs/libgd/libgd-1.8.4-r1.ebuild deleted file mode 100644 index cdc9ce7236ad..000000000000 --- a/media-libs/libgd/libgd-1.8.4-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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-1.8.4-r1.ebuild,v 1.3 2003/06/26 22:11:35 vapier Exp $ - -MY_P=${P/lib/} -S=${WORKDIR}/${MY_P} -DESCRIPTION="A graphics library for fast image creation" -SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz" -HOMEPAGE="http://www.boutell.com/gd/" - -SLOT="0" -LICENSE="as-is | BSD" -KEYWORDS="~x86 ~ppc ~sparc ~hppa" -IUSE="X jpeg truetype freetype-version-1" - -DEPEND="media-libs/libpng - X? ( virtual/x11 ) - jpeg? ( media-libs/jpeg ) - || ( - freetype-version-1? ( =media-libs/freetype-1* ) - truetype? ( =media-libs/freetype-2* ) - )" - -src_unpack() { - unpack ${A} - cd ${S} - - local compopts - local libsopts - local incopts - - use alpha \ - && [ "${CC}" == "ccc" ] \ - && epatch ${FILESDIR}/gd-${PV}-dec-alpha-compiler.diff - - use X \ - && compopts="${compopts} -DHAVE_XPM" \ - && libsopts="${libsopts} -lXpm -lX11" - - use jpeg \ - && compopts="${compopts} -DHAVE_LIBJPEG" \ - && libsopts="${libsopts} -ljpeg" - - compopts="${compopts} -DHAVE_LIBPNG" - libsopts="${libsopts} -lpng" - - if [ `use freetype-version-1` ] ; then - compopts="${compopts} -DHAVE_LIBTTF" - libsopts="${libsopts} -lttf" - incopts="-I/usr/include/freetype" - elif [ `use truetype` ] ; then - compopts="${compopts} -DHAVE_LIBFREETYPE" - libsopts="${libsopts} -lfreetype" - incopts="-I/usr/include/freetype2" - fi - - mv Makefile Makefile.old || die - sed -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ - -e "s:^\(LIBS\)=.*:\1=-lm -lgd -lz ${libsopts}:" \ - -e "s:^\(INCLUDEDIRS\)=:\1=${incopts} :" \ - -e "s:\(COMPILER=\)gcc:\1${CC:-gcc}:" \ - Makefile.old > Makefile || die -} - -src_compile() { - emake || die -} - -src_install() { - dodir /usr/{bin,lib,include/gd-1} - make \ - INSTALL_LIB=${D}/usr/lib \ - INSTALL_BIN=${D}/usr/bin \ - INSTALL_INCLUDE=${D}/usr/include/gd-1 \ - install || die - preplib /usr - - dodoc readme.txt - dohtml -r ./ - - # now make it slotable - mv ${D}/usr/lib/libgd{,1}.a - if `has_version =media-libs/libgd-2*` ; then - rm -rf ${D}/usr/bin - else - dosym libgd1.a /usr/lib/libgd.a - cd ${D}/usr/include/gd-1/ - for f in * ; do - dosym gd-1/${f} /usr/include/${f} - done - fi -} diff --git a/media-libs/libgd/libgd-1.8.4.ebuild b/media-libs/libgd/libgd-1.8.4.ebuild deleted file mode 100644 index fe70946e38ca..000000000000 --- a/media-libs/libgd/libgd-1.8.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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-1.8.4.ebuild,v 1.7 2003/09/06 23:59:48 msterret Exp $ - -MY_P=${P/lib/} -S=${WORKDIR}/${MY_P} -DESCRIPTION="A graphics library for fast image creation" -SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz" -HOMEPAGE="http://www.boutell.com/gd/" - -SLOT="0" -LICENSE="as-is | BSD" -KEYWORDS="x86 ppc sparc hppa" -IUSE="X jpeg truetype" - -DEPEND="media-libs/libpng - X? ( virtual/x11 ) - jpeg? ( media-libs/jpeg ) - truetype? ( =media-libs/freetype-1.3* )" - -src_unpack() { - unpack ${A} - cd ${S} - - local compopts - local libsopts - - use alpha \ - && [ "${CC}" == "ccc" ] && epatch ${FILESDIR}/gd-${PV}-dec-alpha-compiler.diff - - use X \ - && compopts="${compopts} -DHAVE_XPM" \ - && libsopts="${libsopts} -lXpm -lX11" - - use jpeg \ - && compopts="${compopts} -DHAVE_LIBJPEG" \ - && libsopts="${libsopts} -ljpeg" - - compopts="${compopts} -DHAVE_LIBPNG" \ - libsopts="${libsopts} -lpng" - - use truetype \ - && compopts="${compopts} -DHAVE_LIBTTF" \ - && libsopts="${libsopts} -lttf" - - mv Makefile Makefile.old || die - if [ `use truetype` ] - then - sed -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ - -e "s:^\(LIBS\)=.*:\1=-lm -lgd -lz ${libsopts}:" \ - -e "s:^\(INCLUDEDIRS\)=:\1=-I/usr/include/freetype :" \ - Makefile.old > Makefile || die - else - sed -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ - -e "s:^\(LIBS\)=.*:\1=-lm -lgd -lz ${libsopts}:" \ - -e "s:\(COMPILER=\)gcc:\1${CC:-gcc}:" \ - Makefile.old > Makefile || die - fi -} - -src_compile() { - emake || die -} - -src_install() { - dodir /usr/{bin,lib,include} - - make \ - INSTALL_LIB=${D}/usr/lib \ - INSTALL_BIN=${D}/usr/bin \ - INSTALL_INCLUDE=${D}/usr/include \ - install || die - - preplib /usr - - dodoc readme.txt - dohtml -r ./ -} |