1 |
commit: d87458a9863130f047b27e593fd7e611dcf05303 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 15:21:13 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 7 20:31:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87458a9 |
7 |
|
8 |
media-gfx/zbar: Use virtualx to fix running tests |
9 |
|
10 |
media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild | 6 +++++- |
11 |
1 file changed, 5 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild |
14 |
index 48f2b35f178..f5177673bfb 100644 |
15 |
--- a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild |
16 |
+++ b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild |
17 |
@@ -5,7 +5,7 @@ EAPI=6 |
18 |
|
19 |
PYTHON_COMPAT=( python2_7 ) |
20 |
|
21 |
-inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 |
22 |
+inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 virtualx |
23 |
|
24 |
DESCRIPTION="Library and tools for reading barcodes from images or video" |
25 |
HOMEPAGE="http://zbar.sourceforge.net/" |
26 |
@@ -93,6 +93,10 @@ src_configure() { |
27 |
$(use_enable v4l video) |
28 |
} |
29 |
|
30 |
+src_test() { |
31 |
+ virtx default |
32 |
+} |
33 |
+ |
34 |
src_install() { |
35 |
emake DESTDIR="${D}" install |
36 |
dodoc HACKING NEWS README TODO |