blob: 0c8a9c7a5f008b1cd87d03b2fdce9705cb721217 [file] [log] [blame]
DESCRIPTION = "A file format designed for highly efficient deltas while maintaining good compression"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=daf6e68539f564601a5a5869c31e5242"
SRC_URI = "git://github.com/zchunk/zchunk.git;protocol=https;branch=main"
SRCREV = "4dd91d31157ede4a1b092721d944ae2fdd161cd9"
S = "${WORKDIR}/git"
DEPENDS = "zstd"
DEPENDS:append:libc-musl = " argp-standalone"
inherit meson pkgconfig lib_package
PACKAGECONFIG ??= "openssl zckdl"
# zckdl gets packaged into zchunk-bin
PACKAGECONFIG[zckdl] = "-Dwith-curl=enabled,-Dwith-curl=disabled,curl"
# Use OpenSSL primitives for SHA
PACKAGECONFIG[openssl] = "-Dwith-openssl=enabled,-Dwith-openssl=disabled,openssl"
BBCLASSEXTEND = "native nativesdk"