Patchwork Create gstreamer-1.0 package groups

login
register
mail settings
Submitter Sébastien Mennetrier
Date Feb. 27, 2014, 1:53 p.m.
Message ID <1393509239-26637-1-git-send-email-s.mennetrier@innotis.org>
Download mbox | patch
Permalink /patch/67587/
State New
Headers show

Comments

Sébastien Mennetrier - Feb. 27, 2014, 1:53 p.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            | 63 ++++++++++++++++++++++
 1 file changed, 63 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
Sébastien Mennetrier - March 4, 2014, 8:19 a.m.
Ping


2014-02-27 14:53 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            | 63
> ++++++++++++++++++++++
>  1 file changed, 63 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..3b797f0
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> @@ -0,0 +1,63 @@
> +DESCRIPTION = "Gstreamer1.0 package groups"
> +LICENSE = "MIT"
> +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base
> gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
> +LIC_FILES_CHKSUM =
> "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> +
>  file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +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
>
>
Richard Purdie - March 7, 2014, 12:39 p.m.
On Tue, 2014-03-04 at 09:19 +0100, Sebastien MENNETRIER wrote:
> Ping
> 
> 
> 
> 2014-02-27 14:53 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            | 63
>         ++++++++++++++++++++++
>          1 file changed, 63 insertions(+)
>          create mode 100644
>         meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
>         
>         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..3b797f0
>         --- /dev/null
>         +++
>         b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
>         @@ -0,0 +1,63 @@
>         +DESCRIPTION = "Gstreamer1.0 package groups"
>         +LICENSE = "MIT"
>         +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base
>         gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
>         +LIC_FILES_CHKSUM =
>         "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
>         +
>          file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

This patch broke the builds since it was written and tested against
something which was not master. I can tell this since
${COREBASE}/LICENSE changed.

Cheers,

Richard
Sébastien Mennetrier - March 7, 2014, 1:24 p.m.
Hi,

This patch was written in dora branch. I will try to adapt it for master
branch and I will send a new patch ASAP.
Sorry for my mistake.


Regards,
Sébastien


2014-03-07 13:39 GMT+01:00 Richard Purdie <
richard.purdie@linuxfoundation.org>:

> On Tue, 2014-03-04 at 09:19 +0100, Sebastien MENNETRIER wrote:
> > Ping
> >
> >
> >
> > 2014-02-27 14:53 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            | 63
> >         ++++++++++++++++++++++
> >          1 file changed, 63 insertions(+)
> >          create mode 100644
> >         meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> >
> >         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..3b797f0
> >         --- /dev/null
> >         +++
> >         b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
> >         @@ -0,0 +1,63 @@
> >         +DESCRIPTION = "Gstreamer1.0 package groups"
> >         +LICENSE = "MIT"
> >         +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base
> >         gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
> >         +LIC_FILES_CHKSUM =
> >         "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58
> \
> >         +
> >
>  file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>
> This patch broke the builds since it was written and tested against
> something which was not master. I can tell this since
> ${COREBASE}/LICENSE changed.
>
> Cheers,
>
> Richard
>
>
>
>
>
>

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..3b797f0
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -0,0 +1,63 @@ 
+DESCRIPTION = "Gstreamer1.0 package groups"
+LICENSE = "MIT"
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+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"