summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-11-04 18:06:12 +0000
committerMamoru Komachi <usata@gentoo.org>2006-11-04 18:06:12 +0000
commitc43bfd4c290b911e10726cdf212a561caebcf90a (patch)
tree952314e95654f847694e2db864db8b3b60dc06f5 /media-libs/vflib/vflib-3.6.14.ebuild
parentstable on amd64 (diff)
downloadhistorical-c43bfd4c290b911e10726cdf212a561caebcf90a.tar.gz
historical-c43bfd4c290b911e10726cdf212a561caebcf90a.tar.bz2
historical-c43bfd4c290b911e10726cdf212a561caebcf90a.zip
Version bumped. Reflected URI change. Fix modular X dependencies (bug #153203). Added a patch to avoid build hang. Removed old ebuild.
Package-Manager: portage-2.1.1
Diffstat (limited to 'media-libs/vflib/vflib-3.6.14.ebuild')
-rw-r--r--media-libs/vflib/vflib-3.6.14.ebuild75
1 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/vflib/vflib-3.6.14.ebuild b/media-libs/vflib/vflib-3.6.14.ebuild
new file mode 100644
index 000000000000..a9161ac970ef
--- /dev/null
+++ b/media-libs/vflib/vflib-3.6.14.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vflib/vflib-3.6.14.ebuild,v 1.1 2006/11/04 18:06:12 usata Exp $
+
+inherit libtool eutils
+
+MY_P="VFlib3-${PV}"
+
+DESCRIPTION="Japanese Vector Font library"
+HOMEPAGE="http://www-masu.ist.osaka-u.ac.jp/~kakugawa/VFlib/"
+SRC_URI="http://www-masu.ist.osaka-u.ac.jp/~kakugawa/download/TypeHack/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="3"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+IUSE=""
+
+RDEPEND="|| (
+ (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ )
+ virtual/x11
+ )
+ =media-libs/freetype-1*
+ media-libs/t1lib"
+DEPEND="${RDEPEND}
+ || (
+ (
+ x11-proto/xproto
+ )
+ virtual/x11
+ )
+ virtual/tetex"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${P}-install-info.diff"
+}
+
+src_compile () {
+ elibtoolize
+ sed -i -e "s:<varargs.h>:<stdarg.h>:" src/vfldisol.c
+ if has_version '>=media-libs/t1lib-5' ; then
+ sed -i -e "s:T1_Get_no_fonts:T1_GetNoFonts:" src/drv_t1.c
+ fi
+
+ econf \
+ --with-kpathsea \
+ --with-kpathsea-include=/usr/include \
+ --with-kpathsea-libdir=/usr/lib \
+ --with-freetype \
+ --with-freetype-includedir=/usr/include/freetype \
+ --with-freetype-libdir=/usr/lib \
+ --with-t1lib \
+ --with-t1lib-includedir=/usr/include \
+ --with-t1lib-libdir=/usr/lib || die
+
+ emake -j1 \
+ CDEBUGFLAGS="${CFLAGS}" \
+ CXXDEBUGFLAGS="${CXXFLAGS}" || die
+}
+
+src_install () {
+ einstall \
+ runtimedir=${D}/usr/share/VFlib/${PV} \
+ runtimesitedir=${D}/usr/share/VFlib/site || die
+
+ dodoc CHANGES COPYING* DISTRIB.txt INSTALL README*
+}