mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Index: libusb-compat-0.1.0-beta1/configure.ac
|
||||
===================================================================
|
||||
--- libusb-compat-0.1.0-beta1.orig/configure.ac 2008-07-21 13:14:42.000000000 +0200
|
||||
+++ libusb-compat-0.1.0-beta1/configure.ac 2008-07-21 13:15:03.000000000 +0200
|
||||
@@ -55,7 +55,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.pc] [libusb-config] [Makefile] [libusb/Makefile] [examples/Makefile])
|
||||
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \
|
||||
that aims to look, feel and behave exactly like libusb-0.1"
|
||||
HOMEPAGE = "http://www.libusb.org/"
|
||||
BUGTRACKER = "http://www.libusb.org/report"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPLv2.1+"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423"
|
||||
DEPENDS = "libusb1"
|
||||
|
||||
# Few packages are known not to work with libusb-compat (e.g. libmtp-1.0.0),
|
||||
# so here libusb-0.1 is removed completely instead of adding virtual/libusb0.
|
||||
# Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power
|
||||
# consumption.
|
||||
PROVIDES = "libusb"
|
||||
|
||||
PE = "1"
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
|
||||
file://0.1.0-beta1-gcc3.4-fix.patch"
|
||||
|
||||
inherit autotools pkgconfig binconfig
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user