diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-05-26 19:40:42 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-05-26 19:40:42 +0000 |
commit | 7340b434f92521579bc52fff14d03c59018507ef (patch) | |
tree | 7e0f37e760d0b6eb25ea5ccc357f77b658d70b86 /app-text | |
parent | marked x86 per bug 412317 (diff) | |
download | gentoo-2-7340b434f92521579bc52fff14d03c59018507ef.tar.gz gentoo-2-7340b434f92521579bc52fff14d03c59018507ef.tar.bz2 gentoo-2-7340b434f92521579bc52fff14d03c59018507ef.zip |
initial import, ebuild by me, a freetype2 based ttf2pk, so that we can drop freetype:1, yay
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/ttf2pk2/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/ttf2pk2/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/ttf2pk2/ttf2pk2-1.5_p20120525.ebuild | 40 |
3 files changed, 56 insertions, 0 deletions
diff --git a/app-text/ttf2pk2/ChangeLog b/app-text/ttf2pk2/ChangeLog new file mode 100644 index 000000000000..bbb9d8efbd91 --- /dev/null +++ b/app-text/ttf2pk2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-text/ttf2pk2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pk2/ChangeLog,v 1.1 2012/05/26 19:40:42 aballier Exp $ + +*ttf2pk2-1.5_p20120525 (26 May 2012) + + 26 May 2012; Alexis Ballier <aballier@gentoo.org> + +ttf2pk2-1.5_p20120525.ebuild, +metadata.xml: + initial import, ebuild by me, a freetype2 based ttf2pk, so that we can drop + freetype:1, yay + diff --git a/app-text/ttf2pk2/metadata.xml b/app-text/ttf2pk2/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/app-text/ttf2pk2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> diff --git a/app-text/ttf2pk2/ttf2pk2-1.5_p20120525.ebuild b/app-text/ttf2pk2/ttf2pk2-1.5_p20120525.ebuild new file mode 100644 index 000000000000..5c0017c0c0d4 --- /dev/null +++ b/app-text/ttf2pk2/ttf2pk2-1.5_p20120525.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pk2/ttf2pk2-1.5_p20120525.ebuild,v 1.1 2012/05/26 19:40:42 aballier Exp $ + +EAPI=4 + +DESCRIPTION="Freetype 2 based TrueType font to TeX's PK format converter" +HOMEPAGE="http://tug.org/texlive/" +SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# Note about blockers: it is a freetype2 based replacement for ttf2pk and +# ttf2tfm from freetype1, so block freetype1. +# It installs some data that collides with +# dev-texlive/texlive-langcjk-2011[source]. Hope it'd be fixed with 2012, +# meanwhile we can start dropping freetype1. +RDEPEND=">=dev-libs/kpathsea-6.0.1_p20110627 + media-libs/freetype:2 + sys-libs/zlib + !media-libs/freetype:1 + !=dev-texlive/texlive-langcjk-2011*[source]" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} + +src_configure() { + econf --with-system-kpathsea \ + --with-system-freetype2 \ + --with-system-zlib +} + +src_install() { + emake DESTDIR="${D}" install + dodoc BUGS README TODO ChangeLog +} |