Patchwork [v2] Create gstreamer-1.0 package groups

login
register
mail settings
Submitter Sébastien Mennetrier
Date March 12, 2014, 9:44 a.m.
Message ID <1394617444-15843-1-git-send-email-s.mennetrier@innotis.org>
Download mbox | patch
Permalink /patch/68491/
State New
Headers show

Comments

Sébastien Mennetrier - March 12, 2014, 9:44 a.m.
This recipe is based on gst-meta-base

Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
---
 .../gstreamer/gstreamer1.0-meta-base.bb            | 62 ++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
Sébastien Mennetrier - March 12, 2014, 1:15 p.m.
This patch was tested on dora branch on build and runtime.
Also, it was tested on master branch, only on build.


Regards,
Sébastien


2014-03-12 10:44 GMT+01:00 Sébastien Mennetrier <s.mennetrier@innotis.org>:

> This recipe is based on gst-meta-base
>
> Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
> ---
>  .../gstreamer/gstreamer1.0-meta-base.bb            | 62
> ++++++++++++++++++++++
>  1 file changed, 62 insertions(+)
>  create mode 100644 meta/recipes-multimedia/gstreamer/
> gstreamer1.0-meta-base.bb
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bbb/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-meta-base.bb
> new file mode 100644
> index 0000000..cb8dd1a
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> @@ -0,0 +1,62 @@
> +DESCRIPTION = "Gstreamer1.0 package groups"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base
> gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
> +
> +PACKAGES = "\
> +    gstreamer1.0-meta-base \
> +    gstreamer1.0-meta-x11-base \
> +    gstreamer1.0-meta-audio \
> +    gstreamer1.0-meta-debug \
> +    gstreamer1.0-meta-video"
> +
> +ALLOW_EMPTY_gstreamer1.0-meta-base = "1"
> +ALLOW_EMPTY_gstreamer1.0-meta-x11-base = "1"
> +ALLOW_EMPTY_gstreamer1.0-meta-audio = "1"
> +ALLOW_EMPTY_gstreamer1.0-meta-debug = "1"
> +ALLOW_EMPTY_gstreamer1.0-meta-video = "1"
> +
> +RDEPENDS_gstreamer1.0-meta-base = "\
> +    ${@base_contains('DISTRO_FEATURES', 'x11',
> 'gstreamer1.0-meta-x11-base', '', d)} \
> +    gstreamer1.0 \
> +    gstreamer1.0-plugins-base-playback \
> +    gstreamer1.0-plugins-base-gio \
> +    gstreamer1.0-plugins-base-alsa \
> +    gstreamer1.0-plugins-base-volume \
> +    gstreamer1.0-plugins-base-audioconvert \
> +    gstreamer1.0-plugins-base-audioresample \
> +    gstreamer1.0-plugins-base-typefindfunctions \
> +    gstreamer1.0-plugins-base-videoscale \
> +    gstreamer1.0-plugins-base-videoconvert \
> +    gstreamer1.0-plugins-good-autodetect \
> +    gstreamer1.0-plugins-good-souphttpsrc"
> +
> +RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
> +    gstreamer1.0-plugins-base-ximagesink \
> +    gstreamer1.0-plugins-base-xvimagesink"
> +
> +RDEPENDS_gstreamer1.0-meta-audio = "\
> +    gstreamer1.0-meta-base \
> +    gstreamer1.0-plugins-base-vorbis \
> +    gstreamer1.0-plugins-base-ogg \
> +    gstreamer1.0-plugins-good-wavparse \
> +    gstreamer1.0-plugins-good-flac \
> +    ${COMMERCIAL_AUDIO_PLUGINS}"
> +
> +RDEPENDS_gstreamer1.0-meta-debug = "\
> +    gstreamer1.0-meta-base \
> +    gstreamer1.0-plugins-good-debug \
> +    gstreamer1.0-plugins-base-audiotestsrc \
> +    gstreamer1.0-plugins-base-videotestsrc"
> +
> +RDEPENDS_gstreamer1.0-meta-video = "\
> +    gstreamer1.0-meta-base \
> +    gstreamer1.0-plugins-good-avi \
> +    gstreamer1.0-plugins-good-matroska \
> +    gstreamer1.0-plugins-base-theora \
> +    ${COMMERCIAL_VIDEO_PLUGINS}"
> +
> +RRECOMMENDS_gstreamer1.0-meta-video = "\
> +    gstreamer1.0-meta-audio"
> --
> 1.8.1.2
>
>
Otavio Salvador - March 12, 2014, 3:07 p.m.
On Wed, Mar 12, 2014 at 6:44 AM, Sébastien Mennetrier <
s.mennetrier@innotis.org> wrote:

> This recipe is based on gst-meta-base
>
> Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
>


I think you ought to use a better commit log (as this is not a packagegroup
at all) or change it to be a package group. Either way works for me :)

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
new file mode 100644
index 0000000..cb8dd1a
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -0,0 +1,62 @@ 
+DESCRIPTION = "Gstreamer1.0 package groups"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
+
+PACKAGES = "\
+    gstreamer1.0-meta-base \
+    gstreamer1.0-meta-x11-base \
+    gstreamer1.0-meta-audio \
+    gstreamer1.0-meta-debug \
+    gstreamer1.0-meta-video"
+
+ALLOW_EMPTY_gstreamer1.0-meta-base = "1"
+ALLOW_EMPTY_gstreamer1.0-meta-x11-base = "1"
+ALLOW_EMPTY_gstreamer1.0-meta-audio = "1"
+ALLOW_EMPTY_gstreamer1.0-meta-debug = "1"
+ALLOW_EMPTY_gstreamer1.0-meta-video = "1"
+
+RDEPENDS_gstreamer1.0-meta-base = "\
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'gstreamer1.0-meta-x11-base', '', d)} \
+    gstreamer1.0 \
+    gstreamer1.0-plugins-base-playback \
+    gstreamer1.0-plugins-base-gio \
+    gstreamer1.0-plugins-base-alsa \
+    gstreamer1.0-plugins-base-volume \
+    gstreamer1.0-plugins-base-audioconvert \
+    gstreamer1.0-plugins-base-audioresample \
+    gstreamer1.0-plugins-base-typefindfunctions \
+    gstreamer1.0-plugins-base-videoscale \
+    gstreamer1.0-plugins-base-videoconvert \
+    gstreamer1.0-plugins-good-autodetect \
+    gstreamer1.0-plugins-good-souphttpsrc"
+
+RRECOMMENDS_gstreamer1.0-meta-x11-base = "\
+    gstreamer1.0-plugins-base-ximagesink \
+    gstreamer1.0-plugins-base-xvimagesink"
+
+RDEPENDS_gstreamer1.0-meta-audio = "\
+    gstreamer1.0-meta-base \
+    gstreamer1.0-plugins-base-vorbis \
+    gstreamer1.0-plugins-base-ogg \
+    gstreamer1.0-plugins-good-wavparse \
+    gstreamer1.0-plugins-good-flac \
+    ${COMMERCIAL_AUDIO_PLUGINS}"
+
+RDEPENDS_gstreamer1.0-meta-debug = "\
+    gstreamer1.0-meta-base \
+    gstreamer1.0-plugins-good-debug \
+    gstreamer1.0-plugins-base-audiotestsrc \
+    gstreamer1.0-plugins-base-videotestsrc"
+
+RDEPENDS_gstreamer1.0-meta-video = "\
+    gstreamer1.0-meta-base \
+    gstreamer1.0-plugins-good-avi \
+    gstreamer1.0-plugins-good-matroska \
+    gstreamer1.0-plugins-base-theora \
+    ${COMMERCIAL_VIDEO_PLUGINS}"
+
+RRECOMMENDS_gstreamer1.0-meta-video = "\
+    gstreamer1.0-meta-audio"