[OE-core] [PATCH] gst-plugins-package.inc: Allow ${PN}-apps and ${PN}-glib to be empty

Carlos Rafael Giani dv at pseudoterminal.org
Mon Jun 3 17:43:03 UTC 2013


On 03.06.2013 18:53, Otavio Salvador wrote:
> The ${PN}-meta package rdepends on ${PN}-apps and ${PN}-glib so we
> need to have them available or the installation of the meta package
> will fail.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> This patch is need to make the meta packages work. This should also be
> applied in dylan branch as currently ${PN}-meta packages are not
> installable.
>
>   meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> index 7ae3ef6..b768094 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
> @@ -28,6 +28,8 @@ python populate_packages_prepend () {
>   # each plugin depends on PN, plugin-dev on PN-dev and plugin-staticdev on PN-staticdev
>   # so we need them even when empty (like in gst-plugins-good case)
>   ALLOW_EMPTY_${PN} = "1"
> +ALLOW_EMPTY_${PN}-apps = "1"
> +ALLOW_EMPTY_${PN}-glib = "1"
>   ALLOW_EMPTY_${PN}-dev = "1"
>   ALLOW_EMPTY_${PN}-staticdev = "1"
>   

Note that I posted a similar patch here some time ago, and the concern 
about unnecessary empty packages was raised. My proposed OE-core 
GStreamer 1.0 patches include code that takes care of this by adding 
packages to the -meta rdepends only if they are not empty.



More information about the Openembedded-core mailing list