diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.6.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-lief_0.16.6.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.6.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.6.bb new file mode 100644 index 0000000000..2c5aeb6bb6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.6.bb | |||
@@ -0,0 +1,33 @@ | |||
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=be298b85ef6036ef77810ae0dce93776" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://github.com/lief-project/LIEF.git;protocol=https;branch=release/0.16.x;tag=${PV} \ | ||
10 | file://0001-build-requirements.txt-Allow-newer-versions.patch \ | ||
11 | file://0002-api-python-config-default.toml-Debug.patch \ | ||
12 | " | ||
13 | SRCREV = "d52c66d6da4d67c69438989df83a5415236ae08b" | ||
14 | |||
15 | PEP517_SOURCE_PATH = "${S}/api/python" | ||
16 | |||
17 | export LIEF_BUILD_DIR = "${B}" | ||
18 | |||
19 | inherit python_setuptools_build_meta | ||
20 | |||
21 | DEPENDS += "\ | ||
22 | python3-scikit-build-native \ | ||
23 | python3-scikit-build-core-native \ | ||
24 | python3-tomli-native \ | ||
25 | python3-pydantic-native \ | ||
26 | ninja-native \ | ||
27 | ccache-native \ | ||
28 | python3-typing-inspection \ | ||
29 | " | ||
30 | # https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 | ||
31 | COMPATIBLE_HOST:x86 = "null" | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||