summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb')
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
new file mode 100644
index 0000000000..da710eaedb
--- /dev/null
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
@@ -0,0 +1,37 @@
1SUMMARY = "Adapter to write and run CMPI-type CIM providers"
2DESCRIPTION = "CMPI-compliant provider interface for various languages via SWIG"
3HOMEPAGE = "http://github.com/kkaempf/cmpi-bindings"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064"
6SECTION = "Development/Libraries"
7DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native"
8
9SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=main \
10 file://cmpi-bindings-0.4.17-no-ruby-perl.patch \
11 file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \
12 file://0001-Fix-error.patch \
13 "
14
15SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9"
16
17inherit cmake python3targetconfig
18
19EXTRA_OECMAKE = "-DLIB='${baselib}' \
20 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
21 -DPYTHON_ABI=${PYTHON_ABI} \
22 -DBUILD_PYTHON3=NO \
23 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \
24 "
25
26# With Ninja it fails with:
27# ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$)
28OECMAKE_GENERATOR = "Unix Makefiles"
29
30FILES:${PN} =+ "${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*"
31FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so"
32
33BBCLASSEXTEND = "native"
34
35# http://errors.yoctoproject.org/Errors/Details/766910/
36# cmpi-bindings/1.0.4/git/swig/python/../../src/target_python.c:168:21: error: passing argument 1 of 'Py_SetProgramName' from incompatible pointer type [-Wincompatible-pointer-types]
37CFLAGS += "-Wno-error=incompatible-pointer-types"