1
0
mirror of https://git.tukaani.org/xz.git synced 2026-02-05 19:38:04 +00:00

liblzma: Add the "License" property to liblzma.pc

The "License" property is a pkgconf extension. See pc(5).
pkg-config 0.29.2 (2017) ignores unrecognized properties so this
commit shouldn't create compatibility issues.

pkgconf provides bomtool which uses the "License" property to generate
a software bill of materials. In pkgconf.git there is spdxtool for the
same task but with different output format.

The pkgconf extensions "Copyright" and "Maintainer" would also be
used by bomtool and spdxtool, but I don't want to add those properties
at least for now.

Co-authored-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Closes: https://github.com/tukaani-project/xz/pull/178
This commit is contained in:
Lasse Collin 2026-01-25 13:30:46 +02:00
parent 687bd3e30f
commit d6bdb446f8
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -8,6 +8,7 @@ includedir=@includedir@
Name: liblzma Name: liblzma
Description: General purpose data compression library Description: General purpose data compression library
License: 0BSD
URL: @PACKAGE_URL@ URL: @PACKAGE_URL@
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
Cflags: -I${includedir} Cflags: -I${includedir}