summaryrefslogtreecommitdiff
path: root/recipes/wavpack.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-01-28 17:20:36 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-02-04 18:49:30 +0000
commit0fd0bea4ebe83c3dbf25bcc6fa1517cb59ee5fa8 (patch)
treef8c6e87cd34be76f4a29bb9fd64ab9ef267c4119 /recipes/wavpack.recipe
parent74ba4fd85aff872c2b62cd24a604c4729a5725f6 (diff)
Extend licensing scheme, install & package licenses
Licensing was incorrect, incomplete, and at best, ambiguous. Some recipes were picking one license when there were many, others were listing all the licenses and you had to pick one. On the other hand, many projects are licensed under multiple BSD-like licenses, and you must adhere to the terms of all of them, and there was no way to know how from the binary packages. Now we have an extended syntax for declaring the licensing properties of a recipe. The licenses array can now also contain dictionaries with License enums as keys and relative paths to files in the source tree as values. All files specified in this way will be copied into `share/licenses/$recipe_name`. Common license texts which are copied verbatim by projects without adding any specific author/copyright information have been copied into `data/licenses/` and will be copied into `share/licenses/$recipe_name` when a license is specified without a corresponding source tree file. `share/licenses/$recipe_name/README-LICENSE-INFO.txt` contains a disclaimer that this is not legal advice, and uses (AND) and (OR) operators to declare the combinations of licenses you can pick when adhering to the license requirements of a project. `share/licenses/$recipe_name` is, of course, now also copied into the devel binary packages. I have made a best-effort to check and update the licenses in each recipe, but I have probably missed things. Reviews and updates are welcome. I also did not bother updating the toolchain recipe licenses too carefully since we do not ship them with our binary packages; except mingw-runtime.recipe (which does have an updated license).
Diffstat (limited to 'recipes/wavpack.recipe')
-rw-r--r--recipes/wavpack.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/wavpack.recipe b/recipes/wavpack.recipe
index f8aa90b7..e0f08fcb 100644
--- a/recipes/wavpack.recipe
+++ b/recipes/wavpack.recipe
@@ -9,7 +9,7 @@ class Recipe(recipe.Recipe):
url = 'https://github.com/dbry/WavPack/archive/%(version)s.tar.gz'
tarball_dirname = 'WavPack-%(version)s'
tarball_checksum = '1af7eaccbf560271013d4179d98ef6fc681a2bb3603382577eeba73d438785f4'
- licenses = [License.BSD_like]
+ licenses = [{License.BSD_like: ['COPYING']}]
autoreconf = True
configure_options = ' --disable-apps '