Since 2.29, iscan has supported libusb-1.0. Here's the NEWS entry from the tarball: ---------------------------------------------------------------------- iscan-2.29.0 (2012-03-05) ---------------------------------------------------------------------- * not publicly released * changed contact information following change of distribution channel * added build-time support for libusb-1.0 * updated the sanei_*.[ch] files to sane-backends-1.0.22 However, the iscan ebuild still RDEPENDS on virtual/libusb:0. It doesn't look like there's a configure flag analagous to sane-backends' --enable-libusb_1_0, so without patching you probably can't restrict it to libusb:0 if you have libusb:1 installed. I think it's best to just bump the RDEPEND to libusb:1. Reproducible: Always Steps to Reproduce: $ equery depgraph =media-gfx/iscan-2.29.1.5 Actual Results: … * dependency graph for media-gfx/iscan-2.29.1.5 `-- media-gfx/iscan-2.29.1.5 [~amd64 keyword] … `-- virtual/libusb-0-r1 (virtual/libusb) amd64 … Expected Results: Expect it to pull in virtual/libusb:1. $ tar xvf /usr/portage/distfiles/iscan_2.29.1-5.tar.gz $ cd iscan-2.29.1 $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-static --enable-dependency-reduction --enable-frontend --disable-gimp --enable-jpeg --enable-png --enable-tiff $ grep LIBUSB config.h /* #undef HAVE_LIBUSB */ #define HAVE_LIBUSB_1_0 1
Resolved in the version bump in bug 498524.