[oe] [meta-oe][PATCH] hidapi: new recipe

Martin Jansa martin.jansa at gmail.com
Wed Jul 1 13:14:09 UTC 2015


On Wed, Jul 01, 2015 at 04:30:36PM +1000, Jonathan Liu wrote:
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
>  meta-oe/recipes-support/hidapi/hidapi_git.bb | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-oe/recipes-support/hidapi/hidapi_git.bb
> 
> diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb b/meta-oe/recipes-support/hidapi/hidapi_git.bb
> new file mode 100644
> index 0000000..1f5e9fd
> --- /dev/null
> +++ b/meta-oe/recipes-support/hidapi/hidapi_git.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "Multi-platform library to interface with USB and Bluetooth HID-Class devices"
> +AUTHOR = "Alan Ott"
> +HOMEPAGE = "http://www.signal11.us/oss/hidapi/"
> +SECTION = "libs"
> +LICENSE = "BSD-3-Clause | GPLv3"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077"
> +DEPENDS = "libusb udev"
> +PV = "0.8.0-rc1+git${SRCPV}"

This PV will sort higher than the final 0.8.0 release, at least with
opkg, please use "0.7.99+0.8.0-rc1+gitr${SRCPV}" trick.

Also I'm not sure about using +git or +gitr, most layers except oe-core
are using "+gitr", oe-core is the only one propagating "+git".

> +
> +SRCREV = "d17db57b9d4354752e0af42f5f33007a42ef2906"
> +SRC_URI = "git://github.com/signal11/hidapi.git;protocol=git"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> -- 
> 2.4.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150701/97e4e461/attachment-0002.sig>


More information about the Openembedded-devel mailing list