All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gst-plugins: fixed pattern for meta package dependencies.
@ 2009-05-21 13:21 Ihar Hrachyshka
  2009-05-21 14:07 ` Koen Kooi
  2009-05-21 15:47 ` Phil Blundell
  0 siblings, 2 replies; 13+ messages in thread
From: Ihar Hrachyshka @ 2009-05-21 13:21 UTC (permalink / raw)
  To: openembedded-devel

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@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




^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-05-24 20:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 13:21 [PATCH] gst-plugins: fixed pattern for meta package dependencies Ihar Hrachyshka
2009-05-21 14:07 ` Koen Kooi
2009-05-21 14:23   ` Otavio Salvador
2009-05-21 14:23   ` Ihar Hrachyshka
2009-05-21 14:50   ` Ihar Hrachyshka
2009-05-21 15:37     ` Ihar Hrachyshka
2009-05-21 15:44       ` Koen Kooi
2009-05-21 16:07         ` Ihar Hrachyshka
2009-05-21 15:44       ` Ihar Hrachyshka
2009-05-21 15:47 ` Phil Blundell
2009-05-21 15:48   ` Phil Blundell
2009-05-24 18:37     ` Ihar Hrachyshka
2009-05-24 19:59       ` Phil Blundell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.