app-text/mftrace: 1.2.19
authorSebastian Pipping <sping@gentoo.org>
Sun, 2 Jul 2017 12:56:49 +0000 (14:56 +0200)
committerSebastian Pipping <sping@gentoo.org>
Sun, 2 Jul 2017 12:57:31 +0000 (14:57 +0200)
https://github.com/hanwen/mftrace/issues/4

Package-Manager: Portage-2.3.6, Repoman-2.3.2

app-text/mftrace/Manifest
app-text/mftrace/mftrace-1.2.19.ebuild [new file with mode: 0644]

index 8baebf43d2c6603cdcc8518dba8391ba5b470d51..1a5206b7a4c5d508181a78f14b952d80d4f7557d 100644 (file)
@@ -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 (file)
index 0000000..4996265
--- /dev/null
@@ -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
+}