diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2021-11-03 17:46:31 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-11-03 18:10:16 +0000 |
commit | 6600a95c10387eb4b7e8e3eacb706bda9b343360 (patch) | |
tree | 7f4504038c5119df89c708283e646716668940c5 /recipes/gst-plugins-bad-1.0.recipe | |
parent | 0b2add05b964d8a8c29934bcb5d1b70944dc83ba (diff) |
gst-plugins-bad: fix up license path for tarballs1.19.3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/766>
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
-rw-r--r-- | recipes/gst-plugins-bad-1.0.recipe | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 7ef533af..e5771a96 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -4,7 +4,11 @@ from cerbero.tools.libtool import LibtoolLibrary class Recipe(custom.GStreamer): name = 'gst-plugins-bad-1.0' btype = BuildType.MESON - licenses = [{License.LGPLv2Plus: None, License.BSD_like: ['subprojects/gst-plugins-bad/ext/sctp/usrsctp/LICENSE.md']}] + # License path/location is different in tarball vs. monorepo + if custom.GStreamer.stype == SourceType.TARBALL: + licenses = [{License.LGPLv2Plus: None, License.BSD_like: ['ext/sctp/usrsctp/LICENSE.md']}] + else: + licenses = [{License.LGPLv2Plus: None, License.BSD_like: ['subprojects/gst-plugins-bad/ext/sctp/usrsctp/LICENSE.md']}] tarball_checksum = '50193a23b13713ccb32ee5d1852faeeaed29b91f8398285acdfd522fa3e16835' # Explicitly enable plugins that we provide dependencies for to ensure that # we error out if they weren't found. |