summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-07-02 14:56:49 +0200
committerSebastian Pipping <sping@gentoo.org>2017-07-02 14:57:31 +0200
commite2c26954742493a1a55217316f093f3dca6addc7 (patch)
treee8ce16ce5869806e1c0fd4d7315d7648a8baf1b3 /app-text/mftrace
parentapp-text/mftrace: Fix SRC_URI (diff)
downloadgentoo-e2c26954742493a1a55217316f093f3dca6addc7.tar.gz
gentoo-e2c26954742493a1a55217316f093f3dca6addc7.tar.bz2
gentoo-e2c26954742493a1a55217316f093f3dca6addc7.zip
app-text/mftrace: 1.2.19
https://github.com/hanwen/mftrace/issues/4 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-text/mftrace')
-rw-r--r--app-text/mftrace/Manifest1
-rw-r--r--app-text/mftrace/mftrace-1.2.19.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-text/mftrace/Manifest b/app-text/mftrace/Manifest
index 8baebf43d2c6..1a5206b7a4c5 100644
--- a/app-text/mftrace/Manifest
+++ b/app-text/mftrace/Manifest
@@ -1 +1,2 @@
DIST mftrace-1.2.18.tar.gz 79112 SHA256 0d31065f1d35919e311d9170bbfcdacc58736e3f783311411ed1277aa09d3261 SHA512 db26a643a92cfcbb150c5f80af65b1ce6030a266023b4433ea760c3601092c42602617f52a49ce467cd3a4804aa6779e72ee38dc557dc03e1e1c86a36dbd54db WHIRLPOOL 32db904ab2962046052416ecab143b3bcc3480ac4baa99d1c68dfb0da8907722f69ab3de68d8e62fb9959094e0b08b764a1e2aca3945737238877f4b0372526d
+DIST mftrace-1.2.19.tar.gz 78907 SHA256 778126f4220aa31fc91fa8baafd26aaf8be9c5e8fed5c0e92a61de04d32bbdb5 SHA512 410739ced17c5e5bb82c286b6b935c9d8d46299f9c04f0ba4c97df9ada5d7e9c778c720fb8a2377eb6df3c629a6e7264836fe7675733cf60197a817477dc49ee WHIRLPOOL d14aaa78202de9c84fc5a9d533705e53fa2bbb9b2271f53d40cc9342c5a96c5a582f6d05014626b6f2cceeaf9f32c8949ccc23aa30604899f1a0864e1fbfcd1c
diff --git a/app-text/mftrace/mftrace-1.2.19.ebuild b/app-text/mftrace/mftrace-1.2.19.ebuild
new file mode 100644
index 000000000000..499626546e9d
--- /dev/null
+++ b/app-text/mftrace/mftrace-1.2.19.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 toolchain-funcs
+
+DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
+HOMEPAGE="http://lilypond.org/mftrace/"
+SRC_URI="http://lilypond.org/downloads/sources/mftrace/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
+# SLOT 1 was used in pktrace ebuild
+SLOT="1"
+IUSE="test truetype"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND=">=app-text/t1utils-1.25
+ || ( media-gfx/potrace >=media-gfx/autotrace-0.30 )
+ truetype? ( media-gfx/fontforge )
+ virtual/latex-base
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ test? ( media-gfx/fontforge )"
+
+src_configure() {
+ tc-export CC
+ econf \
+ --datadir="$(python_get_sitedir)"
+}
+
+src_compile() {
+ emake CFLAGS="-Wall ${CFLAGS}"
+}
+
+src_install () {
+ default
+ python_optimize
+}