]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Add the "License" property to liblzma.pc
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 25 Jan 2026 11:30:46 +0000 (13:30 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 25 Jan 2026 11:44:52 +0000 (13:44 +0200)
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
src/liblzma/liblzma.pc.in

index a432992b7072355e030e68682a52eac323637f4d..5efb49455f728a4ecc721031d5b51b1ec80e449e 100644 (file)
@@ -8,6 +8,7 @@ includedir=@includedir@
 
 Name: liblzma
 Description: General purpose data compression library
+License: 0BSD
 URL: @PACKAGE_URL@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}