[oe] [PATCH] gst-plugins: fixed pattern for meta package dependencies.
Ihar Hrachyshka
ihar.hrachyshka at gmail.com
Thu May 21 13:21:34 UTC 2009
This fixes package name matching so that gst-plugins-*-meta
packages include all the plugin ones. The current matching
implementation doesn't make meta packages depend on gst-plugins
with 'locale' and 'dev' in their names (f.e. gstfbdevsink).
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
---
recipes/gstreamer/gst-plugins.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/gstreamer/gst-plugins.inc b/recipes/gstreamer/gst-plugins.inc
index bcb3e39..0156cff 100644
--- a/recipes/gstreamer/gst-plugins.inc
+++ b/recipes/gstreamer/gst-plugins.inc
@@ -33,7 +33,7 @@ python populate_packages_prepend () {
metapkg_rdepends = []
packages = bb.data.getVar('PACKAGES', d, 1).split()
for pkg in packages[1:]:
- if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count('dev') and not pkg.count( 'locale' ):
+ if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-locale'):
metapkg_rdepends.append(pkg)
bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
bb.data.setVar('DESCRIPTION_' + metapkg, pn + ' meta package', d)
--
1.6.3.1
More information about the Openembedded-devel
mailing list