summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-02-21 11:40:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 15:43:25 +0000
commitefc97fe72091f8b0d0f7702d5ad337f48611249f (patch)
tree3faa63b5088190c8e199905aeafc8beb94c82f3a /documentation/dev-manual
parent22af38b3d9e97e5506832c5c0faadd6df747cdb7 (diff)
downloadpoky-efc97fe72091f8b0d0f7702d5ad337f48611249f.tar.gz
manuals: document COMMERCIAL_[AUDIO|VIDEO]_PLUGINS variables
- Add COMMERCIAL_[AUDIO|VIDEO]_PLUGINS variables to the variable index. - Clarify that these plugins are still open-source - Improve line width (From yocto-docs rev: 8b161faad6b698b33165f02e1f5e78a693c7817b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/licenses.rst30
1 files changed, 17 insertions, 13 deletions
diff --git a/documentation/dev-manual/licenses.rst b/documentation/dev-manual/licenses.rst
index 65914e5efe..9629dc5329 100644
--- a/documentation/dev-manual/licenses.rst
+++ b/documentation/dev-manual/licenses.rst
@@ -242,10 +242,8 @@ defined in the
242 COMMERCIAL_AUDIO_PLUGINS ?= "" 242 COMMERCIAL_AUDIO_PLUGINS ?= ""
243 COMMERCIAL_VIDEO_PLUGINS ?= "" 243 COMMERCIAL_VIDEO_PLUGINS ?= ""
244 244
245If you 245If you want to enable these components, you can do so by making sure you have
246want to enable these components, you can do so by making sure you have 246statements similar to the following in your ``local.conf`` configuration file::
247statements similar to the following in your ``local.conf`` configuration
248file::
249 247
250 COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \ 248 COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \
251 gst-plugins-ugly-mpegaudioparse" 249 gst-plugins-ugly-mpegaudioparse"
@@ -253,20 +251,26 @@ file::
253 gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" 251 gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
254 LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp" 252 LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp"
255 253
256 254Of course, you could also create a matching list for those components using the
257Of course, you could also create a matching list for those 255more general "commercial" string in the :term:`LICENSE_FLAGS_ACCEPTED` variable,
258components using the more general "commercial" in the 256but that would also enable all the other packages with :term:`LICENSE_FLAGS`
259:term:`LICENSE_FLAGS_ACCEPTED` variable, but that would also enable all
260the other packages with :term:`LICENSE_FLAGS`
261containing "commercial", which you may or may not want:: 257containing "commercial", which you may or may not want::
262 258
263 LICENSE_FLAGS_ACCEPTED = "commercial" 259 LICENSE_FLAGS_ACCEPTED = "commercial"
264 260
265Specifying audio and video plugins as part of the 261Specifying audio and video plugins as part of the
266``COMMERCIAL_AUDIO_PLUGINS`` and ``COMMERCIAL_VIDEO_PLUGINS`` statements 262:term:`COMMERCIAL_AUDIO_PLUGINS` and :term:`COMMERCIAL_VIDEO_PLUGINS` statements
267(along with the enabling :term:`LICENSE_FLAGS_ACCEPTED`) includes the 263(along with :term:`LICENSE_FLAGS_ACCEPTED`) includes the plugins or
268plugins or components into built images, thus adding support for media 264components into built images, thus adding support for media formats or
269formats or components. 265components.
266
267.. note::
268
269 GStreamer "ugly" and "bad" plugins are actually available through
270 open source licenses. However, the "ugly" ones can be subject to software
271 patents in some countries, making it necessary to pay licensing fees
272 to distribute them. The "bad" ones are just deemed unreliable by the
273 GStreamer community and should therefore be used with care.
270 274
271Maintaining Open Source License Compliance During Your Product's Lifecycle 275Maintaining Open Source License Compliance During Your Product's Lifecycle
272========================================================================== 276==========================================================================