From: Lasse Collin Date: Sun, 25 Jan 2026 11:30:46 +0000 (+0200) Subject: liblzma: Add the "License" property to liblzma.pc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6bdb446f8da47ac2af8c309de8e7c80beae850e;p=thirdparty%2Fxz.git 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 Closes: https://github.com/tukaani-project/xz/pull/178 --- diff --git a/src/liblzma/liblzma.pc.in b/src/liblzma/liblzma.pc.in index a432992b..5efb4945 100644 --- a/src/liblzma/liblzma.pc.in +++ b/src/liblzma/liblzma.pc.in @@ -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}