diff options
Diffstat (limited to 'openembedded-layer/recipes-support/libgpiod/libgpiod_1.2.bb')
-rw-r--r-- | openembedded-layer/recipes-support/libgpiod/libgpiod_1.2.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openembedded-layer/recipes-support/libgpiod/libgpiod_1.2.bb b/openembedded-layer/recipes-support/libgpiod/libgpiod_1.2.bb new file mode 100644 index 0000000..1a4457c --- /dev/null +++ b/openembedded-layer/recipes-support/libgpiod/libgpiod_1.2.bb @@ -0,0 +1,18 @@ +require libgpiod.inc + +DEPENDS += "autoconf-archive-native" + +SRC_URI += "file://build-set-c-as-language-for-c-bindings-tests.patch" + +SRC_URI[md5sum] = "34a9972f2f4e9c32fa940301301b007d" +SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba5844b5ba" + +PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" + +PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" +inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} + +PACKAGES =+ "${PN}-python" +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" +RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" +RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" |