diff options
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.bb | 37 |
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 @@ | |||
1 | SUMMARY = "Adapter to write and run CMPI-type CIM providers" | ||
2 | DESCRIPTION = "CMPI-compliant provider interface for various languages via SWIG" | ||
3 | HOMEPAGE = "http://github.com/kkaempf/cmpi-bindings" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064" | ||
6 | SECTION = "Development/Libraries" | ||
7 | DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native" | ||
8 | |||
9 | SRC_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 | |||
15 | SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9" | ||
16 | |||
17 | inherit cmake python3targetconfig | ||
18 | |||
19 | EXTRA_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 $$) | ||
28 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
29 | |||
30 | FILES:${PN} =+ "${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*" | ||
31 | FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" | ||
32 | |||
33 | BBCLASSEXTEND = "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] | ||
37 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||