summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libusb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/libusb
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch13
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.3.bb23
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.8.bb14
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 @@
1Index: 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 @@
1DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \
2that aims to look, feel and behave exactly like libusb-0.1"
3HOMEPAGE = "http://www.libusb.org/"
4BUGTRACKER = "http://www.libusb.org/report"
5SECTION = "libs"
6
7LICENSE = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423"
9DEPENDS = "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.
15PROVIDES = "libusb"
16
17PE = "1"
18PR = "r0"
19
20SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
21 file://0.1.0-beta1-gcc3.4-fix.patch"
22
23inherit 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 @@
1DESCRIPTION = "userspace library to access USB (version 1.0)"
2HOMEPAGE = "http://libusb.sf.net"
3BUGTRACKER = "http://www.libusb.org/report"
4SECTION = "libs"
5
6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
8
9PR = "r0"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
12S = "${WORKDIR}/libusb-${PV}"
13
14inherit autotools pkgconfig