mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Add a submitted patch to support the reproducible generation of intermediate file ecodes.c, then, use it to fix the buildpaths errors. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
805 B
BlitzBasic
26 lines
805 B
BlitzBasic
SUMMARY = "Python evdev lib"
|
|
HOMEPAGE = "https://github.com/gvalkov/python-evdev"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d7bd1cc4c71b706c7e2d4053aef50f2a"
|
|
|
|
SRC_URI += "file://0001-Add-a-reproducibility-option-for-building-ecodes.c.patch"
|
|
SRC_URI[sha256sum] = "dc640a064cb1c9fe1f8b970dc2039945a2a275d7b7ee62284bf427238abe45ee"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
do_compile:prepend() {
|
|
rm -rf ${S}/evdev/ecodes.c
|
|
}
|
|
|
|
PEP517_BUILD_OPTS = "--config-setting=--build-option='build_ecodes \
|
|
--evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h \
|
|
--reproducibility'"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-ctypes \
|
|
python3-fcntl \
|
|
python3-io \
|
|
python3-shell \
|
|
python3-stringold \
|
|
"
|