summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2013-05-31 21:15:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 15:37:59 +0100
commitc7ebd7e527a77ab40e280824f77241db9b3b710b (patch)
tree9db3c1204328adb47dd96eb618e522981921a561 /meta/recipes-multimedia
parent96b144a25598090b1e58eb5e33f216b5bfef7595 (diff)
downloadpoky-c7ebd7e527a77ab40e280824f77241db9b3b710b.tar.gz
gstreamer: added GStreamer 1.0 recipes
Originally from the https://github.com/dv1/meta-gstreamer1.0 repository, the patches were copied with only one change: gstreamer1.0-plugins-package.inc was removed, since gst-plugins-package.inc is identical except for the LIBV variable. (From OE-Core rev: e200e61529fa5a78354cde67442e90ace4b3857c) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc34
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch33
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/libav_e500mc.patch21
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.0.7.bb27
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb27
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc42
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch30
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bb12
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb22
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc105
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.0.7.bb12
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb26
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc42
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.0.7.bb11
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb18
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc55
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.0.7.bb11
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb17
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc33
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.0.7.bb10
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb16
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc57
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0.inc23
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch28
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0_1.0.7.bb13
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb17
26 files changed, 742 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
new file mode 100644
index 0000000000..c77a085736
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "Libav-based GStreamer 1.x plugin"
2SECTION = "multimedia"
3LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )"
4LICENSE_FLAGS = "commercial"
5HOMEPAGE = "http://www.gstreamer.net/"
6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2"
7
8inherit autotools pkgconfig
9
10PR = "r1"
11
12
13# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time,
14# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the
15# libav copy included in the gst-libav package.
16PACKAGECONFIG ??= " "
17PACKAGECONFIG[libav] = "--with-system-libav,,libav"
18PACKAGECONFIG[lgpl] = "--enable-lgpl,,"
19PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native"
20
21
22GSTREAMER_1_0_DEBUG ?= "--disable-debug"
23
24LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure"
25LIBAV_EXTRA_CONFIGURE_COMMON = \
26'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
27
28EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
29
30FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
31FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
32FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
33FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
34
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
new file mode 100644
index 0000000000..1d99ad1251
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
@@ -0,0 +1,33 @@
1From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 01:22:22 +0200
4Subject: [PATCH] Disable yasm for libav when --disable-yasm
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Shane Wang <shane.wang@intel.com>
9Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10---
11 configure.ac | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 22ede88..ef3c050 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -305,6 +305,12 @@ else
19 emblibav_configure_args="$emblibav_configure_args --enable-gpl"
20 fi
21
22+ AC_ARG_ENABLE(yasm,
23+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
24+ if test "x$enable_yasm" = "xno"; then
25+ emblibav_configure_args="$emblibav_configure_args --disable-yasm"
26+ fi
27+
28 # if we are cross-compiling, tell libav so
29 case $host in
30 *android*)
31--
321.8.2
33
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/libav_e500mc.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/libav_e500mc.patch
new file mode 100644
index 0000000000..eba4988031
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/libav_e500mc.patch
@@ -0,0 +1,21 @@
1diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure
2index 8473069..4f74952 100755
3--- a/gst-libs/ext/libav/configure
4+++ b/gst-libs/ext/libav/configure
5Fix gst-ffmpeg build issues for libav on e500mc (fsl-p4080)
6
7Upstream-Status: Backport
8
9Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
10
11@@ -2210,6 +2210,10 @@ elif enabled ppc; then
12 cpuflags="-mcpu=cell"
13 enable ldbrx
14 ;;
15+ e500mc)
16+ cpuflags="-mcpu=e500mc"
17+ disable altivec
18+ ;;
19 e500v2)
20 cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double"
21 disable altivec
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.0.7.bb
new file mode 100644
index 0000000000..f486a9d857
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.0.7.bb
@@ -0,0 +1,27 @@
1include gstreamer1.0-libav.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
4 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
5 file://ext/libav/gstav.h;beginline=1;endline=18;md5=ff65467b0c53cdfa98d0684c1bc240a9 \
6 file://gst-libs/ext/libav/LICENSE;md5=abc3b8cb02856aa7823bbbd162d16232 \
7 file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
9 file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
10 file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
11
12SRC_URI = " \
13 http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
14 file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
15 file://libav_e500mc.patch \
16 "
17
18SRC_URI[md5sum] = "68e1eb18a58907e21b81d26ce7db056a"
19SRC_URI[sha256sum] = "aefa679d14e7a6558673cfbf401b9c01f1903bb52e5dc08332e9001d25a7ba7a"
20
21LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
22 --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
23 --ranlib='${RANLIB}' \
24 ${GSTREAMER_1_0_DEBUG}"
25
26S = "${WORKDIR}/gst-libav-${PV}"
27
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
new file mode 100644
index 0000000000..69b771dbb6
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
@@ -0,0 +1,27 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-libav.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
7 file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
8 file://gst-libs/ext/libav/LICENSE;md5=23a54f59b82572c203a559346e89ed57 \
9 file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
12 file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
13
14SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-libav;branch=master;protocol=git"
15S = "${WORKDIR}/git"
16
17SRCREV = "127202d6f65584891dabf92be031f0d170b0e7f1"
18
19LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
20 --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
21 ${GSTREAMER_1_0_DEBUG}"
22
23do_configure() {
24 ./autogen.sh --noconfigure
25 oe_runconf
26}
27
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
new file mode 100644
index 0000000000..324d3f9c53
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
@@ -0,0 +1,42 @@
1DESCRIPTION = "OpenMAX IL plugins for GStreamer"
2SECTION = "multimedia"
3LICENSE = "LGPLv2.1"
4LICENSE_FLAGS = "commercial"
5HOMEPAGE = "http://www.gstreamer.net/"
6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
7RDEPENDS_${PN} = "libomxil"
8
9inherit autotools pkgconfig gettext
10
11acpaths = "-I ${S}/common/m4 -I ${S}/m4"
12
13PR = "r1"
14
15GSTREAMER_1_0_OMX_TARGET ?= "bellagio"
16GSTREAMER_1_0_OMX_CORE_NAME ?= "/usr/lib/libomxil-bellagio.so.0"
17
18EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}"
19
20python __anonymous () {
21 omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET", True)
22 if omx_target in ['generic', 'bellagio']:
23 srcdir = d.getVar("S", True)
24 # Bellagio headers are incomplete (they are missing the OMX_VERSION_MAJOR,#
25 # OMX_VERSION_MINOR, OMX_VERSION_REVISION, and OMX_VERSION_STEP macros);
26 # appending a directory path to gst-omx' internal OpenMAX IL headers fixes this
27 d.appendVar("CFLAGS", " -I%s/omx/openmax" % srcdir)
28 elif omx_target == "rpi":
29 # Dedicated Raspberry Pi OpenMAX IL support makes this package machine specific
30 d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH", True))
31}
32
33set_omx_core_name() {
34 sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}/etc/xdg/gstomx.conf"
35}
36do_install[postfuncs] += " set_omx_core_name "
37
38FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
39FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
40FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
41FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
42
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
new file mode 100644
index 0000000000..a428ac9c91
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
@@ -0,0 +1,30 @@
1From f629e041e9f678fcd86ad764a15117dff63c271c Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 27 Apr 2013 02:50:25 +0200
4Subject: [PATCH] omx: fixed type error in printf call
5
6%zu expects size_t
7
8Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=699008]
9
10Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
11---
12 omx/gstomx.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/omx/gstomx.c b/omx/gstomx.c
16index a2945ed..1eca7cc 100644
17--- a/omx/gstomx.c
18+++ b/omx/gstomx.c
19@@ -1630,7 +1630,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
20
21 GST_INFO_OBJECT (comp->parent,
22 "Allocating %d buffers of size %zu for %s port %u", n,
23- port->port_def.nBufferSize, comp->name, (guint) port->index);
24+ (size_t) (port->port_def.nBufferSize), comp->name, (guint) port->index);
25
26 if (!port->buffers)
27 port->buffers = g_ptr_array_sized_new (n);
28--
291.7.9.5
30
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bb
new file mode 100644
index 0000000000..f5956c66df
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bb
@@ -0,0 +1,12 @@
1include gstreamer1.0-omx.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
4 file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
5
6SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
7
8SRC_URI[md5sum] = "bb34b5742223267298bcffc209104a92"
9SRC_URI[sha256sum] = "7a1d8d28d70dacc6bd3c7ee7d7e40df6d5a1d38d7c256d5c9c5c8ef15c005014"
10
11S = "${WORKDIR}/gst-omx-${PV}"
12
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
new file mode 100644
index 0000000000..2282b724d5
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
@@ -0,0 +1,22 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-omx.inc
4
5DEPENDS = "gstreamer1.0-plugins-bad"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
8 file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
9
10SRC_URI = " \
11 git://anongit.freedesktop.org/gstreamer/gst-omx;branch=master;protocol=git \
12 file://0001-omx-fixed-type-error-in-printf-call.patch \
13 "
14S = "${WORKDIR}/git"
15
16SRCREV = "a2db76b048db278ef0aa798e106b7594264e06c0"
17
18do_configure() {
19 ./autogen.sh --noconfigure
20 oe_runconf
21}
22
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
new file mode 100644
index 0000000000..38cf5125cd
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -0,0 +1,105 @@
1require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ "
4
5DEPENDS += "gstreamer1.0-plugins-base bzip2"
6
7SRC_URI[md5sum] = "d1493d1219b836a8cbf54f4fba962420"
8SRC_URI[sha256sum] = "5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab"
9
10PR = "r1"
11
12S = "${WORKDIR}/gst-plugins-bad-${PV}"
13
14inherit gettext
15
16
17PACKAGECONFIG ??= " \
18 curl eglgles wayland \
19 "
20
21PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass"
22PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
23PACKAGECONFIG[eglgles] = "--enable-eglgles,--disable-eglgles,virtual/egl virtual/libgles2"
24PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
25PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms"
26PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
27PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
28PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
29PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa"
30PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
31PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
32
33
34
35# these plugins have not been ported to 1.0 (yet):
36# directdraw vcd uvch264 apexsink cdaudio cog dc1394 directfb dirac fbdev jasper
37# kate ladspa lv2 linsys musepack musicbrainz mythtv nas neon ofa openal rsvg
38# timidity teletextdec wildmidi sdl sndfile xvid wininet acm gsettings sndio
39#mfc hls openjpeg sbc
40EXTRA_OECONF += " \
41 --enable-dvb \
42 --enable-shm \
43 --disable-uvch264 \
44 --disable-vcd \
45 --disable-fbdev \
46 --disable-examples \
47 --disable-experimental \
48 --disable-celt \
49 --disable-chromaprint \
50 --disable-decklink \
51 --disable-dts \
52 --disable-faac \
53 --disable-gme \
54 --disable-gsm \
55 --disable-mpeg2enc \
56 --disable-mplex \
57 --disable-resindvd \
58 --disable-rtmp \
59 --disable-schro \
60 --disable-soundtouch \
61 --disable-spandsp \
62 --disable-vdpau \
63 --disable-acm \
64 --disable-android_media \
65 --disable-apexsink \
66 --disable-apple_media \
67 --disable-avc \
68 --disable-cdaudio \
69 --disable-cog \
70 --disable-dc1394 \
71 --disable-dirac \
72 --disable-direct3d \
73 --disable-direct3d9 \
74 --disable-directdraw \
75 --disable-directsound \
76 --disable-directshow \
77 --disable-gsettings \
78 --disable-kate \
79 --disable-ladspa \
80 --disable-linsys \
81 --disable-lv2 \
82 --disable-mimic \
83 --disable-musepack \
84 --disable-mythtv \
85 --disable-nas \
86 --disable-ofa \
87 --disable-osx_video \
88 --disable-pvr \
89 --disable-quicktime \
90 --disable-sndio \
91 --disable-spc \
92 --disable-swfdec \
93 --disable-teletextdec \
94 --disable-timidity \
95 --disable-voaacenc \
96 --disable-voamrwbenc \
97 --disable-wildmidi \
98 --disable-wininet \
99 --disable-xvid \
100 --disable-zbar \
101 ${GSTREAMER_1_0_ORC} \
102 "
103
104ARM_INSTRUCTION_SET = "arm"
105
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.0.7.bb
new file mode 100644
index 0000000000..bca35670fe
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.0.7.bb
@@ -0,0 +1,12 @@
1include gstreamer1.0-plugins-bad.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
4 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \
5 file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
6 file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c"
7
8SRC_URI[md5sum] = "d1493d1219b836a8cbf54f4fba962420"
9SRC_URI[sha256sum] = "5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab"
10
11S = "${WORKDIR}/gst-plugins-bad-${PV}"
12
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
new file mode 100644
index 0000000000..e1a5904abf
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -0,0 +1,26 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-plugins-bad.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
6 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \
7 file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
8 file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50"
9
10S = "${WORKDIR}/git"
11
12SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce"
13
14PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4"
15PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
16PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
17
18EXTRA_OECONF += " \
19 -disable-openjpeg \
20 "
21
22do_configure() {
23 ./autogen.sh --noconfigure
24 oe_runconf
25}
26
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
new file mode 100644
index 0000000000..b2c89952b2
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
@@ -0,0 +1,42 @@
1require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2+"
4
5DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}"
6DEPENDS += "freetype liboil util-linux"
7
8PR = "r1"
9
10inherit gettext
11
12
13PACKAGECONFIG ??= " \
14 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
15 ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
16 ivorbis ogg theora vorbis \
17 "
18
19X11DEPENDS = "virtual/libx11 libsm libxrender"
20X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm"
21X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm"
22PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
23PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
24PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor"
25PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg"
26PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora"
27PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis"
28PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango"
29
30
31# cdparanoia and libvisual do not seem to exist anywhere in OE
32EXTRA_OECONF += " \
33 --disable-freetypetest \
34 --disable-oggtest \
35 --disable-vorbistest \
36 --disable-cdparanoia \
37 --disable-libvisual \
38 ${GSTREAMER_1_0_ORC} \
39"
40
41FILES_${PN} += "${datadir}/gst-plugins-base"
42
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.0.7.bb
new file mode 100644
index 0000000000..72a4aee8ca
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.0.7.bb
@@ -0,0 +1,11 @@
1include gstreamer1.0-plugins-base.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
4 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
5 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
6 "
7
8SRC_URI[md5sum] = "b5b43cfbf82b413ce2e07a190d87e68f"
9SRC_URI[sha256sum] = "014805e50b696bc06c3862ea656df079fc0b5fef0c10f16e9f085f290545677a"
10
11S = "${WORKDIR}/gst-plugins-base-${PV}"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
new file mode 100644
index 0000000000..a894abe501
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
@@ -0,0 +1,18 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-plugins-base.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
6 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
7 file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
8 "
9
10S = "${WORKDIR}/git"
11
12SRCREV = "8d4cb64a4b9d84b10076bf350f80a0d6ea68ec2d"
13
14do_configure() {
15 ./autogen.sh --noconfigure
16 oe_runconf
17}
18
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
new file mode 100644
index 0000000000..3d0f970042
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
@@ -0,0 +1,55 @@
1require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2.1+"
4
5# libid3tag
6DEPENDS += "gstreamer1.0-plugins-base gconf zlib bzip2"
7
8PR = "r1"
9
10inherit gettext gconf
11
12
13PACKAGECONFIG ??= " \
14 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
15 ${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
16 cairo flac gdk-pixbuf jpeg libpng soup speex taglib \
17 "
18
19X11DEPENDS = "virtual/libx11 libsm libxrender"
20X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm"
21X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm"
22PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
23PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
24PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo"
25PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
26PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
27PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
28PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
29PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
30PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4"
31PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex"
32PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
33PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
34PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
35
36
37EXTRA_OECONF += " \
38 --disable-directsound \
39 --disable-waveform \
40 --disable-oss \
41 --disable-oss4 \
42 --disable-sunaudio \
43 --disable-osx_audio \
44 --disable-osx_video \
45 --disable-aalib \
46 --disable-libcaca \
47 --disable-libdv \
48 --disable-dv1394 \
49 --disable-shout2 \
50 --disable-examples \
51 ${GSTREAMER_1_0_ORC} \
52"
53
54FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-1.0.schemas"
55
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.0.7.bb
new file mode 100644
index 0000000000..b2bcd44a4a
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.0.7.bb
@@ -0,0 +1,11 @@
1include gstreamer1.0-plugins-good.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
4 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
5 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
6
7SRC_URI[md5sum] = "e4b1c825475a9b478fe29e8e9f34516f"
8SRC_URI[sha256sum] = "a016a3b377c86658627aef902b9204108209100b2e88fcc3b695c392af1b4035"
9
10S = "${WORKDIR}/gst-plugins-good-${PV}"
11
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb
new file mode 100644
index 0000000000..8b11b20b1b
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb
@@ -0,0 +1,17 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-plugins-good.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
6 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
7 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
8
9S = "${WORKDIR}/git"
10
11SRCREV = "fd0123800c8c1cf1468c0fa5d592ad0d0d8b4140"
12
13do_configure() {
14 ./autogen.sh --noconfigure
15 oe_runconf
16}
17
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
new file mode 100644
index 0000000000..4a54d1b537
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
@@ -0,0 +1,33 @@
1require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+"
4LICENSE_FLAGS = "commercial"
5
6DEPENDS += "gstreamer1.0-plugins-base libid3tag"
7
8PR = "r1"
9
10inherit gettext
11
12
13PACKAGECONFIG ??= " \
14 a52dec lame mad mpeg2dec \
15 "
16
17PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52"
18PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
19PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread"
20PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame"
21PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
22PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
23PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
24
25
26EXTRA_OECONF += " \
27 --disable-amrnb \
28 --disable-amrwb \
29 --disable-sidplay \
30 --disable-twolame \
31 ${GSTREAMER_1_0_ORC} \
32 "
33
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.0.7.bb
new file mode 100644
index 0000000000..7e9b8aaa34
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.0.7.bb
@@ -0,0 +1,10 @@
1include gstreamer1.0-plugins-ugly.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
4 file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068 "
5
6SRC_URI[md5sum] = "8754edf6c3be235f232fb75ad11708bb"
7SRC_URI[sha256sum] = "b78b8cfabe322497da432a0f297dbb21862a033f95e8d4cd8f207eccb5288f2b"
8
9S = "${WORKDIR}/gst-plugins-ugly-${PV}"
10
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb
new file mode 100644
index 0000000000..2f72497363
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb
@@ -0,0 +1,16 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0-plugins-ugly.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
6 file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068 "
7
8S = "${WORKDIR}/git"
9
10SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f"
11
12do_configure() {
13 ./autogen.sh --noconfigure
14 oe_runconf
15}
16
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
new file mode 100644
index 0000000000..9484b202ca
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -0,0 +1,57 @@
1DESCRIPTION = "Plugins for GStreamer 1.x"
2HOMEPAGE = "http://gstreamer.freedesktop.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
4SECTION = "multimedia"
5DEPENDS = "gstreamer1.0"
6
7inherit autotools pkgconfig
8
9FILESPATH =. "${FILE_DIRNAME}/gst-plugins:"
10
11GSTREAMER_1_0_DEBUG ?= "--disable-debug"
12GSTREAMER_1_0_GIT_BRANCH ?= "master"
13EXTRA_OECONF = "--disable-valgrind ${GSTREAMER_1_0_DEBUG} --disable-examples "
14
15acpaths = "-I ${S}/common/m4 -I ${S}/m4"
16
17LIBV = "1.0"
18require gst-plugins-package.inc
19
20PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
21
22PACKAGES_DYNAMIC = "^${PN}-.*"
23
24# apply gstreamer hack after Makefile.in.in in source is replaced by our version from
25# ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in, but before configure is executed
26# http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
27oe_runconf_prepend() {
28 if [ -e ${S}/po/Makefile.in.in ]; then
29 sed -i -e "1a\\" -e 'GETTEXT_PACKAGE = @GETTEXT_PACKAGE@' ${S}/po/Makefile.in.in
30 fi
31}
32
33python __anonymous () {
34 # check if expected prefix is present
35 prefix = "gstreamer1.0-"
36 bpn = d.getVar("BPN", True)
37 if not bpn.startswith(prefix):
38 bb.fatal('Invalid GStreamer 1.0 plugin package name "%s" : must start with "%s"' % (bpn, prefix))
39
40 # replaced prefix with "gst-", which is what is used for the tarball and repository filenames
41 gstpkg_basename = "gst-" + bpn[len(prefix):]
42 pv = d.getVar("PV", True)
43 branch = d.getVar("GSTREAMER_1_0_GIT_BRANCH", True)
44
45 if pv == "git":
46 d.setVar("SRC_URI", "git://anongit.freedesktop.org/gstreamer/%s;branch=%s;protocol=git" % (gstpkg_basename, branch))
47 else:
48 d.setVar("SRC_URI", "http://gstreamer.freedesktop.org/src/%s/%s-%s.tar.xz" % (gstpkg_basename, gstpkg_basename, pv))
49}
50
51delete_liblink_m4_file() {
52 # This m4 file contains nastiness which conflicts with libtool 2.2.2
53 rm "${S}/m4/lib-link.m4" || true
54}
55
56do_configure[prefuncs] += " delete_liblink_m4_file "
57
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
new file mode 100644
index 0000000000..d7bbee1bcb
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -0,0 +1,23 @@
1SUMMARY = "GStreamer 1.0 multimedia framework"
2DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
3It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
4HOMEPAGE = "http://gstreamer.freedesktop.org/"
5BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
6SECTION = "multimedia"
7LICENSE = "LGPLv2+"
8DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
9
10PR = "r1"
11
12inherit autotools pkgconfig gettext
13
14GSTREAMER_1_DEBUG ?= "--disable-debug"
15EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind ${GSTREAMER_1_DEBUG}"
16
17RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
18RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
19
20FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so"
21FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a"
22FILES_${PN}-dbg += " ${libdir}/gstreamer-1.0/.debug/ ${libexecdir}/gstreamer-1.0/.debug/"
23
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
new file mode 100644
index 0000000000..94f5cc56e8
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
@@ -0,0 +1,28 @@
1From 6b26f3dbf9bf577d71534ab7410de66d06e46ba2 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 23:52:11 +0200
4Subject: [PATCH] Fix crash with gst-inspect Chris Lord <chris@openedhand.com>
5
6Upstream-Status: Pending
7
8Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
9---
10 tools/gst-inspect.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
14index 23b7c44..b79b02e 100644
15--- a/tools/gst-inspect.c
16+++ b/tools/gst-inspect.c
17@@ -1556,7 +1556,7 @@ main (int argc, char *argv[])
18 g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
19 g_option_context_add_group (ctx, gst_init_get_option_group ());
20 if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
21- g_printerr ("Error initializing: %s\n", err->message);
22+ g_printerr ("Error initializing: %s\n", err ? err->message : "(null)");
23 return -1;
24 }
25 g_option_context_free (ctx);
26--
271.8.2
28
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.0.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.0.7.bb
new file mode 100644
index 0000000000..1423227935
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.0.7.bb
@@ -0,0 +1,13 @@
1include gstreamer1.0.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
4 file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
5
6SRC_URI = " \
7 http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
8 file://0001-Fix-crash-with-gst-inspect.patch \
9 "
10SRC_URI[md5sum] = "8f6066a37c71a0d0ff5fe5f7687fea12"
11SRC_URI[sha256sum] = "68cada7ee24ede23e15dc81ccde11898eed1a7a3c6a2d81a8c31596fccb1b5ce"
12S = "${WORKDIR}/gstreamer-${PV}"
13
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb
new file mode 100644
index 0000000000..e34325533e
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb
@@ -0,0 +1,17 @@
1DEFAULT_PREFERENCE = "-1"
2
3include gstreamer1.0.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
6 file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d"
7
8SRC_URI = "git://anongit.freedesktop.org/gstreamer/gstreamer;branch=master;protocol=git"
9S = "${WORKDIR}/git"
10
11SRCREV = "3b8181a8c550e74acaba4e8c55bdc649fa551dc9"
12
13do_configure() {
14 ./autogen.sh --noconfigure
15 oe_runconf
16}
17