summaryrefslogtreecommitdiff
path: root/recipes/libtheora.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/libtheora.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/libtheora.recipe')
-rw-r--r--recipes/libtheora.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libtheora.recipe b/recipes/libtheora.recipe
index 420d8018..c2fb3874 100644
--- a/recipes/libtheora.recipe
+++ b/recipes/libtheora.recipe
@@ -4,7 +4,7 @@
class Recipe(recipe.Recipe):
name = 'libtheora'
version = '1.1.1'
- licenses = [License.BSD]
+ licenses = [{License.BSD: ['COPYING'], License.Misc: ['LICENSE']}]
stype = SourceType.TARBALL
url = 'xiph://theora/%(name)s-%(version)s.tar.bz2'
tarball_checksum = 'b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc'