diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-01-28 17:20:36 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-02-04 18:49:30 +0000 |
commit | 0fd0bea4ebe83c3dbf25bcc6fa1517cb59ee5fa8 (patch) | |
tree | f8c6e87cd34be76f4a29bb9fd64ab9ef267c4119 /recipes | |
parent | 74ba4fd85aff872c2b62cd24a604c4729a5725f6 (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')
40 files changed, 41 insertions, 41 deletions
diff --git a/recipes/build-tools/cmake.recipe b/recipes/build-tools/cmake.recipe index 60202ed2..b440499e 100644 --- a/recipes/build-tools/cmake.recipe +++ b/recipes/build-tools/cmake.recipe @@ -4,7 +4,7 @@ class Recipe(recipe.Recipe): name = 'cmake' version = '3.7.1' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['Copyright.txt']}] btype = BuildType.MAKEFILE stype = SourceType.TARBALL url = 'https://www.cmake.org/files/v3.7/cmake-%(version)s.tar.gz' diff --git a/recipes/build-tools/flex.recipe b/recipes/build-tools/flex.recipe index 4c02974d..638f26a3 100644 --- a/recipes/build-tools/flex.recipe +++ b/recipes/build-tools/flex.recipe @@ -3,7 +3,7 @@ class Recipe(recipe.Recipe): name = 'flex' version = '2.6.2' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] stype = SourceType.TARBALL url = 'https://github.com/westes/flex/releases/download/v{0}/flex-{0}.tar.gz'.format(version) tarball_checksum = '9a01437a1155c799b7dc2508620564ef806ba66250c36bf5f9034b1c207cb2c9' diff --git a/recipes/build-tools/orc.recipe b/recipes/build-tools/orc.recipe index e74bd13d..31af9f1c 100644 --- a/recipes/build-tools/orc.recipe +++ b/recipes/build-tools/orc.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): remotes = {'origin': 'https://gitlab.freedesktop.org/gstreamer/orc'} commit = 'origin/master' btype = BuildType.MESON - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] deps = ['meson'] meson_options = {'benchmarks': 'disabled', 'tests': 'disabled', 'tools': 'enabled', 'orc-test': 'enabled'} diff --git a/recipes/bzip2.recipe b/recipes/bzip2.recipe index 328f9505..f32f05c8 100644 --- a/recipes/bzip2.recipe +++ b/recipes/bzip2.recipe @@ -4,7 +4,7 @@ from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'bzip2' version = '1.0.6' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['LICENSE']}] stype = SourceType.TARBALL btype = BuildType.MESON # bzip2.org is dead diff --git a/recipes/cairo.recipe b/recipes/cairo.recipe index 27f55aa1..09e29f4f 100644 --- a/recipes/cairo.recipe +++ b/recipes/cairo.recipe @@ -7,8 +7,8 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://cairographics.org/releases/cairo-%(version)s.tar.xz' tarball_checksum = '8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16' - # either LGPLv2.1 or MPLv1.1 - licenses = [License.LGPLv2_1] + # Either LGPL-2.1+ or MPL-1.1 + licenses = [License.LGPLv2_1Plus, {License.MPLv1_1: ['COPYING-MPL-1.1']}] autoreconf = True autoreconf_sh = 'NOCONFIGURE=1 ./autogen.sh' deps = ['glib', 'libpng', 'zlib', 'pixman', 'fontconfig', 'freetype'] diff --git a/recipes/docbook-xsl.recipe b/recipes/docbook-xsl.recipe index a85be6fd..d1a40fee 100644 --- a/recipes/docbook-xsl.recipe +++ b/recipes/docbook-xsl.recipe @@ -3,7 +3,7 @@ class Recipe(recipe.Recipe): name = 'docbook-xsl' version = '1.79.1' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] btype = BuildType.CUSTOM stype = SourceType.TARBALL url = 'sf://docbook/%(name)s-%(version)s.tar.bz2' diff --git a/recipes/expat.recipe b/recipes/expat.recipe index c9c0abf1..46643550 100644 --- a/recipes/expat.recipe +++ b/recipes/expat.recipe @@ -4,7 +4,7 @@ class Recipe(recipe.Recipe): name = 'expat' version = '2.2.5' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] stype = SourceType.TARBALL url = 'https://github.com/libexpat/libexpat/releases/download/R_2_2_5/%(name)s-%(version)s.tar.bz2' tarball_checksum = 'd9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6' diff --git a/recipes/flac.recipe b/recipes/flac.recipe index dbfe90f8..83bbc2b1 100644 --- a/recipes/flac.recipe +++ b/recipes/flac.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): name = 'flac' version = '1.3.2' # only libraries are Xiph.org (aka BSD-like), tools are GPLv2+ and defined below - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING.Xiph']}] stype = SourceType.TARBALL url = 'xiph://' tarball_checksum = '91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f' diff --git a/recipes/fontconfig.recipe b/recipes/fontconfig.recipe index 13b67a10..db368651 100644 --- a/recipes/fontconfig.recipe +++ b/recipes/fontconfig.recipe @@ -8,7 +8,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://www.freedesktop.org/software/fontconfig/release/fontconfig-%(version)s.tar.gz' tarball_checksum = '064b9ebf060c9e77011733ac9dc0e2ce92870b574cca2405e11f5353a683c334' - licenses = [License.MIT] + licenses = [{License.MIT: ['COPYING']}] configure_options = '--disable-docs' deps = ['expat', 'freetype', 'zlib', 'bzip2'] autoreconf = True diff --git a/recipes/freetype.recipe b/recipes/freetype.recipe index d7202c73..c20e2170 100644 --- a/recipes/freetype.recipe +++ b/recipes/freetype.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'savannah://.tar.bz2' tarball_checksum = 'e6ffba3c8cef93f557d1f767d7bc3dee860ac7a3aaff588a521e081bc36f4c8a' - licenses = [License.FreeType, License.GPLv2Plus] + licenses = [{License.FreeType: ['docs/LICENSE.TXT']}, License.GPLv2Plus] configure_tpl = "%(config-sh)s --prefix=%(prefix)s --libdir=%(libdir)s --with-harfbuzz=no" deps = ['zlib', 'bzip2', 'libpng'] patches = ['freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch'] diff --git a/recipes/glib-networking.recipe b/recipes/glib-networking.recipe index e6e8bccb..f0f62ddb 100644 --- a/recipes/glib-networking.recipe +++ b/recipes/glib-networking.recipe @@ -5,7 +5,7 @@ from cerbero.utils.shell import which class Recipe(recipe.Recipe): name = 'glib-networking' version = '2.56.1' - licenses = [License.LGPLv2Plus] + licenses = [{License.LGPLv2Plus: None, License.Misc: ['LICENSE_EXCEPTION']}] stype = SourceType.TARBALL btype = BuildType.MESON url = 'gnome://' diff --git a/recipes/gnutls.recipe b/recipes/gnutls.recipe index c1f7f313..e5a36f0e 100644 --- a/recipes/gnutls.recipe +++ b/recipes/gnutls.recipe @@ -10,7 +10,7 @@ class Recipe(recipe.Recipe): tarball_checksum = 'ae2248d9e78747cf9c469dde81ff8f90b56838b707a0637f3f7d4eee90e80234' stype = SourceType.TARBALL # main library is LGPLv2+ and binaries is GPLv3+ and defined below - licenses = [License.LGPLv2Plus] + licenses = [{License.LGPLv2Plus: None, License.Misc: ['LICENSE']}] configure_options = "--enable-local-libopts --disable-guile --disable-openssl-compatibility \ --without-p11-kit --enable-static --enable-zlib --enable-shared \ --disable-doc --disable-tests --with-included-unistring" diff --git a/recipes/graphene.recipe b/recipes/graphene.recipe index 1c0969c6..92e2ac6d 100644 --- a/recipes/graphene.recipe +++ b/recipes/graphene.recipe @@ -27,7 +27,7 @@ class Recipe(recipe.Recipe): version = '1.8.2' url = 'https://github.com/ebassi/graphene/archive/{0}.tar.gz'.format(version) tarball_checksum = '8c7d895536936e65c7f859f87bd14c258ac7f2c4ec999010e39e658f47c4d2ee' - licenses = [License.MIT] + licenses = [{License.MIT: ['LICENSE']}] # Disable NEON completely, it's broken and experimental meson_options = {'arm_neon' : 'false', 'introspection' : 'false' } diff --git a/recipes/harfbuzz.recipe b/recipes/harfbuzz.recipe index feec37b5..9b6b5672 100644 --- a/recipes/harfbuzz.recipe +++ b/recipes/harfbuzz.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://www.freedesktop.org/software/%(name)s/release/%(name)s-%(version)s.tar.bz2' tarball_checksum = '84574e1b1f65ca694cb8fb6905309665c0368af18a312357f8ff886ee2f29563' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING', 'src/hb-ucdn/COPYING']}] deps = ['fontconfig', 'cairo', 'glib'] configure_options = "--enable-static --with-icu=no" autoreconf = True diff --git a/recipes/lame.recipe b/recipes/lame.recipe index c1b2bf44..3fee8f33 100644 --- a/recipes/lame.recipe +++ b/recipes/lame.recipe @@ -3,7 +3,7 @@ class Recipe(recipe.Recipe): version = '3.100' name = 'lame' - licenses = [License.LGPLv2Plus] + licenses = [{License.LGPLv2Plus: None, License.Misc: ['README', 'LICENSE']}] stype = SourceType.TARBALL configure_options = ' --enable-static --disable-frontend --disable-decoder' url = 'sf://.tar.gz' 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' diff --git a/recipes/libffi.recipe b/recipes/libffi.recipe index 6876ae50..9dafdc16 100644 --- a/recipes/libffi.recipe +++ b/recipes/libffi.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '3.2.9999' remotes = {'origin': 'https://github.com/{0}/{0}.git'.format(name)} commit = '369ef49f71186fc9d6ab15614488ad466fac3fc1' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['LICENSE']}] btype = BuildType.MESON patches = [name + '/libffi-port-to-meson-and-msvc.patch'] diff --git a/recipes/libjpeg-turbo.recipe b/recipes/libjpeg-turbo.recipe index 2fbff948..92b4628a 100644 --- a/recipes/libjpeg-turbo.recipe +++ b/recipes/libjpeg-turbo.recipe @@ -4,7 +4,7 @@ class Recipe(recipe.Recipe): name = 'libjpeg-turbo' version = '1.5.3' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['LICENSE.md']}] stype = SourceType.TARBALL url = 'sf://.tar.gz' tarball_checksum = 'b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523' diff --git a/recipes/libkate.recipe b/recipes/libkate.recipe index 519c5feb..0335ebb3 100644 --- a/recipes/libkate.recipe +++ b/recipes/libkate.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'xiph://kate/libkate-%(version)s.tar.gz' tarball_checksum = 'c40e81d5866c3d4bf744e76ce0068d8f388f0e25f7e258ce0c8e76d7adc87b68' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] deps = ['libogg', 'libpng'] patches = ['libkate/0001-be-more-permissive-with-automake-errors-now-that-we-.patch'] diff --git a/recipes/libogg.recipe b/recipes/libogg.recipe index f8dccf5e..910ae9a6 100644 --- a/recipes/libogg.recipe +++ b/recipes/libogg.recipe @@ -8,7 +8,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'xiph://ogg/%(name)s-%(version)s.tar.xz' tarball_checksum = '4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] autoreconf = True patches = ['libogg/0001-Fix-iOS-build.patch'] diff --git a/recipes/libpng.recipe b/recipes/libpng.recipe index 5b998e76..4c728ca9 100644 --- a/recipes/libpng.recipe +++ b/recipes/libpng.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'sf://' tarball_checksum = '23912ec8c9584917ed9b09c5023465d71709dce089be503c7867fec68a93bcd7' - licenses = [License.LibPNG] + licenses = [{License.LibPNG: ['LICENSE']}] deps = ['zlib'] patches = [name + '/0001-neon-fix-function-export-names-for-iOS-armv7.patch'] diff --git a/recipes/libsrtp.recipe b/recipes/libsrtp.recipe index dc5f35e1..5aab116c 100644 --- a/recipes/libsrtp.recipe +++ b/recipes/libsrtp.recipe @@ -10,7 +10,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://github.com/cisco/%(name)s/archive/v%(version)s.tar.gz' tarball_checksum = '1a3e7904354d55e45b3c5c024ec0eab1b8fa76fdbf4dd2ea2625dad2b3c6edde' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['LICENSE']}] patches = ['libsrtp/0001-Don-t-create-a-symlink-if-there-is-no-SHAREDLIBVERSI.patch', 'libsrtp/0002-ios-Remove-flags-incompatible-with-fembed-bitcode.patch'] 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' diff --git a/recipes/libunwind.recipe b/recipes/libunwind.recipe index 95a635ec..e02e4849 100644 --- a/recipes/libunwind.recipe +++ b/recipes/libunwind.recipe @@ -3,7 +3,7 @@ class Recipe(recipe.Recipe): name = 'libunwind' version = '1.1' - licenses = [License.MIT] + licenses = [{License.MIT: ['COPYING']}] stype = SourceType.TARBALL url = 'savannah://.tar.gz' tarball_checksum = '9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a' diff --git a/recipes/libusrsctp.recipe b/recipes/libusrsctp.recipe index 481c08e5..26fff85f 100644 --- a/recipes/libusrsctp.recipe +++ b/recipes/libusrsctp.recipe @@ -34,7 +34,7 @@ class Recipe(recipe.Recipe): commit = 'f4819e1b177f7bfdd761c147f5a649b9f1a78c06'; stype = SourceType.GIT autoreconf = True - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['LICENSE.md']}] configure_options = '--disable-debug --enable-static --enable-shared' files_libs = ['libusrsctp'] diff --git a/recipes/libvorbis.recipe b/recipes/libvorbis.recipe index 0133e096..d710c8e9 100644 --- a/recipes/libvorbis.recipe +++ b/recipes/libvorbis.recipe @@ -8,7 +8,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'xiph://vorbis/libvorbis-%(version)s.tar.xz' tarball_checksum = 'af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] deps = ['libogg'] config_sh = 'rm ltmain.sh && sh autogen.sh' patches = ['libvorbis/0001-Fix-linking-on-Android.patch', diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe index a75536a3..a4905413 100644 --- a/recipes/libvpx.recipe +++ b/recipes/libvpx.recipe @@ -11,7 +11,7 @@ class Recipe(recipe.Recipe): url = 'https://github.com/webmproject/libvpx/archive/%(version)s.tar.gz' tarball_dirname = 'libvpx-' + version[1:] tarball_checksum = '1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238' - licenses = [License.BSD] + licenses = [{License.BSD: ['LICENSE'], License.Misc: ['PATENTS']}] btype = BuildType.MAKEFILE configure_tpl = "./configure --disable-dependency-tracking --prefix=%(prefix)s "\ "--libdir=%(libdir)s %(options)s" diff --git a/recipes/libxml2.recipe b/recipes/libxml2.recipe index 55bc1e32..15fc8761 100644 --- a/recipes/libxml2.recipe +++ b/recipes/libxml2.recipe @@ -9,7 +9,7 @@ class Recipe(recipe.Recipe): #url = 'https://xmlsoft.org/sources/libxml2-%(version)s.tar.gz' url = 'https://gstreamer.freedesktop.org/src/mirror/libxml2-%(version)s.tar.gz' tarball_checksum = 'f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c' - licenses = [License.MIT] + licenses = [{License.MIT: ['COPYING']}] deps = [ 'zlib' ] autoreconf = True patches = ['libxml2/0003-configure-fix-python-dir-prefix.patch'] diff --git a/recipes/openh264.recipe b/recipes/openh264.recipe index 396fe18b..7371d7ea 100644 --- a/recipes/openh264.recipe +++ b/recipes/openh264.recipe @@ -9,7 +9,7 @@ class Recipe(recipe.Recipe): tarball_checksum = '9c07c38d7de00046c9c52b12c76a2af7648b70d05bd5460c8b67f6895738653f' stype = SourceType.TARBALL btype = BuildType.MAKEFILE - licenses = [License.BSD] + licenses = [{License.BSD: ['LICENSE']}] files_libs = ['libopenh264'] files_devel = ['include/wels', 'lib/pkgconfig/openh264.pc'] patches = ['openh264/0001-openh264-Build-for-8.0-fembed-bitcode.patch', diff --git a/recipes/openjpeg.recipe b/recipes/openjpeg.recipe index 8c7332ab..c822c549 100644 --- a/recipes/openjpeg.recipe +++ b/recipes/openjpeg.recipe @@ -7,7 +7,7 @@ from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): version = '2.3.0' name = 'openjpeg' - licenses = [License.BSD] + licenses = [{License.BSD: ['LICENSE.txt']}] stype = SourceType.TARBALL btype = BuildType.CMAKE url = 'https://github.com/uclouvain/openjpeg/archive/v%(version)s.tar.gz' diff --git a/recipes/openssl.recipe b/recipes/openssl.recipe index a4f0fccf..d5a2eb73 100644 --- a/recipes/openssl.recipe +++ b/recipes/openssl.recipe @@ -11,7 +11,7 @@ class Recipe(recipe.Recipe): # whenever a new release comes out, so make sure to mirror to fdo when # bumping the release! version = '1.1.1' - licenses = [License.OPENSSL] + licenses = [{License.OPENSSL: ['LICENSE']}] stype = SourceType.TARBALL url = 'https://ftp.openssl.org/source/{0}-{1}.tar.gz'.format(name, version) tarball_checksum = '2836875a0f89c03d0fdf483941512613a50cfb421d6fd94b9f41d7279d586a3d' diff --git a/recipes/opus.recipe b/recipes/opus.recipe index 9b11b4e5..7cf592de 100644 --- a/recipes/opus.recipe +++ b/recipes/opus.recipe @@ -4,7 +4,7 @@ class Recipe(recipe.Recipe): name = 'opus' version = '1.3' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] stype = SourceType.TARBALL url = 'xiph://.tar.gz' tarball_checksum = '4f3d69aefdf2dbaf9825408e452a8a414ffc60494c70633560700398820dc550' diff --git a/recipes/orc.recipe b/recipes/orc.recipe index d82eab08..55add452 100644 --- a/recipes/orc.recipe +++ b/recipes/orc.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): remotes = {'origin': 'https://gitlab.freedesktop.org/gstreamer/orc'} commit = 'origin/master' btype = BuildType.MESON - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] meson_options = {'benchmarks': 'disabled', 'tests': 'disabled', 'tools': 'enabled', 'orc-test': 'enabled'} diff --git a/recipes/pixman.recipe b/recipes/pixman.recipe index b7fb9f83..fdf3e292 100644 --- a/recipes/pixman.recipe +++ b/recipes/pixman.recipe @@ -9,7 +9,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://cairographics.org/releases/pixman-%(version)s.tar.gz' tarball_checksum = '21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e' - licenses = [License.MIT] + licenses = [{License.MIT: ['COPYING']}] autoreconf = True patches = ['pixman/0001-Fix-build-on-Android.patch', 'pixman/0002-Enable-CPU-detection-on-Android.patch', diff --git a/recipes/speex.recipe b/recipes/speex.recipe index c141c301..36ed9ef5 100644 --- a/recipes/speex.recipe +++ b/recipes/speex.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'xiph://.tar.gz' tarball_checksum = 'caa27c7247ff15c8521c2ae0ea21987c9e9710a8f2d3448e8b79da9806bce891' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] deps = ['libogg'] allow_parallel_build = False diff --git a/recipes/tiff.recipe b/recipes/tiff.recipe index dfe17d83..4cb22847 100644 --- a/recipes/tiff.recipe +++ b/recipes/tiff.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.TARBALL url = 'https://download.osgeo.org/libtiff/tiff-%(version)s.tar.gz' tarball_checksum = '6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c0026cfcd' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYRIGHT']}] deps = [ 'zlib', 'libjpeg-turbo' ] configure_options = ' --disable-cxx no_gl=yes' diff --git a/recipes/tremor.recipe b/recipes/tremor.recipe index 7b83c60c..3531932c 100644 --- a/recipes/tremor.recipe +++ b/recipes/tremor.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): stype = SourceType.SVN url = 'https://svn.xiph.org/trunk/Tremor/' revision = '19427' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] deps = ['libogg'] config_sh = 'sh autogen.sh' patches = ['tremor/0001-Prevent-symbol-conflicts.patch', 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 ' diff --git a/recipes/webrtc-audio-processing.recipe b/recipes/webrtc-audio-processing.recipe index d307b257..d2a67a3d 100644 --- a/recipes/webrtc-audio-processing.recipe +++ b/recipes/webrtc-audio-processing.recipe @@ -5,7 +5,7 @@ from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'webrtc-audio-processing' version = '0.2' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['COPYING']}] btype = BuildType.MESON stype = SourceType.TARBALL url = 'https://freedesktop.org/software/pulseaudio/%(name)s/%(name)s-%(version)s.tar.xz' diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe index 4b9d603e..2bdc9cf6 100644 --- a/recipes/zlib.recipe +++ b/recipes/zlib.recipe @@ -9,7 +9,7 @@ class Recipe(recipe.Recipe): btype = BuildType.MESON url = 'https://zlib.net/fossils/zlib-%(version)s.tar.gz' tarball_checksum = 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1' - licenses = [License.BSD_like] + licenses = [{License.BSD_like: ['README']}] patches = ['zlib/0001-win32-fix-dll-name.patch', 'zlib/0001-Fix-test-builds-to-use-the-built-libz-headers-librar.patch', 'zlib/0001-Add-a-meson-port.patch'] |