From 96bf8c25c9da00b0652bc05705327fb199a35d02 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 22 Apr 2024 17:15:31 +0800 Subject: asio: upgrade 1.28.0 -> 1.30.2 License-Update: Copyright year updated to 2024. 0001-Add-the-pkgconfigdir-location.patch included in 1.30.2 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/asio/asio_1.28.0.bb | 28 -------------------- meta-oe/recipes-support/asio/asio_1.30.2.bb | 25 ++++++++++++++++++ .../files/0001-Add-the-pkgconfigdir-location.patch | 30 ---------------------- 3 files changed, 25 insertions(+), 58 deletions(-) delete mode 100644 meta-oe/recipes-support/asio/asio_1.28.0.bb create mode 100644 meta-oe/recipes-support/asio/asio_1.30.2.bb delete mode 100644 meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/asio/asio_1.28.0.bb b/meta-oe/recipes-support/asio/asio_1.28.0.bb deleted file mode 100644 index 84074400a..000000000 --- a/meta-oe/recipes-support/asio/asio_1.28.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "Asio is C++ library for network and low-level I/O programming" -DESCRIPTION = "Asio is a cross-platform C++ library for network and low-level \ - I/O programming that provides developers with a consistent asynchronous \ - model using a modern C++ approach." -HOMEPAGE = "http://think-async.com/Asio" -SECTION = "libs" -LICENSE = "BSL-1.0" - -DEPENDS = "openssl" - -SRC_URI = " \ - ${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2 \ - file://0001-Add-the-pkgconfigdir-location.patch \ -" - -inherit autotools - -ALLOW_EMPTY:${PN} = "1" - -LIC_FILES_CHKSUM = "file://COPYING;md5=ff668366bbdb687b6029d33a5fe4b999" - -SRC_URI[sha256sum] = "d0ddc2361abd2f4c823e970aaf8e28b4b31ab21b1a68af16b114fc093661e232" - -PACKAGECONFIG ??= "boost" - -PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/asio/asio_1.30.2.bb b/meta-oe/recipes-support/asio/asio_1.30.2.bb new file mode 100644 index 000000000..6930381ec --- /dev/null +++ b/meta-oe/recipes-support/asio/asio_1.30.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "Asio is C++ library for network and low-level I/O programming" +DESCRIPTION = "Asio is a cross-platform C++ library for network and low-level \ + I/O programming that provides developers with a consistent asynchronous \ + model using a modern C++ approach." +HOMEPAGE = "http://think-async.com/Asio" +SECTION = "libs" +LICENSE = "BSL-1.0" + +DEPENDS = "openssl" + +SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" + +inherit autotools + +ALLOW_EMPTY:${PN} = "1" + +LIC_FILES_CHKSUM = "file://COPYING;md5=2bfc909e030aeafefa72f764165b8d07" + +SRC_URI[sha256sum] = "9f12cef05c0477eace9c68ccabd19f9e3a04b875d4768c323714cbd3a5fa3c2b" + +PACKAGECONFIG ??= "boost" + +PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch b/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch deleted file mode 100644 index 75f083b0e..000000000 --- a/meta-oe/recipes-support/asio/files/0001-Add-the-pkgconfigdir-location.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 248e87869d748cfb72d3a5d3b2b91ad178172e30 Mon Sep 17 00:00:00 2001 -From: Vasileios Anagnostopoulos -Date: Tue, 9 May 2023 12:48:29 +0200 -Subject: [PATCH] Add the pkgconfigdir location - -This change is necessary, because while building asio in yocto the -compilation is failing and is complaining because the variable is -undefined - -Signed-off-by: Vasileios Anagnostopoulos -Upstream-Status: Submitted [https://github.com/chriskohlhoff/asio/pull/1294] ---- - asio/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile.am b/Makefile.am -index b7760851..bc4f75b3 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,6 +1,7 @@ - AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip - - pkgconfig_DATA = asio.pc -+pkgconfigdir = $(libdir)/pkgconfig - - SUBDIRS = include src - --- -2.34.1 - -- cgit v1.2.3-54-g00ecf