mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
22af38b3d9
commit
efc97fe720
@@ -242,10 +242,8 @@ defined in the
|
|||||||
COMMERCIAL_AUDIO_PLUGINS ?= ""
|
COMMERCIAL_AUDIO_PLUGINS ?= ""
|
||||||
COMMERCIAL_VIDEO_PLUGINS ?= ""
|
COMMERCIAL_VIDEO_PLUGINS ?= ""
|
||||||
|
|
||||||
If you
|
If you want to enable these components, you can do so by making sure you have
|
||||||
want to enable these components, you can do so by making sure you have
|
statements similar to the following in your ``local.conf`` configuration file::
|
||||||
statements similar to the following in your ``local.conf`` configuration
|
|
||||||
file::
|
|
||||||
|
|
||||||
COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \
|
COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \
|
||||||
gst-plugins-ugly-mpegaudioparse"
|
gst-plugins-ugly-mpegaudioparse"
|
||||||
@@ -253,20 +251,26 @@ file::
|
|||||||
gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
|
gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
|
||||||
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp"
|
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp"
|
||||||
|
|
||||||
|
Of course, you could also create a matching list for those components using the
|
||||||
Of course, you could also create a matching list for those
|
more general "commercial" string in the :term:`LICENSE_FLAGS_ACCEPTED` variable,
|
||||||
components using the more general "commercial" in the
|
but that would also enable all the other packages with :term:`LICENSE_FLAGS`
|
||||||
:term:`LICENSE_FLAGS_ACCEPTED` variable, but that would also enable all
|
|
||||||
the other packages with :term:`LICENSE_FLAGS`
|
|
||||||
containing "commercial", which you may or may not want::
|
containing "commercial", which you may or may not want::
|
||||||
|
|
||||||
LICENSE_FLAGS_ACCEPTED = "commercial"
|
LICENSE_FLAGS_ACCEPTED = "commercial"
|
||||||
|
|
||||||
Specifying audio and video plugins as part of the
|
Specifying audio and video plugins as part of the
|
||||||
``COMMERCIAL_AUDIO_PLUGINS`` and ``COMMERCIAL_VIDEO_PLUGINS`` statements
|
:term:`COMMERCIAL_AUDIO_PLUGINS` and :term:`COMMERCIAL_VIDEO_PLUGINS` statements
|
||||||
(along with the enabling :term:`LICENSE_FLAGS_ACCEPTED`) includes the
|
(along with :term:`LICENSE_FLAGS_ACCEPTED`) includes the plugins or
|
||||||
plugins or components into built images, thus adding support for media
|
components into built images, thus adding support for media formats or
|
||||||
formats or components.
|
components.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
GStreamer "ugly" and "bad" plugins are actually available through
|
||||||
|
open source licenses. However, the "ugly" ones can be subject to software
|
||||||
|
patents in some countries, making it necessary to pay licensing fees
|
||||||
|
to distribute them. The "bad" ones are just deemed unreliable by the
|
||||||
|
GStreamer community and should therefore be used with care.
|
||||||
|
|
||||||
Maintaining Open Source License Compliance During Your Product's Lifecycle
|
Maintaining Open Source License Compliance During Your Product's Lifecycle
|
||||||
==========================================================================
|
==========================================================================
|
||||||
|
|||||||
@@ -1313,6 +1313,26 @@ system and gives an overview of their function and contents.
|
|||||||
optional at the distribution level, in case the hardware supports
|
optional at the distribution level, in case the hardware supports
|
||||||
Bluetooth but you do not ever intend to use it.
|
Bluetooth but you do not ever intend to use it.
|
||||||
|
|
||||||
|
:term:`COMMERCIAL_AUDIO_PLUGINS`
|
||||||
|
This variable is specific to the :yocto_git:`GStreamer recipes
|
||||||
|
</poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
|
||||||
|
It allows to build the GStreamer `"ugly"
|
||||||
|
<https://github.com/GStreamer/gst-plugins-ugly>`__ and
|
||||||
|
`"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ audio plugins.
|
||||||
|
|
||||||
|
See the :ref:`dev-manual/licenses:other variables related to commercial licenses`
|
||||||
|
section for usage details.
|
||||||
|
|
||||||
|
:term:`COMMERCIAL_VIDEO_PLUGINS`
|
||||||
|
This variable is specific to the :yocto_git:`GStreamer recipes
|
||||||
|
</poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
|
||||||
|
It allows to build the GStreamer `"ugly"
|
||||||
|
<https://github.com/GStreamer/gst-plugins-ugly>`__ and
|
||||||
|
`"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ video plugins.
|
||||||
|
|
||||||
|
See the :ref:`dev-manual/licenses:other variables related to commercial licenses`
|
||||||
|
section for usage details.
|
||||||
|
|
||||||
:term:`COMMON_LICENSE_DIR`
|
:term:`COMMON_LICENSE_DIR`
|
||||||
Points to ``meta/files/common-licenses`` in the
|
Points to ``meta/files/common-licenses`` in the
|
||||||
:term:`Source Directory`, which is where generic license
|
:term:`Source Directory`, which is where generic license
|
||||||
|
|||||||
Reference in New Issue
Block a user