From 63d56523555b000a4b52027b68d0e7f33bf6a2ec Mon Sep 17 00:00:00 2001 From: Qing He Date: Fri, 16 Jul 2010 12:48:08 +0800 Subject: libusb-compat: upgrade to version 0.1.3 from 0.0.9, also remove libusb recipe (see below) changes: - remove some unnecessary logics derived from libusb-0.1 - now PROVIDES libusb - bluez4 depends on libusb instead of libusb-compat libusb-0.1 vs. libusb-compat libusb-compat is intended to be a drop-in replacement of libusb-0.1, building on top of libusb-1.0 (which has different API from -0.1). Few known packages don't work with libusb-compat, notable example is libmtp. Since most packages work very well with libusb-compat, and libusb-compat doesn't suffer from power consumption issue of libusb-0.1 (which is often very important for embedded systems), drop libusb-0.1 and move to libusb-compat completely. If we see any problems in the future, either the package should be fixed or we can add back libusb-0.1 as needed. Signed-off-by: Qing He --- meta/packages/libusb/libusb-compat_0.1.3.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/packages/libusb/libusb-compat_0.1.3.bb (limited to 'meta/packages/libusb/libusb-compat_0.1.3.bb') diff --git a/meta/packages/libusb/libusb-compat_0.1.3.bb b/meta/packages/libusb/libusb-compat_0.1.3.bb new file mode 100644 index 000000000..e8d6338e5 --- /dev/null +++ b/meta/packages/libusb/libusb-compat_0.1.3.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \ +that aims to look, feel and behave exactly like libusb-0.1" +HOMEPAGE = "http://www.libusb.org/" +BUGTRACKER = "http://www.libusb.org/report" +SECTION = "libs" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423" +DEPENDS = "libusb1" + +# Few packages are known not to work with libusb-compat (e.g. libmtp-1.0.0), +# so here libusb-0.1 is removed completely instead of adding virtual/libusb0. +# Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power +# consumption. +PROVIDES = "libusb" + +PE = "1" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ + file://0.1.0-beta1-gcc3.4-fix.patch" + +inherit autotools pkgconfig binconfig -- cgit v1.2.3