Skip to contentSkip to conversation

hidapi: new recipe

PATCH Superseded Jonathan Liu 2 participants 3 messages Jul 1, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hidapi: new recipe

---
 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
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +15 -0
new file mode 100644
index 0000000..1f5e9fd
@@ -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}"
+
+SRCREV = "d17db57b9d4354752e0af42f5f33007a42ef2906"
+SRC_URI = "git://github.com/signal11/hidapi.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
Signature · 1 line
2.4.4
#1 lore raw
Quoted 13 lines · Jonathan Liu
---
 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
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +1 -0
new file mode 100644
index 0000000..1f5e9fd
@@ -0,0 +1,15 @@
+SUMMARY = "Multi-platform library to interface with USB and Bluetooth HID-Class devices"

meta-oe/recipes-support/hidapi/hidapi_git.bb line 11

Quoted 10 lines
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +10 -0
+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}"
+
+SRCREV = "d17db57b9d4354752e0af42f5f33007a42ef2906"
+SRC_URI = "git://github.com/signal11/hidapi.git;protocol=git"

protocol=git is default, you can drop it.

Quoted 12 lines
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +4 -0
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
Signature · 7 lines
2.4.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
In reply to Jonathan Liu
Quoted 12 lines · Jonathan Liu
---
 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
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +0 -0
new file mode 100644
index 0000000..1f5e9fd

meta-oe/recipes-support/hidapi/hidapi_git.bb line 8

Quoted 8 lines
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +8 -0
@@ -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".

Quoted 15 lines
meta-oe/recipes-support/hidapi/hidapi_git.bb new file +7 -0
+
+SRCREV = "d17db57b9d4354752e0af42f5f33007a42ef2906"
+SRC_URI = "git://github.com/signal11/hidapi.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
Signature · 7 lines
2.4.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]