* [PATCH] gstreamer1.0-meta-base: Don't use COMBINED_FEATURES
@ 2016-02-12 11:54 Richard Purdie
2016-02-12 22:17 ` Andre McCurdy
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2016-02-12 11:54 UTC (permalink / raw)
To: Andre McCurdy, openembedded-core
http://git.openembedded.org/openembedded-core/commit/?id=948165dce7475b815a344fd3c3d58165e6865d48
makes gstreamer1.0-plugins-base-alsa depend on COMBINED_FEATURES.
This is an allarch recipe so this only works if all your machines
have the same MACHINE_FEATURES and not all do.
Instead make this an unconditional RRECOMMEND, its a PACKAGES_DYNAMIC so
this should all work out for everyone's use cases.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index ecfd082..9d1b9dc 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -26,7 +26,6 @@ RDEPENDS_gstreamer1.0-meta-base = "\
gstreamer1.0 \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-base-gio \
- ${@bb.utils.contains('COMBINED_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '',d)} \
gstreamer1.0-plugins-base-volume \
gstreamer1.0-plugins-base-audioconvert \
gstreamer1.0-plugins-base-audioresample \
@@ -36,6 +35,10 @@ RDEPENDS_gstreamer1.0-meta-base = "\
gstreamer1.0-plugins-good-autodetect \
gstreamer1.0-plugins-good-souphttpsrc"
+RRECOMMENDS_gstreamer1.0-meta-base = "\
+ gstreamer1.0-plugins-base-alsa \
+"
+
RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
gstreamer1.0-plugins-base-ximagesink \
gstreamer1.0-plugins-base-xvimagesink"
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] gstreamer1.0-meta-base: Don't use COMBINED_FEATURES
2016-02-12 11:54 [PATCH] gstreamer1.0-meta-base: Don't use COMBINED_FEATURES Richard Purdie
@ 2016-02-12 22:17 ` Andre McCurdy
0 siblings, 0 replies; 2+ messages in thread
From: Andre McCurdy @ 2016-02-12 22:17 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
On Fri, Feb 12, 2016 at 3:54 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> http://git.openembedded.org/openembedded-core/commit/?id=948165dce7475b815a344fd3c3d58165e6865d48
> makes gstreamer1.0-plugins-base-alsa depend on COMBINED_FEATURES.
>
> This is an allarch recipe so this only works if all your machines
> have the same MACHINE_FEATURES and not all do.
Good point. The recipe should set PACKAGE_ARCH = "${MACHINE_ARCH}" (as
packagegroup-base.bb does).
> Instead make this an unconditional RRECOMMEND, its a PACKAGES_DYNAMIC so
> this should all work out for everyone's use cases.
I have some machines which need the alsa plug-in and some machines
where it must not be installed. The alsa DISTRO feature alone is not
fine grained enough to handle that.
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> index ecfd082..9d1b9dc 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> @@ -26,7 +26,6 @@ RDEPENDS_gstreamer1.0-meta-base = "\
> gstreamer1.0 \
> gstreamer1.0-plugins-base-playback \
> gstreamer1.0-plugins-base-gio \
> - ${@bb.utils.contains('COMBINED_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '',d)} \
> gstreamer1.0-plugins-base-volume \
> gstreamer1.0-plugins-base-audioconvert \
> gstreamer1.0-plugins-base-audioresample \
> @@ -36,6 +35,10 @@ RDEPENDS_gstreamer1.0-meta-base = "\
> gstreamer1.0-plugins-good-autodetect \
> gstreamer1.0-plugins-good-souphttpsrc"
>
> +RRECOMMENDS_gstreamer1.0-meta-base = "\
> + gstreamer1.0-plugins-base-alsa \
> +"
> +
> RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
> gstreamer1.0-plugins-base-ximagesink \
> gstreamer1.0-plugins-base-xvimagesink"
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-12 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 11:54 [PATCH] gstreamer1.0-meta-base: Don't use COMBINED_FEATURES Richard Purdie
2016-02-12 22:17 ` Andre McCurdy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox