From: Michał Górny Date: Sun, 27 Aug 2017 15:21:13 +0000 (+0200) Subject: media-gfx/zbar: Use virtualx to fix running tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d87458a9863130f047b27e593fd7e611dcf05303;p=gentoo.git media-gfx/zbar: Use virtualx to fix running tests --- diff --git a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild index 48f2b35f178c..f5177673bfb8 100644 --- a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild +++ b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 +inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 virtualx DESCRIPTION="Library and tools for reading barcodes from images or video" HOMEPAGE="http://zbar.sourceforge.net/" @@ -93,6 +93,10 @@ src_configure() { $(use_enable v4l video) } +src_test() { + virtx default +} + src_install() { emake DESTDIR="${D}" install dodoc HACKING NEWS README TODO