Bug: https://bugs.gentoo.org/681650
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+VIRTUALX_REQUIRED="manual"
-inherit python-single-r1 xdg
+inherit python-single-r1 virtualx xdg
DESCRIPTION="postscript font editor and converter"
HOMEPAGE="http://fontforge.github.io/"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
+ test? ( gtk? ( ${VIRTUALX_DEPEND} ) )
"
# Needs keywording on many arches.
emake
}
+src_test() {
+ if use gtk; then
+ virtx emake check
+ else
+ emake check
+ fi
+}
+
src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die