diff options
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb')
-rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb new file mode 100644 index 000000000..30289b983 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | require libgpiod.inc | ||
2 | |||
3 | DEPENDS += "autoconf-archive-native" | ||
4 | |||
5 | SRC_URI[md5sum] = "34a9972f2f4e9c32fa940301301b007d" | ||
6 | SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba5844b5ba" | ||
7 | |||
8 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" | ||
9 | |||
10 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core" | ||
11 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} | ||
12 | |||
13 | PACKAGES =+ "${PN}-python" | ||
14 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | ||
15 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | ||
16 | RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" | ||