### Install meson and ninja
-Meson 0.52 or newer is required.
-
-For cross-compilation Meson 0.54 or newer is required.
+Meson 0.59 or newer is required.
On Linux and macOS you can get meson through your package manager or using:
The plugin will be automatically enabled if possible, but you can ensure it by
passing `-Dbad=enabled -Dgst-plugins-bad:msdk=enabled` to `meson`.
+### Building plugins with (A)GPL-licensed dependencies
+
+Some plugins have GPL- or AGPL-licensed dependencies and will only be built
+if you have explicitly opted in to allow (A)GPL-licensed dependencies by
+passing `-Dgpl=enabled` to Meson.
+
+List of plugins with (A)GPL-licensed dependencies (non-exhaustive) in gst-plugins-bad:
+ - dts (DTS audio decoder plugin)
+ - faad (Free AAC audio decoder plugin)
+ - iqa (Image quality assessment plugin based on dssim-c)
+ - mpeg2enc (MPEG-2 video encoder plugin)
+ - mplex (audio/video multiplexer plugin)
+ - ofa (Open Fingerprint Architecture library plugin)
+ - resindvd (Resin DVD playback plugin)
+ - x265 (HEVC/H.265 video encoder plugin)
+
+List of plugins with (A)GPL-licensed dependencies (non-exhaustive) in gst-plugins-ugly:
+ - a52dec (Dolby Digital (AC-3) audio decoder plugin)
+ - cdio (CD audio source plugin based on libcdio)
+ - dvdread (DVD video source plugin based on libdvdread)
+ - mpeg2dec (MPEG-2 video decoder plugin based on libmpeg2)
+ - sidplay (Commodore 64 audio decoder plugin based on libsidplay)
+ - x264 (H.264 video encoder plugin based on libx264)
+
### Static build
Since *1.18.0* when doing a static build using `--default-library=static`, a
This will cause the features/plugins that are not registered to not be included in the final gstreamer-full library.
-This is an experimental feature, backward uncompatible changes could still be
+This is an experimental feature, backward incompatible changes could still be
made in the future.
# Development environment
./gst-env.py external_script.sh
```
+For more extensive documentation about the development environment go to [the
+documentation](https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html).
+
## Custom subprojects
We also added a meson option, `custom_subprojects`, that allows the user
from the [git repository](https://github.com/mesonbuild/meson/) if you want to
use the latest master branch for some reason.
-**ARM64 native only**: You might need
-[native upstream ARM64 support fix](https://github.com/mesonbuild/meson/pull/7432)
-which is expected to be a part of Meson 0.55.1.
-If your Meson package version which was installed via `pip3` is lower than 0.55.1,
-then you need to use [the latest master branch](https://github.com/mesonbuild/meson/).
-
### Running Meson on Windows
At present, to build with Visual Studio, you need to run Meson from inside the
```
BUILDDIR=$PWD/winebuild/
export WINEPREFIX=$BUILDDIR/wine-prefix/ && mkdir -p $WINEPREFIX
-# Setting the prefix is mandatory as it is used to setup symlinks during uninstalled development
+# Setting the prefix is mandatory as it is used to setup symlinks within the development environment
meson/meson.py $BUILDDIR --cross-file meson/cross/linux-mingw-w64-64bit.txt -Dgst-plugins-bad:vulkan=disabled -Dorc:gtk_doc=disabled --prefix=$BUILDDIR/wininstall/ -Djson-glib:gtk_doc=disabled
meson/meson.py install -C $BUILDDIR/
```
> __NOTE__: You should use `meson install -C $BUILDDIR` each time you make a change
-> instead of the usual `ninja -C build` as the environment is not uninstalled.
+> instead of the usual `ninja -C build` as this is not in the development environment.
#### The development environment