summaryrefslogtreecommitdiff
path: root/meta/packages/libusb
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/packages/libusb
parent6b1dae9a035f786e7b856ebd661cd8ccc7e4b686 (diff)
downloadopenembedded-core-74388f763a9213d826652f647a46b8a6be45496f.tar.gz
openembedded-core-74388f763a9213d826652f647a46b8a6be45496f.tar.bz2
openembedded-core-74388f763a9213d826652f647a46b8a6be45496f.zip
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/packages/libusb')
-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 @@
-Index: libusb-0.9.0/configure.ac
-===================================================================
---- libusb-0.9.0.orig/configure.ac 2008-07-21 08:04:03.000000000 +0200
-+++ libusb-0.9.0/configure.ac 2008-07-21 08:04:16.000000000 +0200
-@@ -62,7 +62,7 @@
- CFLAGS="$saved_cflags"
-
- AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
--AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
-+AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow"
- AC_SUBST(AM_CFLAGS)
-
- 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 @@
-DESCRIPTION = "libusb is a library to provide userspace \
-access to USB devices."
-HOMEPAGE = "http://libusb.sf.net"
-SECTION = "libs"
-LICENSE = "LGPL"
-
-PR = "r0"
-
-SRC_URI = "\
- ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
- file://0.9.0-gcc3.4-compat-fix.patch;patch=1 \
-"
-S = "${WORKDIR}/libusb-${PV}"
-
-inherit autotools pkgconfig binconfig lib_package
-
-PARALLEL_MAKE = ""
-EXTRA_OECONF = "--disable-build-docs"
-
-export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
-
-LIBTOOL = "${HOST_SYS}-libtool"
-EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
-
-PACKAGES =+ "libusbpp"
-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 @@
+DESCRIPTION = "userspace library to access USB (version 1.0)"
+HOMEPAGE = "http://libusb.sf.net"
+BUGTRACKER = "http://www.libusb.org/report"
+SECTION = "libs"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
+S = "${WORKDIR}/libusb-${PV}"
+
+inherit autotools pkgconfig