diff options
author | Qing He <qing.he@intel.com> | 2010-07-15 13:07:55 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 23:53:29 +0100 |
commit | 74388f763a9213d826652f647a46b8a6be45496f (patch) | |
tree | 966fd769c6ee0ba4db4009cb09d5a1f10540c576 /meta | |
parent | 6b1dae9a035f786e7b856ebd661cd8ccc7e4b686 (diff) | |
download | poky-74388f763a9213d826652f647a46b8a6be45496f.tar.gz |
libusb1: upgrade to version 1.0.8
from 0.9.2
changes:
- the previous recipe was derived from libusb-0.1 and thus had many
inconsistencies, e.g. binconfig and lib_packages are not necessary,
libusb1 doesn't provide libusb++, etc. Remove these legacies
- remove the patch 0.9.0-gcc3.4-compat-fix
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch | 13 | ||||
-rw-r--r-- | meta/packages/libusb/libusb1_0.9.2.bb | 26 | ||||
-rw-r--r-- | meta/packages/libusb/libusb1_1.0.8.bb | 14 |
3 files changed, 14 insertions, 39 deletions
diff --git a/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch b/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch deleted file mode 100644 index 1b06945d1a..0000000000 --- a/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: libusb-0.9.0/configure.ac | ||
2 | =================================================================== | ||
3 | --- libusb-0.9.0.orig/configure.ac 2008-07-21 08:04:03.000000000 +0200 | ||
4 | +++ libusb-0.9.0/configure.ac 2008-07-21 08:04:16.000000000 +0200 | ||
5 | @@ -62,7 +62,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-1.0.pc] [Makefile] [libusb/Makefile] [examples/Makefile] [doc/Makefile]) | ||
diff --git a/meta/packages/libusb/libusb1_0.9.2.bb b/meta/packages/libusb/libusb1_0.9.2.bb deleted file mode 100644 index 5f51de6e67..0000000000 --- a/meta/packages/libusb/libusb1_0.9.2.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | DESCRIPTION = "libusb is a library to provide userspace \ | ||
2 | access to USB devices." | ||
3 | HOMEPAGE = "http://libusb.sf.net" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPL" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "\ | ||
10 | ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ | ||
11 | file://0.9.0-gcc3.4-compat-fix.patch;patch=1 \ | ||
12 | " | ||
13 | S = "${WORKDIR}/libusb-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig binconfig lib_package | ||
16 | |||
17 | PARALLEL_MAKE = "" | ||
18 | EXTRA_OECONF = "--disable-build-docs" | ||
19 | |||
20 | export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}" | ||
21 | |||
22 | LIBTOOL = "${HOST_SYS}-libtool" | ||
23 | EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" | ||
24 | |||
25 | PACKAGES =+ "libusbpp" | ||
26 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" | ||
diff --git a/meta/packages/libusb/libusb1_1.0.8.bb b/meta/packages/libusb/libusb1_1.0.8.bb new file mode 100644 index 0000000000..26a535ab4e --- /dev/null +++ b/meta/packages/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 | ||