Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | require libgpiod.inc |
| 2 | |
| 3 | DEPENDS += "autoconf-archive-native" |
| 4 | |
| 5 | SRC_URI[md5sum] = "9f7530a5d56f070ba0af78d6ba077973" |
| 6 | SRC_URI[sha256sum] = "6ec837f23e8f2196e5976dec4ac81403170830075e7f33ede1394eaf67f2e962" |
| 7 | |
| 8 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" |
| 9 | PACKAGECONFIG[tests] = "--enable-tests --enable-install-tests,--disable-tests --disable-install-tests,kmod udev" |
| 10 | |
| 11 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" |
| 12 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} |
| 13 | |
| 14 | PACKAGES =+ "${PN}-python" |
| 15 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
| 16 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" |
| 17 | RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" |