Skip to contentSkip to conversation

boost: add lzma and zstd PACKAGECONFIG options

PATCH New Divyanshu Rathore 1 participant 1 message Oct 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boost: add lzma and zstd PACKAGECONFIG options

From: Divyanshu Rathore <[email protected]>

Add optional LZMA and Zstandard support to Boost.Iostreams for applications to read and write .xz and .zst compressed data.
Keeping them optional lets distributions enable interoperability with those widely used compression formats without adding the dependencies to all Boost builds.

Add optional PACKAGECONFIG entries for xz and zstd so Boost.Iostreams can be built with support for LZMA and Zstandard compressed streams.

---
 meta/recipes-support/boost/boost.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/boost/boost.inc +2 -0
index 64a57ddfb2..711cae1685 100644
@@ -55,6 +55,8 @@ PACKAGECONFIG[locale] = ",,icu"
 PACKAGECONFIG[graph_parallel] = ",,,boost-mpi mpich"
 PACKAGECONFIG[mpi] = ",,mpich"
 PACKAGECONFIG[python] = ",,python3"
+PACKAGECONFIG[lzma] = ",,xz"
+PACKAGECONFIG[zstd] = ",,zstd"
 
 inherit python3-dir
 PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
Signature · 1 line
2.43.0