]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer: add libgst packages to PACKAGES_DYNAMIC
authorbkylerussell@gmail.com <bkylerussell@gmail.com>
Sun, 4 Jul 2021 00:28:11 +0000 (20:28 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jul 2021 09:59:24 +0000 (10:59 +0100)
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.

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>
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc

index dba96e0f6e4713068d8af223d81c008c9adf6476..cb1c9aaec18af2c9a3620701602cfd592f7da21b 100644 (file)
@@ -45,6 +45,3 @@ EXTRA_OEMESON += " \
 
 GIR_MESON_ENABLE_FLAG = "enabled"
 GIR_MESON_DISABLE_FLAG = "disabled"
-
-# Dynamically generate packages for all enabled plugins
-PACKAGES_DYNAMIC = "^${PN}-.*"
index 9a7a1b6afe6e9313e999deceaa914487c6dcd3b6..5b80a46b40447f21d20aa53ca5d8be2e3f8d5cc0 100644 (file)
@@ -6,6 +6,9 @@
 # This is mainly used by the gstreamer1.0-plugins-* plugin set recipes,
 # but can be used in any recipe that produces GStreamer plugins.
 
+# Dynamically generate packages for all enabled plugins
+PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*"
+
 PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages "
 PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends "