Markus Volk 874af51714
brotli: update 1.1.0 -> 1.2.0
[1.2.0] - 2025-10-27
SECURITY

    python: added Decompressor::can_accept_more_data method and optional output_buffer_limit argument Decompressor::process; that allows mitigation of unexpectedly large output; reported by Charles Chan (https://github.com/charleswhchan)

Added

    decoder / encoder: added static initialization to reduce binary size
    python: allow limiting decoder output (see SECURITY section)
    CLI: brcat alias; allow decoding concatenated brotli streams
    kt: pure Kotlin decoder
    cgo: support "raw" dictionaries
    build: Bazel modules

Removed

    java: dropped finalize() for native entities

Fixed

    java: in compress pass correct length to native encoder

Improved

    build: install man pages
    build: updated / fixed / refined Bazel buildfiles
    encoder: faster encoding
    cgo: link via pkg-config
    python: modernize extension / allow multi-phase module initialization

Changed

    decoder / encoder: static tables use "small" model (allows 2GiB+ binaries)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-03 21:08:14 -08:00

23 lines
769 B
BlitzBasic

SUMMARY = "Lossless compression library and tool"
DESCRIPTION = "Brotli is a generic-purpose lossless compression algorithm \
that it is similar in speed to deflate but offers more dense compression."
HOMEPAGE = "https://github.com/google/brotli"
BUGTRACKER = "https://github.com/google/brotli/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"
SRC_URI = "git://github.com/google/brotli.git;branch=master;protocol=https"
SRCREV = "028fb5a23661f123017c060daa546b55cf4bde29"
inherit cmake lib_package
do_install:append () {
for lib in $(ls ${D}${libdir}/*-static.a); do
basename=$(basename ${lib})
mv -v "${lib}" "${D}${libdir}/$(echo ${basename} | sed s/-static//)"
done
}
BBCLASSEXTEND = "native nativesdk"