summaryrefslogtreecommitdiff
path: root/recipes/libass.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/libass.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/libass.recipe')
-rw-r--r--recipes/libass.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libass.recipe b/recipes/libass.recipe
index 83f3d4a5..8ee8cbbd 100644
--- a/recipes/libass.recipe
+++ b/recipes/libass.recipe
@@ -4,7 +4,7 @@
class Recipe(recipe.Recipe):
name = 'libass'
version = '0.13.7'
- licenses = [License.BSD_like]
+ licenses = [{License.BSD_like: ['COPYING']}]
stype = SourceType.TARBALL
url = 'https://github.com/libass/libass/releases/download/{0}/libass-{0}.tar.gz'.format(version)
tarball_checksum = '008a05a4ed341483d8399c8071d57a39853cf025412b32da277e76ad8226e158'