diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-28 04:38:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-28 04:38:55 +0000 |
commit | 4cb493a0d1eb0ff25693696038909048f463a6a2 (patch) | |
tree | ebfcf71210e0c07ee125470f29c7c34c1b7bbd37 /media-libs/t1lib | |
parent | gcc-3.4 patch #49239 (diff) | |
download | gentoo-2-4cb493a0d1eb0ff25693696038909048f463a6a2.tar.gz gentoo-2-4cb493a0d1eb0ff25693696038909048f463a6a2.tar.bz2 gentoo-2-4cb493a0d1eb0ff25693696038909048f463a6a2.zip |
ver bump #49237 / #44122
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r-- | media-libs/t1lib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/t1lib/files/digest-t1lib-5.0.2 | 1 | ||||
-rw-r--r-- | media-libs/t1lib/t1lib-5.0.2.ebuild | 85 |
3 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/t1lib/ChangeLog b/media-libs/t1lib/ChangeLog index 33c0efc151ac..affadb88e65f 100644 --- a/media-libs/t1lib/ChangeLog +++ b/media-libs/t1lib/ChangeLog @@ -2,6 +2,12 @@ # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 # /space/gentoo/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.2 2002/04/16 01:14:04 seemant Exp +*t1lib-5.0.2 (28 Apr 2004) + + 28 Apr 2004; Mike Frysinger <vapier@gentoo.org> : + Version bump to close #44122 by Michaelian Ennis and gcc-3.4 issues + #49237 by Robert Moss. + *t1lib-5.0.1 (22 Feb 2004) 22 Feb 2004; <matsuu@gentoo.org> t1lib-5.0.1.ebuild: diff --git a/media-libs/t1lib/files/digest-t1lib-5.0.2 b/media-libs/t1lib/files/digest-t1lib-5.0.2 new file mode 100644 index 000000000000..27114917503c --- /dev/null +++ b/media-libs/t1lib/files/digest-t1lib-5.0.2 @@ -0,0 +1 @@ +MD5 cc5d4130b25bb8a1c930488b78930e9b t1lib-5.0.2.tar.gz 1697086 diff --git a/media-libs/t1lib/t1lib-5.0.2.ebuild b/media-libs/t1lib/t1lib-5.0.2.ebuild new file mode 100644 index 000000000000..ed6a7a005f5f --- /dev/null +++ b/media-libs/t1lib/t1lib-5.0.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.0.2.ebuild,v 1.1 2004/04/28 04:38:55 vapier Exp $ + +inherit gnuconfig flag-o-matic + +DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11" +HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/" +SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz" + +LICENSE="LGPL-2 GPL-2" +SLOT="5" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64" +IUSE="X doc" + +DEPEND="X? ( virtual/x11 )" + +src_unpack() { + unpack ${A} + if use amd64 || use alpha; then + gnuconfig_update || die "gnuconfig_update failed" + fi + + cd ${S}/doc + mv Makefile.in Makefile.in-orig + sed -e "s:dvips:#dvips:" Makefile.in-orig>Makefile.in + + sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" ${S}/xglyph/xglyph.c +} + +src_compile() { + local myopt="" + + use alpha && append-flags -mieee + + if [ ! -x /usr/bin/latex ] ; then + myopt="without_doc" + fi + + econf \ + --datadir=/etc \ + `use_with X x` \ + || die + make ${myopt} || die +} + +src_install() { + cd lib + insinto /usr/include + doins t1lib.h + + use X && ( \ + doins t1libx.h + ln -s -f libt1x.lai .libs/libt1x.la + dolib .libs/libt1x.{la,a,so.${PV}} + dosym libt1x.so.${PV} /usr/lib/libt1x.so.${PV%%.*} + dosym libt1x.so.${PV} /usr/lib/libt1x.so + ) + + ln -s -f libt1.lai .libs/libt1.la + dolib .libs/libt1.{la,a,so.${PV}} + dosym libt1.so.${PV} /usr/lib/libt1.so.${PV%%.*} + dosym libt1.so.${PV} /usr/lib/libt1.so + insinto /etc/t1lib + doins t1lib.config + + use X && dobin xglyph/.libs/xglyph + dobin type1afm/.libs/type1afm + + cd .. + dodoc Changes LGPL LICENSE README* + if use doc ; then + cd doc + insinto /usr/share/doc/${PF} + doins *.pdf *.dvi + fi +} + +pkg_postinst() { + ewarn + ewarn "You must rebuild other packages depending on t1lib." + ewarn "You may use revdep-rebuild (from app-portage/gentoolkit)" + ewarn "to do all necessary tricks." + ewarn +} |