Re: [meta-oe][PATCH] libftdi: update to 1.5


Jose Quaresma
 

Hi Matthias,

Matthias Klein <matthias@...> escreveu no dia terça, 9/08/2022 à(s) 12:01:
Signed-off-by: Matthias Klein <matthias@...>
---
 .../libftdi/{libftdi_1.4.bb => libftdi_1.5.bb}             | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/libftdi/{libftdi_1.4.bb => libftdi_1.5.bb} (79%)

diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
similarity index 79%
rename from meta-oe/recipes-support/libftdi/libftdi_1.4.bb
rename to meta-oe/recipes-support/libftdi/libftdi_1.5.bb
index f142cb228..55105c7b2 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM= "\
 DEPENDS = "libusb1 python3 swig-native"

 SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2"
-SRC_URI[md5sum] = "0c09fb2bb19a57c839fa6845c6c780a2"
-SRC_URI[sha256sum] = "ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74"
+SRC_URI[md5sum] = "f515d7d69170a9afc8b273e8f1466a80"

The md5sum is not used any more so you can drop it.

Jose
 
+SRC_URI[sha256sum] = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049"

 S = "${WORKDIR}/${BPN}1-${PV}"

@@ -22,7 +22,8 @@ inherit cmake binconfig pkgconfig python3native
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost"

-EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
+EXTRA_OECMAKE = "-DSTATICLIBS=off -DEXAMPLES=off -DFTDI_EEPROM=off \
+                 -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
                  -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
                  -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"

--
2.30.2






--
Best regards,

José Quaresma

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.