blob: a9a4628665f15dc66c89072d7b0014a9fa08ac0b [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001require libgpiod.inc
2
3DEPENDS += "autoconf-archive-native"
4
Andrew Geisslerd688a012020-09-18 13:36:00 -05005SRC_URI[md5sum] = "064c2627397e6641c52de09a26951112"
6SRC_URI[sha256sum] = "f1cda2789e6a13a92aefc012a76e5a7cc57a1b402d66f71df8719ee314b67699"
Andrew Geissler82c905d2020-04-13 13:39:40 -05007
8# enable cxx bindings
9PACKAGECONFIG ?= "cxx"
10
11PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
12PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
13
14PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
15
16inherit python3native
17
18PACKAGES =+ "${PN}-python"
19FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
20RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
21RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"