Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 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}" |