diff options
author | Vincent Prince <vincent.prince.fr@gmail.com> | 2019-04-04 15:58:59 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-04-06 08:22:22 -0700 |
commit | 56a3499ea9e3207f6117156a97ecf5e82d003299 (patch) | |
tree | c3f286dcda4db089faaa4bbfcebc2c474a3b82c9 | |
parent | b6475aee97068bcc36fd824193a255abca3cb8ff (diff) | |
download | meta-openembedded-56a3499ea9e3207f6117156a97ecf5e82d003299.tar.gz |
czmq: bump version 4.1.1 => 4.2.0
Also, add curl and systemd to PACKAGECONFIG
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/czmq_4.2.0.bb (renamed from meta-oe/recipes-connectivity/zeromq/czmq_4.1.1.bb) | 18 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/files/0001-Problem-out-of-date-with-zproject.patch | 31 |
2 files changed, 9 insertions, 40 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.1.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.0.bb index f2db0041c..4ec1c0409 100644 --- a/meta-oe/recipes-connectivity/zeromq/czmq_4.1.1.bb +++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.0.bb | |||
@@ -1,15 +1,13 @@ | |||
1 | DESCRIPTION = "C bindings for ZeroMQ" | 1 | DESCRIPTION = "High-level C binding for 0MQ" |
2 | HOMEPAGE = "http://www.zeromq.org" | 2 | HOMEPAGE = "http://czmq.zeromq.org/" |
3 | LICENSE = "MPL-2.0" | 3 | LICENSE = "MPL-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" |
5 | DEPENDS = "zeromq" | 5 | DEPENDS = "zeromq" |
6 | 6 | ||
7 | SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz \ | 7 | SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz" |
8 | file://0001-Problem-out-of-date-with-zproject.patch \ | ||
9 | " | ||
10 | 8 | ||
11 | SRC_URI[md5sum] = "6d3a6fdd25c2bb29897c53670dce97bf" | 9 | SRC_URI[md5sum] = "7e09997db6ac3b25e8ed104053040722" |
12 | SRC_URI[sha256sum] = "f00ff419881dc2a05d0686c8467cd89b4882677fc56f31c0e2cc81c134cbb0c0" | 10 | SRC_URI[sha256sum] = "cfab29c2b3cc8a845749758a51e1dd5f5160c1ef57e2a41ea96e4c2dcc8feceb" |
13 | 11 | ||
14 | inherit cmake | 12 | inherit cmake |
15 | 13 | ||
@@ -17,14 +15,16 @@ PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg" | |||
17 | 15 | ||
18 | FILES_${PN} = "${bindir}/*" | 16 | FILES_${PN} = "${bindir}/*" |
19 | FILES_lib${BPN} = "${libdir}/*.so.*" | 17 | FILES_lib${BPN} = "${libdir}/*.so.*" |
20 | FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir}" | 18 | FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir} ${datadir}/cmake" |
21 | FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" | 19 | FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" |
22 | 20 | ||
23 | RDEPENDS_lib${BPN}-dev = "zeromq-dev" | 21 | RDEPENDS_lib${BPN}-dev = "zeromq-dev" |
24 | 22 | ||
25 | PACKAGECONFIG ??= "lz4 uuid" | 23 | PACKAGECONFIG ??= "lz4 uuid curl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
26 | PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4" | 24 | PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4" |
27 | PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux" | 25 | PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux" |
26 | PACKAGECONFIG[curl] = ",-DCMAKE_DISABLE_FIND_PACKAGE_libcurl=TRUE,curl" | ||
27 | PACKAGECONFIG[systemd] = ",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd" | ||
28 | 28 | ||
29 | BBCLASSEXTEND = "nativesdk" | 29 | BBCLASSEXTEND = "nativesdk" |
30 | 30 | ||
diff --git a/meta-oe/recipes-connectivity/zeromq/files/0001-Problem-out-of-date-with-zproject.patch b/meta-oe/recipes-connectivity/zeromq/files/0001-Problem-out-of-date-with-zproject.patch deleted file mode 100644 index 5f5702c8c..000000000 --- a/meta-oe/recipes-connectivity/zeromq/files/0001-Problem-out-of-date-with-zproject.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From d155ffd33630f80b23c31b3a6e01da221dd9bd13 Mon Sep 17 00:00:00 2001 | ||
2 | From: Luca Boccassi <luca.boccassi@gmail.com> | ||
3 | Date: Fri, 30 Mar 2018 16:36:22 +0100 | ||
4 | Subject: [PATCH] Problem: out of date with zproject | ||
5 | |||
6 | Upstream-Status: backport | ||
7 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
8 | |||
9 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
10 | index a3b81722..4f203461 100644 | ||
11 | --- a/CMakeLists.txt | ||
12 | +++ b/CMakeLists.txt | ||
13 | @@ -38,7 +38,7 @@ if (NOT CMAKE_BUILD_TYPE) | ||
14 | OUTPUT_STRIP_TRAILING_WHITESPACE | ||
15 | ) | ||
16 | message(STATUS "git workspace root [${git_result}]: ${git_root}") | ||
17 | - if ( "${git_result}" == "0" ) | ||
18 | + if ( "${git_result}" STREQUAL "0" ) | ||
19 | set (CMAKE_BUILD_TYPE Debug) | ||
20 | else () | ||
21 | set (CMAKE_BUILD_TYPE Release) | ||
22 | @@ -608,7 +608,7 @@ add_custom_command( | ||
23 | TARGET distclean | ||
24 | ) | ||
25 | |||
26 | -include(ClangFormat) | ||
27 | +include(ClangFormat OPTIONAL) | ||
28 | |||
29 | ######################################################################## | ||
30 | # summary | ||
31 | |||