1 DESCRIPTION = "libusb is a library to provide userspace access to USB \
2 devices. This version is a metapackage that pulls in libusb-compat, \
3 the replacement for libusb."
5 # This version of libusb will never be pulled in automagically. The
6 # intention is that a distro wishing to use libusb1 and libusb-compat
7 # will place the following in the appropriate conf file:
9 # PREFERRED_VERSION_libusb = "0.0.0"
11 # This essentially results in the replacement of libusb by libusb-compat,
12 # and resolves the issues of some packages depending on libusb, while
13 # other (newer) ones depend on libusb-compat.
15 # Note that using this version of libusb will break certain packages
16 # that cannot work with libusb-compat (gnuradio is said to be such a
17 # packages, as is dfu-util). Unfortunately other packages (such as bluez)
18 # require libusb-compat -- there's no good solution for this conflict
19 # at this time. The fundamental problem is that both libusb and
20 # libusb-compat stage to the same libs (/usr/lib/libusb.a, for example),
21 # so if you have built both, the last one staged wins.
23 # This "hack" seems to be the most flexible and least intrusive workaround.
25 DEFAULT_PREFERENCE = "-1"
27 DEPENDS = "libusb-compat"