Skip to contentSkip to conversation

gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC

PATCH New Jose Quaresma 1 participant 2 messages Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC

PACKAGES_DYNAMIC in gstreamer1.0-plugins-packaging.inc have libgst since 768d621

---
 .../gstreamer/gstreamer1.0-plugins-base_1.20.0.bb               | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.0.bb +0 -2
index c9fbc599ae..6afd51c01d 100644
@@ -19,8 +19,6 @@ DEPENDS += "iso-codes util-linux zlib"
 
 inherit gobject-introspection
 
-PACKAGES_DYNAMIC =+ "^libgst.*"
-
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to choose OpenGL APIs/platforms/window systems
 PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/2 gstreamer1.0-plugins-packaging: rename variables

---
 .../gstreamer/gstreamer1.0-plugins-packaging.inc              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc +2 -2
index e906053ac0..afc7be40c8 100644
@@ -38,11 +38,11 @@ python set_gstreamer10_metapkg_rdepends () {
     metapkg =  pn + '-meta'
     d.setVar('ALLOW_EMPTY:' + metapkg, "1")
     d.setVar('FILES:' + metapkg, "")
-    blacklist = [ pn, pn + '-meta' ]
+    exclude = [ pn, pn + '-meta' ]
     metapkg_rdepends = []
     pkgdest = d.getVar('PKGDEST')
     for pkg in oe.utils.packages_filter_out_system(d):
-        if pkg not in blacklist and pkg not in metapkg_rdepends:
+        if pkg not in exclude and pkg not in metapkg_rdepends:
             # See if the package is empty by looking at the contents of its PKGDEST subdirectory.
             # If this subdirectory is empty, then the package is.
             # Empty packages do not get added to the meta package's RDEPENDS
Signature · 1 line
2.35.1