diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-08-27 17:21:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-09-07 22:31:35 +0200 |
commit | d87458a9863130f047b27e593fd7e611dcf05303 (patch) | |
tree | 7fb7141f782c51e4e28821be1ea59bc6d7132cc0 /media-gfx | |
parent | media-gfx/zbar: Tests need Python too (diff) | |
download | gentoo-d87458a9863130f047b27e593fd7e611dcf05303.tar.gz gentoo-d87458a9863130f047b27e593fd7e611dcf05303.tar.bz2 gentoo-d87458a9863130f047b27e593fd7e611dcf05303.zip |
media-gfx/zbar: Use virtualx to fix running tests
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 |