summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-07-15 13:07:55 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-23 23:53:29 +0100
commit74388f763a9213d826652f647a46b8a6be45496f (patch)
tree966fd769c6ee0ba4db4009cb09d5a1f10540c576 /meta
parent6b1dae9a035f786e7b856ebd661cd8ccc7e4b686 (diff)
downloadpoky-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.patch13
-rw-r--r--meta/packages/libusb/libusb1_0.9.2.bb26
-rw-r--r--meta/packages/libusb/libusb1_1.0.8.bb14
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 @@
1Index: 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 @@
1DESCRIPTION = "libusb is a library to provide userspace \
2access to USB devices."
3HOMEPAGE = "http://libusb.sf.net"
4SECTION = "libs"
5LICENSE = "LGPL"
6
7PR = "r0"
8
9SRC_URI = "\
10 ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
11 file://0.9.0-gcc3.4-compat-fix.patch;patch=1 \
12"
13S = "${WORKDIR}/libusb-${PV}"
14
15inherit autotools pkgconfig binconfig lib_package
16
17PARALLEL_MAKE = ""
18EXTRA_OECONF = "--disable-build-docs"
19
20export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
21
22LIBTOOL = "${HOST_SYS}-libtool"
23EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
24
25PACKAGES =+ "libusbpp"
26FILES_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 @@
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