libftdi: update to 1.1
PATCH v2 1/1 libftdi: update to 1.1
Previous version was 0.19 but it had a failing recipe due to the fact that libusb was not detect during do_configure. This problem does not happen in version 1.1.
Signed-off-by Mario Goulart <[email protected]>
Signed-off-by Raphael Silva <[email protected]>
---
.../libftdi/{libftdi_0.19.bb => libftdi_1.1.bb} | 28 ++++++++++------------
1 file changed, 13 insertions(+), 15 deletions(-)
rename meta-oe/recipes-support/libftdi/{libftdi_0.19.bb => libftdi_1.1.bb} (29%)meta-oe/recipes-support/libftdi/libftdi_1.1.bb renamed from meta-oe/recipes-support/libftdi/libftdi_0.19.bb +13 -15
@@ -4,28 +4,26 @@ including the popular bitbang mode." HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/" SECTION = "libs" -PR = "r1" - LICENSE = "LGPLv2.1 GPLv2" -LIC_FILES_CHKSUM= "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ - file://COPYING.LIB;md5=db979804f025cf55aabec7129cb671ed \ +LIC_FILES_CHKSUM= "\ + file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LIB;md5=db979804f025cf55aabec7129cb671ed \ " -PNBLACKLIST[libftdi] = "BROKEN: needs to be updated to detect libusb with pkg-config instead of libusb-config" +DEPENDS = "libusb1" -DEPENDS = "virtual/libusb0" -DEPENDS_virtclass-native = "virtual/libusb0-native" +SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2" -SRC_URI = "http://www.intra2net.com/en/developer/libftdi/download/libftdi-${PV}.tar.gz \ - file://libtool-m4.patch \ -" -SRC_URI[md5sum] = "e6e25f33b4327b1b7aa1156947da45f3" -SRC_URI[sha256sum] = "567c9d2c42d92fc401c5aba2deed45ffb2433990984e816bcdf31e441aef06be" +SRC_URI[md5sum] = "b79a6356978aa8e69f8eecc3a720ff79" +SRC_URI[sha256sum] = "c0b1af1a13e2c6682a1d8041e5b164a1e0d90267cd378bb51e059bd62f821e21" + +S = "${WORKDIR}/${BPN}1-${PV}" PACKAGECONFIG ??= "" -PACKAGECONFIG[cpp-wrapper] = "--enable-libftdipp,--disable-libftdipp,boost" +PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on,-DFTDI_BUILD_CPP=off,boost" -inherit autotools binconfig pkgconfig +inherit cmake binconfig pkgconfig -BBCLASSEXTEND = "native" +FILES_${PN}-dev += "${libdir}/cmake" +BBCLASSEXTEND = "native"
Signature · 1 line
2.2.0
Quoted 6 lines · Raphael Silva
Previous version was 0.19 but it had a failing recipe due to the fact that libusb was not detect during
do_configure. This problem does not happen in version 1.1.Signed-off-by Mario Goulart <[email protected]>Signed-off-by Raphael Silva <[email protected]>
Acked-by Otavio Salvador <[email protected]>
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750