Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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" |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 4 | LICENSE = "BSD-3-Clause" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064" |
| 6 | SECTION = "Development/Libraries" |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 7 | DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 9 | SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=master \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ |
| 11 | file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | file://0001-Fix-error.patch \ |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 13 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 15 | SRCREV = "69077ee4d249816ed428155fc933dca424167e77" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | S = "${WORKDIR}/git" |
| 17 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 18 | inherit cmake python3targetconfig |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 19 | |
| 20 | EXTRA_OECMAKE = "-DLIB='${baselib}' \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 21 | -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ |
| 22 | -DPYTHON_ABI=${PYTHON_ABI} \ |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 23 | -DBUILD_PYTHON3=YES \ |
| 24 | -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 25 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 27 | # With Ninja it fails with: |
| 28 | # ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$) |
| 29 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 30 | |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 31 | FILES:${PN} =+"${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | |
| 34 | BBCLASSEXTEND = "native" |