summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2022-09-11 14:27:20 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-10-02 21:22:22 +0200
commit26ee9a796e897030d195f58efba5e7250a642e29 (patch)
tree58f6f7e0b9589ebaf3ccdf671a4fb68cd51b8394 /media-gfx/iscan
parentdev-python/pytest-localserver: Stabilize 0.7.0 ALLARCHES, #874186 (diff)
downloadgentoo-26ee9a796e897030d195f58efba5e7250a642e29.tar.gz
gentoo-26ee9a796e897030d195f58efba5e7250a642e29.tar.bz2
gentoo-26ee9a796e897030d195f58efba5e7250a642e29.zip
media-gfx/iscan: Add missing dependency for tests
Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Closes: https://bugs.gentoo.org/869491 Closes: https://github.com/gentoo/gentoo/pull/27205 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'media-gfx/iscan')
-rw-r--r--media-gfx/iscan/iscan-3.65.0.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/media-gfx/iscan/iscan-3.65.0.ebuild b/media-gfx/iscan/iscan-3.65.0.ebuild
index e5b00fcd6f87..b47d4d45f4ae 100644
--- a/media-gfx/iscan/iscan-3.65.0.ebuild
+++ b/media-gfx/iscan/iscan-3.65.0.ebuild
@@ -14,7 +14,16 @@ SLOT="0"
IUSE="graphicsmagick gui test"
KEYWORDS="~amd64 ~x86"
-BDEPEND="virtual/pkgconfig"
+# Disable opencl as during reorient.utr test it produces inconsistent results
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ app-text/tesseract[png,tiff,training,-opencl]
+ dev-util/uncrustify
+ media-fonts/dejavu
+ virtual/imagemagick-tools[png,tiff]
+ )
+"
RDEPEND="
dev-libs/boost:=
media-gfx/sane-backends
@@ -25,14 +34,7 @@ RDEPEND="
!graphicsmagick? ( media-gfx/imagemagick:=[cxx] )
gui? ( dev-cpp/gtkmm:2.4 )
"
-# Disable opencl as during reorient.utr test it produces inconsistent results
-DEPEND="${RDEPEND}
- test? (
- app-text/tesseract[png,tiff,training,-opencl]
- media-fonts/dejavu
- virtual/imagemagick-tools[png,tiff]
- )
-"
+DEPEND="${RDEPEND}"
RESTRICT="!test? ( test )"
S="${WORKDIR}/utsushi-0.$(ver_cut 2-3)"