commit:     a65a6df9f3b30665b3c15ab2b19bc75080f804f6
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:46:39 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 22:39:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a65a6df9

media-libs/libbpg: update LICENSE

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild 
b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index e434918187..cd838d7e28 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -9,7 +9,26 @@ DESCRIPTION="Better Portable Graphics reference implementation"
 HOMEPAGE="https://bellard.org/bpg/";
 SRC_URI="https://bellard.org/bpg/${P}.tar.gz";
 
-LICENSE="LGPL-2.1"
+# The BPG decoding library and executable excluding the FFMPEG code as well as
+# the BPG Javscript decoder are licensed under the MIT license.
+LICENSE="MIT"
+# The program bundles several 3rd-party libraries:
+#
+# The BPG decoding libary and executable use:
+# A modified version of FFMPEG - It is stripped of all codecs except HEVC and
+# the necessary support code and thus licensed under LGPL-2.1.
+# - libavcodec/*
+# - libavutil/*
+#
+# The BPG encoder supports the x265 library and the JCT-VC HEVC reference 
encoder:
+# The modified version of the x265 library - licensed under GPL-2.
+# - x265/*
+#
+# JCT-VC HEVC reference encoder - licensed under the 3-clause BSD license.
+# - jctvc/*
+LICENSE+=" LGPL-2.1 GPL-2
+       jctvc? ( BSD )
+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="bpgview jctvc"

Reply via email to