commit: 26ee9a796e897030d195f58efba5e7250a642e29 Author: Marcin Deranek <marcin.deranek <AT> slonko <DOT> net> AuthorDate: Sun Sep 11 12:27:20 2022 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sun Oct 2 19:22:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26ee9a79
media-gfx/iscan: Add missing dependency for tests Signed-off-by: Marcin Deranek <marcin.deranek <AT> slonko.net> Closes: https://bugs.gentoo.org/869491 Closes: https://github.com/gentoo/gentoo/pull/27205 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> media-gfx/iscan/iscan-3.65.0.ebuild | 20 +++++++++++--------- 1 file 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)"
