diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/libusb | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/libusb')
3 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch b/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch new file mode 100644 index 0000000000..501ba3fb29 --- /dev/null +++ b/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: libusb-compat-0.1.0-beta1/configure.ac | ||
2 | =================================================================== | ||
3 | --- libusb-compat-0.1.0-beta1.orig/configure.ac 2008-07-21 13:14:42.000000000 +0200 | ||
4 | +++ libusb-compat-0.1.0-beta1/configure.ac 2008-07-21 13:15:03.000000000 +0200 | ||
5 | @@ -55,7 +55,7 @@ | ||
6 | CFLAGS="$saved_cflags" | ||
7 | |||
8 | AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) | ||
9 | -AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" | ||
10 | +AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow" | ||
11 | AC_SUBST(AM_CFLAGS) | ||
12 | |||
13 | AC_CONFIG_FILES([libusb.pc] [libusb-config] [Makefile] [libusb/Makefile] [examples/Makefile]) | ||
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb new file mode 100644 index 0000000000..e8d6338e57 --- /dev/null +++ b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \ | ||
2 | that aims to look, feel and behave exactly like libusb-0.1" | ||
3 | HOMEPAGE = "http://www.libusb.org/" | ||
4 | BUGTRACKER = "http://www.libusb.org/report" | ||
5 | SECTION = "libs" | ||
6 | |||
7 | LICENSE = "LGPLv2.1+" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423" | ||
9 | DEPENDS = "libusb1" | ||
10 | |||
11 | # Few packages are known not to work with libusb-compat (e.g. libmtp-1.0.0), | ||
12 | # so here libusb-0.1 is removed completely instead of adding virtual/libusb0. | ||
13 | # Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power | ||
14 | # consumption. | ||
15 | PROVIDES = "libusb" | ||
16 | |||
17 | PE = "1" | ||
18 | PR = "r0" | ||
19 | |||
20 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ | ||
21 | file://0.1.0-beta1-gcc3.4-fix.patch" | ||
22 | |||
23 | inherit autotools pkgconfig binconfig | ||
diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb new file mode 100644 index 0000000000..26a535ab4e --- /dev/null +++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "userspace library to access USB (version 1.0)" | ||
2 | HOMEPAGE = "http://libusb.sf.net" | ||
3 | BUGTRACKER = "http://www.libusb.org/report" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "LGPLv2.1+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" | ||
12 | S = "${WORKDIR}/libusb-${PV}" | ||
13 | |||
14 | inherit autotools pkgconfig | ||