1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit python-single-r1 toolchain-funcs
10 DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
11 HOMEPAGE="http://lilypond.org/mftrace/"
12 SRC_URI="http://lilypond.org/downloads/sources/mftrace/${P}.tar.gz"
15 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
16 # SLOT 1 was used in pktrace ebuild
19 RESTRICT="!test? ( test )"
20 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 RDEPEND=">=app-text/t1utils-1.25
24 truetype? ( media-gfx/fontforge )
28 test? ( media-gfx/fontforge )"
33 --datadir="$(python_get_sitedir)"
37 emake CFLAGS="-Wall ${CFLAGS}"