2 # Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 DESCRIPTION = "Qpid Proton is a high-performance, lightweight messaging library."
17 LICENSE = "Apache-2.0"
18 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b26578452df1dcf3b9a63978282b72d0"
20 SRC_URI = "http://archive.apache.org/dist/qpid/proton/0.28.0/qpid-proton-0.28.0.tar.gz \
21 file://fix-missing-libary-for-cpp-binding.patch \
24 SRC_URI[sha256sum] = "224e599a4e965a016087b6ce683e55ca918493e12cdd6d91dac1c17d64a7dafe"
26 DEPENDS= "openssl swig-native python"
28 inherit cmake pkgconfig
30 EXTRA_OECMAKE = "-DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON -DPYTHON_EXECUTABLE=`which python`"
31 BBCLASSEXTEND =+ " native"
38 #FILES_qpid-proton-c = "${libdir}/libqpid-proton.so.*"
39 #FILES_qpid-proton-c += "{libdir}/libqpid-proton-core.so.*"
40 #FILES_qpid-proton-c += "${libdir}/libbqpid-proton-proactor.so.*"
42 FILES_qpid-proton-cpp = "${libdir}/libqpid-proton-cpp.so.*"
43 FILES_python-${PN} = "${libdir}/python*"
45 RPROVIDES_${PN} = "qpid-proton-c"