diff options
author | bkylerussell@gmail.com <bkylerussell@gmail.com> | 2021-07-03 20:28:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-05 10:59:40 +0100 |
commit | 768d6210677953cea4e1db5a5fc6be4c6598f36a (patch) | |
tree | 03756d28a62cb4ac568cb9461a85d8bbfdbb6960 /meta/recipes-multimedia/gstreamer | |
parent | e872d4ea6eb7d0e08a780a64baff09ea9a79fd77 (diff) | |
download | poky-768d6210677953cea4e1db5a5fc6be4c6598f36a.tar.gz |
gstreamer: add libgst packages to PACKAGES_DYNAMIC
This allows the dynamic libgst* plugin packages and libgstrtspserver-1.0
to be used correctly in RDEPENDS.
All gstreamer1.0-plugins-* recipes and gstreamer1.0-rtsp-server include
gstreamer1.0-plugins-packaging.inc, which creates multiple libgst*
packages through split_gstreamer10_packages(), but only one of the
do_split_packages() regexes was included in PACKAGES_DYNAMIC, and only
for the plugins packages (through gstreamer1.0-plugins-common.inc).
Now the PACKAGES_DYNAMIC definition exists with the do_split_packages()
regexes.
(From OE-Core rev: d5650e00f7b26b8949ca3baad7df4b8a4ea918a7)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | 3 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc index dba96e0f6e..cb1c9aaec1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | |||
@@ -45,6 +45,3 @@ EXTRA_OEMESON += " \ | |||
45 | 45 | ||
46 | GIR_MESON_ENABLE_FLAG = "enabled" | 46 | GIR_MESON_ENABLE_FLAG = "enabled" |
47 | GIR_MESON_DISABLE_FLAG = "disabled" | 47 | GIR_MESON_DISABLE_FLAG = "disabled" |
48 | |||
49 | # Dynamically generate packages for all enabled plugins | ||
50 | PACKAGES_DYNAMIC = "^${PN}-.*" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc index 9a7a1b6afe..5b80a46b40 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | |||
@@ -6,6 +6,9 @@ | |||
6 | # This is mainly used by the gstreamer1.0-plugins-* plugin set recipes, | 6 | # This is mainly used by the gstreamer1.0-plugins-* plugin set recipes, |
7 | # but can be used in any recipe that produces GStreamer plugins. | 7 | # but can be used in any recipe that produces GStreamer plugins. |
8 | 8 | ||
9 | # Dynamically generate packages for all enabled plugins | ||
10 | PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*" | ||
11 | |||
9 | PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages " | 12 | PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages " |
10 | PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends " | 13 | PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends " |
11 | 14 | ||