diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/openobex | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-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/openobex')
3 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-support/openobex/files/disable-cable-test.patch b/meta/recipes-support/openobex/files/disable-cable-test.patch new file mode 100644 index 0000000000..95b636dd8f --- /dev/null +++ b/meta/recipes-support/openobex/files/disable-cable-test.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- openobex-1.2/apps/Makefile.am~disable-cable-test | ||
7 | +++ openobex-1.2/apps/Makefile.am | ||
8 | @@ -6,7 +6,7 @@ | ||
9 | obex_io.c obex_io.h \ | ||
10 | obex_put_common.c obex_put_common.h | ||
11 | |||
12 | -bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test | ||
13 | +bin_PROGRAMS = irxfer obex_tcp irobex_palm3 | ||
14 | |||
15 | obex_test_SOURCES = \ | ||
16 | obex_test.c obex_test.h \ | ||
diff --git a/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch new file mode 100644 index 0000000000..20ac70bd1e --- /dev/null +++ b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: openobex-1.5/acinclude.m4 | ||
2 | =================================================================== | ||
3 | --- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000 | ||
4 | +++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100 | ||
5 | @@ -158,7 +158,7 @@ | ||
6 | ;; | ||
7 | *) | ||
8 | PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no)) | ||
9 | - AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb") | ||
10 | + REQUIRES="libusb" | ||
11 | ;; | ||
12 | esac | ||
13 | AC_SUBST(USB_CFLAGS) | ||
diff --git a/meta/recipes-support/openobex/openobex_1.5.bb b/meta/recipes-support/openobex/openobex_1.5.bb new file mode 100644 index 0000000000..dc07ae1353 --- /dev/null +++ b/meta/recipes-support/openobex/openobex_1.5.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "The Openobex project is an open source implementation of the \ | ||
2 | Object Exchange (OBEX) protocol." | ||
3 | HOMEPAGE = "http://openobex.triq.net" | ||
4 | SECTION = "libs" | ||
5 | PROVIDES = "openobex-apps" | ||
6 | DEPENDS = "libusb bluez4" | ||
7 | LICENSE = "GPL" | ||
8 | PR = "r4" | ||
9 | |||
10 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/bluetooth/openobex-${PV}.tar.gz \ | ||
11 | file://disable-cable-test.patch;patch=1 \ | ||
12 | file://libusb_crosscompile_check.patch;patch=1" | ||
13 | |||
14 | inherit autotools binconfig pkgconfig | ||
15 | |||
16 | EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \ | ||
17 | --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.." | ||
18 | |||
19 | # how to stop shlibrename from renaming -apps? | ||
20 | PACKAGES += "openobex-apps" | ||
21 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
22 | FILES_${PN}-dev += "${bindir}/openobex-config" | ||
23 | FILES_${PN}-apps = "${bindir}/*" | ||