libiio: update and improve recipe
PATCH 1/1 libiio: update and improve recipe
* Update to latest version 0.14.
* Make depends on avahi, libusb1 and libxml2 optional by PACKAGECONFIG or DISTRO flags.
* Install iiod.service file
--- meta-oe/recipes-support/libiio/libiio_git.bb | 32 ++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-)
meta-oe/recipes-support/libiio/libiio_git.bb +26 -6
@@ -4,21 +4,41 @@ SECTION = "libs" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c" -SRCREV = "08f947d5e40600259bb698c3b95538e9f2bfecc2" -PV = "0.8+git${SRCPV}" +SRCREV = "fa82974d8bd1fded78e630ab71a7ded1b11d0e33" +PV = "0.14+git${SRCPV}" -SRC_URI = "git://github.com/analogdevicesinc/libiio.git" +SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https" S = "${WORKDIR}/git" -DEPENDS = "flex-native bison-native avahi libaio libusb1 libxml2" +inherit cmake pythonnative systemd -inherit cmake pythonnative +DEPENDS = " \ + flex-native bison-native libaio \ + ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ +" + +EXTRA_OECMAKE = " \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ +" + +PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND" + +PACKAGECONFIG[USB_BACKEND] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2" +PACKAGECONFIG[NETWORK_BACKEND] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2" PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python" RDEPENDS_${PN}-python = "${PN} python-ctypes python-stringold" -FILES_${PN}-iiod = "${sbindir}/iiod" +FILES_${PN}-iiod = " \ + ${sbindir}/iiod \ + ${systemd_system_unitdir}/iiod.service \ +" FILES_${PN}-tests = "${bindir}" FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" + +SYSTEMD_PACKAGES = "${PN}-iiod" +SYSTEMD_SERVICE_${PN}-iiod = "iiod.service"
Signature · 1 line
2.14.3
✗ patchtest: failure for libiio: update and improve recipe
== Series Details ==
Series: libiio: update and improve recipe
Revision: 1
URL : https://patchwork.openembedded.org/series/11301/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Patch [meta-oe] libiio: update and improve recipe Issue Series sent to the wrong mailing list [test_target_mailing_list] Suggested fix Check the project's README (meta-oe) and send the patch to the indicated list
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at b8ddb0c8d7)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe