Skip to contentSkip to conversation

gstreamer: add libgst packages to PACKAGES_DYNAMIC

PATCH New [email protected] 1 participant 1 message Jul 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../gstreamer/gstreamer1.0-plugins-common.inc                  | 3 ---
 .../gstreamer/gstreamer1.0-plugins-packaging.inc               | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc +0 -3
index dba96e0f6e..cb1c9aaec1 100644
@@ -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}-.*"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc +3 -0
index 9a7a1b6afe..5b80a46b40 100644
@@ -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 "
 
Signature · 1 line
2.25.1