diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.5.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-lief_0.16.5.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb new file mode 100644 index 0000000000..8a0e30133c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Library to instrument executable formats" | ||
2 | DESCRIPTION = "LIEF: Library to Instrument Executable Formats" | ||
3 | HOMEPAGE = "https://github.com/lief-project/LIEF" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://github.com/lief-project/LIEF.git;protocol=https;branch=main \ | ||
10 | file://0001-build-requirements.txt-Allow-newer-versions.patch \ | ||
11 | file://0002-api-python-config-default.toml-Debug.patch \ | ||
12 | " | ||
13 | SRCREV = "abcf929efb748c7846dd59007cbb807e108db311" | ||
14 | PV .= "+git" | ||
15 | |||
16 | PEP517_SOURCE_PATH = "${S}/api/python" | ||
17 | |||
18 | export LIEF_BUILD_DIR = "${B}" | ||
19 | |||
20 | inherit python_setuptools_build_meta | ||
21 | |||
22 | DEPENDS += "\ | ||
23 | python3-scikit-build-native \ | ||
24 | python3-scikit-build-core-native \ | ||
25 | python3-tomli-native \ | ||
26 | python3-pydantic-native \ | ||
27 | ninja-native \ | ||
28 | ccache-native \ | ||
29 | python3-typing-inspection \ | ||
30 | " | ||
31 | # https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 | ||
32 | COMPATIBLE_HOST:x86 = "null" | ||
33 | |||
34 | BBCLASSEXTEND = "native nativesdk" | ||