[oe] [PATCH] gst-plugins: fixed pattern for meta package dependencies.

Koen Kooi k.kooi at student.utwente.nl
Thu May 21 14:07:56 UTC 2009


On 21-05-09 15:21, Ihar Hrachyshka wrote:
> 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).

This patch looks OK, but you need to bump PR for the affected recipes as 
well. (Someone will probably mention INC_PR soon ;))

regards,

Koen

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






More information about the Openembedded-devel mailing list