From 73b09ba5cbaa7d7b9b4366c2b1429a3d511a791b Mon Sep 17 00:00:00 2001 From: Matthias Klein Date: Tue, 9 Aug 2022 13:01:05 +0200 Subject: libftdi: update to 1.5 Signed-off-by: Matthias Klein Signed-off-by: Khem Raj --- meta-oe/recipes-support/libftdi/libftdi_1.4.bb | 33 -------------------------- meta-oe/recipes-support/libftdi/libftdi_1.5.bb | 33 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-support/libftdi/libftdi_1.4.bb create mode 100644 meta-oe/recipes-support/libftdi/libftdi_1.5.bb (limited to 'meta-oe/recipes-support/libftdi') diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb deleted file mode 100644 index f142cb2287..0000000000 --- a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "libftdi is a library to talk to FTDI chips.\ -FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\ -including the popular bitbang mode." -HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/" -SECTION = "libs" -LICENSE = "LGPL-2.1-only & GPL-2.0-only" -LIC_FILES_CHKSUM= "\ - file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ - file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ -" - -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" - -S = "${WORKDIR}/${BPN}1-${PV}" - -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', '')} \ - -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \ - -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" - -BBCLASSEXTEND = "native nativesdk" - -PACKAGES += "${PN}-python" - -FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb new file mode 100644 index 0000000000..b03a0c7f4a --- /dev/null +++ b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "libftdi is a library to talk to FTDI chips.\ +FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\ +including the popular bitbang mode." +HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/" +SECTION = "libs" +LICENSE = "LGPL-2.1-only & GPL-2.0-only" +LIC_FILES_CHKSUM= "\ + file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ +" + +DEPENDS = "libusb1 python3 swig-native" + +SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2" +SRC_URI[sha256sum] = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049" + +S = "${WORKDIR}/${BPN}1-${PV}" + +inherit cmake binconfig pkgconfig python3native + +PACKAGECONFIG ??= "" +PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost" + +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}" + +BBCLASSEXTEND = "native nativesdk" + +PACKAGES += "${PN}-python" + +FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" -- cgit v1.2.3-54-g00ecf