summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-03-24 15:09:32 -0400
committerMike Gilbert <floppym@gentoo.org>2019-03-24 15:09:32 -0400
commit9025a40e513081849a21fb651536a28706901745 (patch)
treed78b9f5aac695702578345d39f800091933500e8
parentmedia-gfx/hugin: version bump (diff)
downloadgentoo-9025a40e513081849a21fb651536a28706901745.tar.gz
gentoo-9025a40e513081849a21fb651536a28706901745.tar.bz2
gentoo-9025a40e513081849a21fb651536a28706901745.zip
media-gfx/fontforge: use virtx to work around testing bug
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>
-rw-r--r--media-gfx/fontforge/fontforge-20190317.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-gfx/fontforge/fontforge-20190317.ebuild b/media-gfx/fontforge/fontforge-20190317.ebuild
index ab6e6757668..3e2be07fecd 100644
--- a/media-gfx/fontforge/fontforge-20190317.ebuild
+++ b/media-gfx/fontforge/fontforge-20190317.ebuild
@@ -4,8 +4,9 @@
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/"
@@ -56,6 +57,7 @@ DEPEND="${RDEPEND}
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
+ test? ( gtk? ( ${VIRTUALX_DEPEND} ) )
"
# Needs keywording on many arches.
@@ -106,6 +108,14 @@ src_compile() {
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