summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2004-02-22 05:49:29 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2004-02-22 05:49:29 +0000
commit8f4c72eca1538b4fe42c075926275163b2d71478 (patch)
tree1205333a97be455f6e3d06184123df4935555733 /media-libs/t1lib
parentarm needs deps first (diff)
downloadhistorical-8f4c72eca1538b4fe42c075926275163b2d71478.tar.gz
historical-8f4c72eca1538b4fe42c075926275163b2d71478.tar.bz2
historical-8f4c72eca1538b4fe42c075926275163b2d71478.zip
new version
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r--media-libs/t1lib/ChangeLog7
-rw-r--r--media-libs/t1lib/Manifest4
-rw-r--r--media-libs/t1lib/files/digest-t1lib-5.0.11
-rw-r--r--media-libs/t1lib/t1lib-5.0.1.ebuild89
4 files changed, 100 insertions, 1 deletions
diff --git a/media-libs/t1lib/ChangeLog b/media-libs/t1lib/ChangeLog
index c5d61219d8e7..33c0efc151ac 100644
--- a/media-libs/t1lib/ChangeLog
+++ b/media-libs/t1lib/ChangeLog
@@ -2,6 +2,13 @@
# 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.1 (22 Feb 2004)
+
+ 22 Feb 2004; <matsuu@gentoo.org> t1lib-5.0.1.ebuild:
+ new version.
+ Added "--datadir=/etc" to econf for T1LIB_CONF_DIR.
+ Added "dobin xglyph" and dobin "type1afm".
+
10 Feb 2004; Gustavo Zacarias <gustavoz@gentoo.org> t1lib-5.0.0-r2.ebuild:
stable on sparc
diff --git a/media-libs/t1lib/Manifest b/media-libs/t1lib/Manifest
index 94321196f9c6..be41820bcc75 100644
--- a/media-libs/t1lib/Manifest
+++ b/media-libs/t1lib/Manifest
@@ -1,6 +1,8 @@
-MD5 eaebd23bb65d864542081ec8d12f789b ChangeLog 3721
+MD5 605ac81fe31b0e5968c83af4ba5cc5df ChangeLog 3919
MD5 295674d4bed87f5a7c2796e032ed561e metadata.xml 158
MD5 71282df41565cddfdcb71ae0e1f8ddd1 t1lib-1.3.1.ebuild 1488
MD5 d2c18a15563f8f251ee902e7b1481dcc t1lib-5.0.0-r2.ebuild 1861
+MD5 9e1aaa1eb80377dcf8807e5e1ccb2f45 t1lib-5.0.1.ebuild 2012
MD5 817757abf473e739c3314daca2aecea2 files/digest-t1lib-1.3.1 64
MD5 fd18dc7d703e77e595bc054f2f4c0f20 files/digest-t1lib-5.0.0-r2 64
+MD5 60bcc4bc9f1f21b6f445e2dc1f462171 files/digest-t1lib-5.0.1 64
diff --git a/media-libs/t1lib/files/digest-t1lib-5.0.1 b/media-libs/t1lib/files/digest-t1lib-5.0.1
new file mode 100644
index 000000000000..6bac83f4e056
--- /dev/null
+++ b/media-libs/t1lib/files/digest-t1lib-5.0.1
@@ -0,0 +1 @@
+MD5 b4e14bc4bf322c88da41a98f73c19b98 t1lib-5.0.1.tar.gz 1647836
diff --git a/media-libs/t1lib/t1lib-5.0.1.ebuild b/media-libs/t1lib/t1lib-5.0.1.ebuild
new file mode 100644
index 000000000000..b900a16f051f
--- /dev/null
+++ b/media-libs/t1lib/t1lib-5.0.1.ebuild
@@ -0,0 +1,89 @@
+# 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.1.ebuild,v 1.1 2004/02/22 05:49:29 matsuu 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 myconf
+ local myopt
+
+ use alpha && append-flags -mieee
+
+ use X \
+ && myconf="--with-x" \
+ || myconf="--without-x"
+
+ if [ ! -x /usr/bin/latex ] ; then
+ myopt="without_doc"
+ fi
+
+ econf \
+ --datadir=/etc \
+ ${myconf} || 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
+}