Received: from [209.85.220.172] (helo=mail-fx0-f172.google.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M7AZR-0008Uy-0g for openembedded-devel@lists.openembedded.org; Thu, 21 May 2009 17:52:38 +0200 Received: by fxm20 with SMTP id 20so1150677fxm.12 for ; Thu, 21 May 2009 08:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=JUY0q7FgvxD3JzWn9zqlaiw8KcpcbK+tmOORGejDq1E=; b=CgIWzaR+HzU2jRFTIrmj8k35LMf0lSPwzlRthSJ6cbBrzFvmG/7kEV9sXcepB+tAFJ WsAXianjp5xQL4BkeZWnMslrWCqQJWU/94QX9UjO8q0r69lEtTJqy/Kj3xSLbu0TlDFq vhM4nvGxnWYiY5VSi6zHVRrx5BmYIwVoX+ZWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=CFztKSiOnqOaouvG84357WUnyq9YU0XWbcmFIujdpMIoe+eyGx9hh0VxTNUoz8EbeE 69t5xwuSyvOf6eFF86fKEvsGrDbTBdxpsspUkR6VUHzteUbMa+IQP1KLTuyH0uRIClVc jHG17CqFoMPGZYBpgIS6b1dwpDtMpm8PWXsfA= Received: by 10.103.52.13 with SMTP id e13mr1437199muk.52.1242920699613; Thu, 21 May 2009 08:44:59 -0700 (PDT) Received: from localhost (cpmsq.epam.com [217.21.56.2]) by mx.google.com with ESMTPS id e10sm3632557muf.14.2009.05.21.08.44.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 May 2009 08:44:59 -0700 (PDT) From: Ihar Hrachyshka To: openembedded-devel@lists.openembedded.org Date: Thu, 21 May 2009 18:44:55 +0300 Message-Id: <1242920695-30696-1-git-send-email-ihar.hrachyshka@gmail.com> X-Mailer: git-send-email 1.6.3.1 In-Reply-To: References: Subject: [PATCH] gst-plugins: fixed pattern for meta package dependencies. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 15:52:41 -0000 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). Also use INC_PR for gstremer-plugins as requested on ML. Signed-off-by: Ihar Hrachyshka --- recipes/gstreamer/gst-plugins-bad_0.10.11.bb | 2 ++ recipes/gstreamer/gst-plugins-bad_0.10.6.bb | 3 ++- recipes/gstreamer/gst-plugins-base_0.10.17.bb | 2 ++ recipes/gstreamer/gst-plugins-base_0.10.22.bb | 2 ++ recipes/gstreamer/gst-plugins-base_0.10.23.bb | 2 ++ recipes/gstreamer/gst-plugins-good_0.10.13.bb | 2 +- recipes/gstreamer/gst-plugins-good_0.10.14.bb | 2 ++ recipes/gstreamer/gst-plugins-ugly-sid_0.10.7.bb | 3 ++- recipes/gstreamer/gst-plugins-ugly_0.10.10.bb | 2 +- recipes/gstreamer/gst-plugins-ugly_0.10.11.bb | 2 ++ recipes/gstreamer/gst-plugins.inc | 4 +++- 11 files changed, 21 insertions(+), 5 deletions(-) diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.11.bb b/recipes/gstreamer/gst-plugins-bad_0.10.11.bb index dbfe6a9..a90b88e 100644 --- a/recipes/gstreamer/gst-plugins-bad_0.10.11.bb +++ b/recipes/gstreamer/gst-plugins-bad_0.10.11.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + SRC_URI += "file://vorbisenc.h file://vorbisdec.h \ file://ivorbis-thumb.patch;patch=1" DEPENDS += "gst-plugins-base directfb" diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.6.bb b/recipes/gstreamer/gst-plugins-bad_0.10.6.bb index df7bf75..bfc7217 100644 --- a/recipes/gstreamer/gst-plugins-bad_0.10.6.bb +++ b/recipes/gstreamer/gst-plugins-bad_0.10.6.bb @@ -1,5 +1,6 @@ require gst-plugins.inc -PR = "r2" + +PR = "${INC_PR}.1" SRC_URI += "file://vorbisenc.h file://vorbisdec.h \ file://gst-plugins-directfb-fix.patch;patch=1;pnum=2 \ diff --git a/recipes/gstreamer/gst-plugins-base_0.10.17.bb b/recipes/gstreamer/gst-plugins-base_0.10.17.bb index 0a1f17f..3b07668 100644 --- a/recipes/gstreamer/gst-plugins-base_0.10.17.bb +++ b/recipes/gstreamer/gst-plugins-base_0.10.17.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + PROVIDES += "gst-plugins" # gst-plugins-base only builds the alsa plugin diff --git a/recipes/gstreamer/gst-plugins-base_0.10.22.bb b/recipes/gstreamer/gst-plugins-base_0.10.22.bb index 3086d93..bcbfd68 100644 --- a/recipes/gstreamer/gst-plugins-base_0.10.22.bb +++ b/recipes/gstreamer/gst-plugins-base_0.10.22.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + PROVIDES += "gst-plugins" PR = "r2" diff --git a/recipes/gstreamer/gst-plugins-base_0.10.23.bb b/recipes/gstreamer/gst-plugins-base_0.10.23.bb index d3bfb6c..26dcfe3 100644 --- a/recipes/gstreamer/gst-plugins-base_0.10.23.bb +++ b/recipes/gstreamer/gst-plugins-base_0.10.23.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + PROVIDES += "gst-plugins" # gst-plugins-base only builds the alsa plugin diff --git a/recipes/gstreamer/gst-plugins-good_0.10.13.bb b/recipes/gstreamer/gst-plugins-good_0.10.13.bb index b77d1fc..d077d06 100644 --- a/recipes/gstreamer/gst-plugins-good_0.10.13.bb +++ b/recipes/gstreamer/gst-plugins-good_0.10.13.bb @@ -1,6 +1,6 @@ require gst-plugins.inc -PR = "r1" +PR = "${INC_PR}.1" inherit gconf diff --git a/recipes/gstreamer/gst-plugins-good_0.10.14.bb b/recipes/gstreamer/gst-plugins-good_0.10.14.bb index d9f0349..d077d06 100644 --- a/recipes/gstreamer/gst-plugins-good_0.10.14.bb +++ b/recipes/gstreamer/gst-plugins-good_0.10.14.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + inherit gconf EXTRA_OECONF += " --enable-experimental --enable-gst_v4l2 --enable-gconftool --enable-external --with-check=no" diff --git a/recipes/gstreamer/gst-plugins-ugly-sid_0.10.7.bb b/recipes/gstreamer/gst-plugins-ugly-sid_0.10.7.bb index 77c4184..40a4eb2 100644 --- a/recipes/gstreamer/gst-plugins-ugly-sid_0.10.7.bb +++ b/recipes/gstreamer/gst-plugins-ugly-sid_0.10.7.bb @@ -1,7 +1,8 @@ require gst-plugins.inc DEPENDS += "gst-plugins-base libsidplay" PROVIDES += "gst-plugin-sid" -PR = "r5" + +PR = "${INC_PR}.1" SRC_URI = "\ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.bz2 \ diff --git a/recipes/gstreamer/gst-plugins-ugly_0.10.10.bb b/recipes/gstreamer/gst-plugins-ugly_0.10.10.bb index 0678e22..9c28d20 100644 --- a/recipes/gstreamer/gst-plugins-ugly_0.10.10.bb +++ b/recipes/gstreamer/gst-plugins-ugly_0.10.10.bb @@ -1,6 +1,6 @@ require gst-plugins.inc -PR = "r1" +PR = "${INC_PR}.1" DEPENDS += "gst-plugins-base mpeg2dec libsidplay" diff --git a/recipes/gstreamer/gst-plugins-ugly_0.10.11.bb b/recipes/gstreamer/gst-plugins-ugly_0.10.11.bb index 0624041..9c28d20 100644 --- a/recipes/gstreamer/gst-plugins-ugly_0.10.11.bb +++ b/recipes/gstreamer/gst-plugins-ugly_0.10.11.bb @@ -1,5 +1,7 @@ require gst-plugins.inc +PR = "${INC_PR}.1" + DEPENDS += "gst-plugins-base mpeg2dec libsidplay" SRC_URI += "\ diff --git a/recipes/gstreamer/gst-plugins.inc b/recipes/gstreamer/gst-plugins.inc index bcb3e39..1eb80cb 100644 --- a/recipes/gstreamer/gst-plugins.inc +++ b/recipes/gstreamer/gst-plugins.inc @@ -3,6 +3,8 @@ DESCRIPTION = "Plugins for GStreamer" DEPENDS = "gstreamer libmikmod liboil libogg tremor libvorbis" DEPENDS += "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag', d)}" +INC_PR = "r5" + PACKAGES_DYNAMIC = "gst-plugin-*" SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2" @@ -33,7 +35,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.count('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