summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-03-25 21:44:42 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-05-15 11:56:00 +0200
commitd9693ad88495e10541680350421c614089809ffd (patch)
tree2c3413e558700c95afd65b10a7084c4c5610c331
parentprofiles/license_groups: Add Unicode-3.0 to OSI-APPROVED-FREE (diff)
downloadgentoo-d9693ad88495e10541680350421c614089809ffd.tar.gz
gentoo-d9693ad88495e10541680350421c614089809ffd.tar.bz2
gentoo-d9693ad88495e10541680350421c614089809ffd.zip
app-misc/anki: add missing Unicode-3.0 license for tinystr crate
Deduplicate license expression Remove redundant licensing comments Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--app-misc/anki/anki-23.12.1.ebuild37
1 files changed, 5 insertions, 32 deletions
diff --git a/app-misc/anki/anki-23.12.1.ebuild b/app-misc/anki/anki-23.12.1.ebuild
index 63f7f131ebee..5564846d6d89 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -690,43 +690,16 @@ PATCHES=(
IUSE="+gui qt6 test"
RESTRICT="!gui? ( test ) !test? ( test )"
-# The program itself is licensed under AGPL-3+ with contributed portions licensed
-# under BSD-3.
-# The translation files are licensed under BSD-3 and public-domain.
-# - ftl/
-LICENSE="AGPL-3+ BSD public-domain"
+# How to get an up-to-date summary of runtime JS libs' licenses:
+# ./node_modules/.bin/license-checker-rseidelsohn --production --excludePackages anki --summary
+LICENSE="AGPL-3+ BSD public-domain gui? ( 0BSD CC-BY-4.0 GPL-3+ Unlicense )"
# Dependent crate licenses
LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT
MPL-2.0 Unicode-DFS-2016 ZLIB
"
# Manually added crate licenses
-LICENSE+=" openssl"
-# The supermemo importer is licensed under GPL-3+ and 0BSD.
-# - pylib/anki/importing/supermemo_xml.py
-#
-# Anki bundles 3rd-party code and assets:
-# The MathJax files are licensed under Apache-2.0.
-# - node_modules/mathjax/es5/
-#
-# The fancy deboss pattern is licensed under CC-BY-4.0.
-# - pylib/anki/statsbg.py
-#
-# The patched MPV controls are licensed under MIT.
-# - qt/aqt/mpv.py
-#
-# The Winpath module is licensed under MIT.
-# - qt/aqt/winpaths.py
-#
-# The licenses for the runtime JS libaries are documented in the source code.
-# - ts/licenses.json
-# How to get an up-to-date summary:
-# ./node_modules/.bin/license-checker-rseidelsohn --production --excludePackages anki --summary
-#
-# The vendored Flot plotting library is licensed under MIT.
-# - qt/aqt/data/web/js/vendor/plot.js
-LICENSE+=" gui? ( 0BSD CC-BY-4.0 GPL-3+ Unlicense )"
-
+LICENSE+=" Unicode-3.0 openssl"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"