Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 1 | SUMMARY = "Python evdev lib" |
| 2 | HOMEPAGE = "https://github.com/gvalkov/python-evdev" |
| 3 | LICENSE = "BSD" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" |
| 5 | |
| 6 | SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74" |
| 7 | SRC_URI[sha256sum] = "57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1" |
| 8 | |
| 9 | do_compile_prepend() { |
| 10 | rm -rf ${S}/evdev/ecodes.c |
| 11 | } |
| 12 | |
| 13 | DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" |
| 14 | |
| 15 | RDEPENDS_${PN} += "\ |
| 16 | ${PYTHON_PN}-ctypes \ |
| 17 | ${PYTHON_PN}-fcntl \ |
| 18 | ${PYTHON_PN}-io \ |
| 19 | ${PYTHON_PN}-shell \ |
| 20 | ${PYTHON_PN}-stringold \ |
| 21 | " |