You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
594 B
34 lines
594 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DIST_AUTHOR=GAAS
|
|
DIST_VERSION=1.20
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Parse Adobe Font Metric files"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ia64 ppc sparc x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
BDEPEND="
|
|
test? (
|
|
media-fonts/urw-fonts
|
|
)
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-1.20-custom-test-font.patch"
|
|
)
|
|
|
|
src_test() {
|
|
# nimbus sans l medium r normal iso8859-1
|
|
TEST_FONT="n019003l" \
|
|
TEST_FONT_WIDTH="4279" \
|
|
METRICS="${EPREFIX}/usr/share/fonts/urw-fonts" \
|
|
perl-module_src_test
|
|
}
|