summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2019-04-04 15:58:59 +0200
committerKhem Raj <raj.khem@gmail.com>2019-04-06 08:22:22 -0700
commit56a3499ea9e3207f6117156a97ecf5e82d003299 (patch)
treec3f286dcda4db089faaa4bbfcebc2c474a3b82c9
parentb6475aee97068bcc36fd824193a255abca3cb8ff (diff)
downloadmeta-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.patch31
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 @@
1DESCRIPTION = "C bindings for ZeroMQ" 1DESCRIPTION = "High-level C binding for 0MQ"
2HOMEPAGE = "http://www.zeromq.org" 2HOMEPAGE = "http://czmq.zeromq.org/"
3LICENSE = "MPL-2.0" 3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
5DEPENDS = "zeromq" 5DEPENDS = "zeromq"
6 6
7SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz \ 7SRC_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
11SRC_URI[md5sum] = "6d3a6fdd25c2bb29897c53670dce97bf" 9SRC_URI[md5sum] = "7e09997db6ac3b25e8ed104053040722"
12SRC_URI[sha256sum] = "f00ff419881dc2a05d0686c8467cd89b4882677fc56f31c0e2cc81c134cbb0c0" 10SRC_URI[sha256sum] = "cfab29c2b3cc8a845749758a51e1dd5f5160c1ef57e2a41ea96e4c2dcc8feceb"
13 11
14inherit cmake 12inherit cmake
15 13
@@ -17,14 +15,16 @@ PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg"
17 15
18FILES_${PN} = "${bindir}/*" 16FILES_${PN} = "${bindir}/*"
19FILES_lib${BPN} = "${libdir}/*.so.*" 17FILES_lib${BPN} = "${libdir}/*.so.*"
20FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir}" 18FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir} ${datadir}/cmake"
21FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" 19FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
22 20
23RDEPENDS_lib${BPN}-dev = "zeromq-dev" 21RDEPENDS_lib${BPN}-dev = "zeromq-dev"
24 22
25PACKAGECONFIG ??= "lz4 uuid" 23PACKAGECONFIG ??= "lz4 uuid curl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
26PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4" 24PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4"
27PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux" 25PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux"
26PACKAGECONFIG[curl] = ",-DCMAKE_DISABLE_FIND_PACKAGE_libcurl=TRUE,curl"
27PACKAGECONFIG[systemd] = ",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd"
28 28
29BBCLASSEXTEND = "nativesdk" 29BBCLASSEXTEND = "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 @@
1From d155ffd33630f80b23c31b3a6e01da221dd9bd13 Mon Sep 17 00:00:00 2001
2From: Luca Boccassi <luca.boccassi@gmail.com>
3Date: Fri, 30 Mar 2018 16:36:22 +0100
4Subject: [PATCH] Problem: out of date with zproject
5
6Upstream-Status: backport
7Signed-off-by: Adrian Bunk <bunk@stusta.de>
8
9diff --git a/CMakeLists.txt b/CMakeLists.txt
10index 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