mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
It uses python3-config during build to grok the python specific includedirs, therefore its important to ensure that target specific python3-config is used, otherwise currently it defaults to native python3-config which ends up adding native python3 include paths which might work out ok but is exposed when target is 32bit + lfs enabled, the headers don't match between native and target python Signed-off-by: Khem Raj <raj.khem@gmail.com>
36 lines
1019 B
BlitzBasic
36 lines
1019 B
BlitzBasic
DESCRIPTION = "Satyr is a collection of low-level algorithms for program \
|
|
failure processing, analysis, and reporting supporting kernel space, user \
|
|
space, Python, and Java programs"
|
|
|
|
HOMEPAGE = "https://github.com/abrt/satyr"
|
|
LICENSE = "GPL-2.0-only"
|
|
|
|
inherit autotools-brokensep python3native python3targetconfig pkgconfig
|
|
|
|
SRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \
|
|
file://0002-fix-compile-failure-against-musl-C-library.patch \
|
|
"
|
|
SRCREV = "61addf12d15ef9d0bff5e3cc26e08d08a4f88094"
|
|
S = "${WORKDIR}/git"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
DEPENDS += " \
|
|
gdb \
|
|
gperf-native \
|
|
json-c \
|
|
nettle \
|
|
glib-2.0 \
|
|
"
|
|
|
|
PACKAGES += "python3-${BPN}"
|
|
FILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/${BPN}"
|
|
|
|
PACKAGECONFIG ??= "python3 rpm"
|
|
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
|
|
PACKAGECONFIG[rpm] = "--with-rpm, --without-rpm, rpm"
|
|
|
|
do_configure:prepend() {
|
|
${S}/gen-version
|
|
}
|