mirror of
https://git.yoctoproject.org/poky
synced 2026-11-16 03:07:13 +00:00
diffoscope was failing as rpm wasn't configured correctly. Fix this. (From OE-Core rev: 93ad1ab49be03dd082a98f80464cfee9d98a3a33) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
770 B
BlitzBasic
25 lines
770 B
BlitzBasic
SUMMARY = "in-depth comparison of files, archives, and directories"
|
|
HOMEPAGE = "https://diffoscope.org/"
|
|
LICENSE = "GPL-3.0+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
PYPI_PACKAGE = "diffoscope"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
SRC_URI[sha256sum] = "d95cef5b3eef49fa1c811c1ac103f7f7cca4a0ebabc674e4283b51f28309d242"
|
|
|
|
RDEPENDS_${PN} += "binutils vim squashfs-tools python3-libarchive-c python3-magic python3-rpm"
|
|
|
|
# Dependencies don't build for musl
|
|
COMPATIBLE_HOST_libc-musl = 'null'
|
|
|
|
do_install_append_class-native() {
|
|
create_wrapper ${D}${bindir}/diffoscope \
|
|
MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
|
|
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
|
|
RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|