diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2013-05-31 21:15:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:37:59 +0100 |
commit | c7ebd7e527a77ab40e280824f77241db9b3b710b (patch) | |
tree | 9db3c1204328adb47dd96eb618e522981921a561 | |
parent | 96b144a25598090b1e58eb5e33f216b5bfef7595 (diff) | |
download | poky-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>
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 @@ | |||
1 | DESCRIPTION = "Libav-based GStreamer 1.x plugin" | ||
2 | SECTION = "multimedia" | ||
3 | LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )" | ||
4 | LICENSE_FLAGS = "commercial" | ||
5 | HOMEPAGE = "http://www.gstreamer.net/" | ||
6 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2" | ||
7 | |||
8 | inherit autotools pkgconfig | ||
9 | |||
10 | PR = "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. | ||
16 | PACKAGECONFIG ??= " " | ||
17 | PACKAGECONFIG[libav] = "--with-system-libav,,libav" | ||
18 | PACKAGECONFIG[lgpl] = "--enable-lgpl,," | ||
19 | PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native" | ||
20 | |||
21 | |||
22 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" | ||
23 | |||
24 | LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure" | ||
25 | LIBAV_EXTRA_CONFIGURE_COMMON = \ | ||
26 | '${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' | ||
27 | |||
28 | EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}" | ||
29 | |||
30 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
31 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
32 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | ||
33 | FILES_${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 @@ | |||
1 | From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sat, 6 Apr 2013 01:22:22 +0200 | ||
4 | Subject: [PATCH] Disable yasm for libav when --disable-yasm | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Shane Wang <shane.wang@intel.com> | ||
9 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
10 | --- | ||
11 | configure.ac | 4 ++++ | ||
12 | 1 file changed, 4 insertions(+) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 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 | -- | ||
32 | 1.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 @@ | |||
1 | diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure | ||
2 | index 8473069..4f74952 100755 | ||
3 | --- a/gst-libs/ext/libav/configure | ||
4 | +++ b/gst-libs/ext/libav/configure | ||
5 | Fix gst-ffmpeg build issues for libav on e500mc (fsl-p4080) | ||
6 | |||
7 | Upstream-Status: Backport | ||
8 | |||
9 | Signed-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 @@ | |||
1 | include gstreamer1.0-libav.inc | ||
2 | |||
3 | LIC_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 | |||
12 | SRC_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 | |||
18 | SRC_URI[md5sum] = "68e1eb18a58907e21b81d26ce7db056a" | ||
19 | SRC_URI[sha256sum] = "aefa679d14e7a6558673cfbf401b9c01f1903bb52e5dc08332e9001d25a7ba7a" | ||
20 | |||
21 | LIBAV_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 | |||
26 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-libav.inc | ||
4 | |||
5 | LIC_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 | |||
14 | SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-libav;branch=master;protocol=git" | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | SRCREV = "127202d6f65584891dabf92be031f0d170b0e7f1" | ||
18 | |||
19 | LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \ | ||
20 | --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \ | ||
21 | ${GSTREAMER_1_0_DEBUG}" | ||
22 | |||
23 | do_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 @@ | |||
1 | DESCRIPTION = "OpenMAX IL plugins for GStreamer" | ||
2 | SECTION = "multimedia" | ||
3 | LICENSE = "LGPLv2.1" | ||
4 | LICENSE_FLAGS = "commercial" | ||
5 | HOMEPAGE = "http://www.gstreamer.net/" | ||
6 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" | ||
7 | RDEPENDS_${PN} = "libomxil" | ||
8 | |||
9 | inherit autotools pkgconfig gettext | ||
10 | |||
11 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | ||
12 | |||
13 | PR = "r1" | ||
14 | |||
15 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" | ||
16 | GSTREAMER_1_0_OMX_CORE_NAME ?= "/usr/lib/libomxil-bellagio.so.0" | ||
17 | |||
18 | EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}" | ||
19 | |||
20 | python __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 | |||
33 | set_omx_core_name() { | ||
34 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}/etc/xdg/gstomx.conf" | ||
35 | } | ||
36 | do_install[postfuncs] += " set_omx_core_name " | ||
37 | |||
38 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
39 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
40 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | ||
41 | FILES_${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 @@ | |||
1 | From f629e041e9f678fcd86ad764a15117dff63c271c Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sat, 27 Apr 2013 02:50:25 +0200 | ||
4 | Subject: [PATCH] omx: fixed type error in printf call | ||
5 | |||
6 | %zu expects size_t | ||
7 | |||
8 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=699008] | ||
9 | |||
10 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
11 | --- | ||
12 | omx/gstomx.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/omx/gstomx.c b/omx/gstomx.c | ||
16 | index 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 | -- | ||
29 | 1.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 @@ | |||
1 | include gstreamer1.0-omx.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | ||
4 | file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f" | ||
5 | |||
6 | SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz" | ||
7 | |||
8 | SRC_URI[md5sum] = "bb34b5742223267298bcffc209104a92" | ||
9 | SRC_URI[sha256sum] = "7a1d8d28d70dacc6bd3c7ee7d7e40df6d5a1d38d7c256d5c9c5c8ef15c005014" | ||
10 | |||
11 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-omx.inc | ||
4 | |||
5 | DEPENDS = "gstreamer1.0-plugins-bad" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | ||
8 | file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f" | ||
9 | |||
10 | SRC_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 | " | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | SRCREV = "a2db76b048db278ef0aa798e106b7594264e06c0" | ||
17 | |||
18 | do_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 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " | ||
4 | |||
5 | DEPENDS += "gstreamer1.0-plugins-base bzip2" | ||
6 | |||
7 | SRC_URI[md5sum] = "d1493d1219b836a8cbf54f4fba962420" | ||
8 | SRC_URI[sha256sum] = "5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab" | ||
9 | |||
10 | PR = "r1" | ||
11 | |||
12 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | ||
13 | |||
14 | inherit gettext | ||
15 | |||
16 | |||
17 | PACKAGECONFIG ??= " \ | ||
18 | curl eglgles wayland \ | ||
19 | " | ||
20 | |||
21 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | ||
22 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | ||
23 | PACKAGECONFIG[eglgles] = "--enable-eglgles,--disable-eglgles,virtual/egl virtual/libgles2" | ||
24 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | ||
25 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | ||
26 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | ||
27 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" | ||
28 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
29 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | ||
30 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | ||
31 | PACKAGECONFIG[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 | ||
40 | EXTRA_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 | |||
104 | ARM_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 @@ | |||
1 | include gstreamer1.0-plugins-bad.inc | ||
2 | |||
3 | LIC_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 | |||
8 | SRC_URI[md5sum] = "d1493d1219b836a8cbf54f4fba962420" | ||
9 | SRC_URI[sha256sum] = "5f49e6353fdc855834b5beb054b3a47ef5fa558006c7eda6d2ec07b36315c2ab" | ||
10 | |||
11 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-plugins-bad.inc | ||
4 | |||
5 | LIC_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 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce" | ||
13 | |||
14 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4" | ||
15 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | ||
16 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" | ||
17 | |||
18 | EXTRA_OECONF += " \ | ||
19 | -disable-openjpeg \ | ||
20 | " | ||
21 | |||
22 | do_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 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+" | ||
4 | |||
5 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}" | ||
6 | DEPENDS += "freetype liboil util-linux" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | inherit gettext | ||
11 | |||
12 | |||
13 | PACKAGECONFIG ??= " \ | ||
14 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
15 | ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | ||
16 | ivorbis ogg theora vorbis \ | ||
17 | " | ||
18 | |||
19 | X11DEPENDS = "virtual/libx11 libsm libxrender" | ||
20 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
21 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
22 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
23 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
24 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" | ||
25 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" | ||
26 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | ||
27 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | ||
28 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
29 | |||
30 | |||
31 | # cdparanoia and libvisual do not seem to exist anywhere in OE | ||
32 | EXTRA_OECONF += " \ | ||
33 | --disable-freetypetest \ | ||
34 | --disable-oggtest \ | ||
35 | --disable-vorbistest \ | ||
36 | --disable-cdparanoia \ | ||
37 | --disable-libvisual \ | ||
38 | ${GSTREAMER_1_0_ORC} \ | ||
39 | " | ||
40 | |||
41 | FILES_${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 @@ | |||
1 | include gstreamer1.0-plugins-base.inc | ||
2 | |||
3 | LIC_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 | |||
8 | SRC_URI[md5sum] = "b5b43cfbf82b413ce2e07a190d87e68f" | ||
9 | SRC_URI[sha256sum] = "014805e50b696bc06c3862ea656df079fc0b5fef0c10f16e9f085f290545677a" | ||
10 | |||
11 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-plugins-base.inc | ||
4 | |||
5 | LIC_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 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | SRCREV = "8d4cb64a4b9d84b10076bf350f80a0d6ea68ec2d" | ||
13 | |||
14 | do_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 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
4 | |||
5 | # libid3tag | ||
6 | DEPENDS += "gstreamer1.0-plugins-base gconf zlib bzip2" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | inherit gettext gconf | ||
11 | |||
12 | |||
13 | PACKAGECONFIG ??= " \ | ||
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 | |||
19 | X11DEPENDS = "virtual/libx11 libsm libxrender" | ||
20 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
21 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
22 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
23 | PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" | ||
24 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" | ||
25 | PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" | ||
26 | PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" | ||
27 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" | ||
28 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" | ||
29 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" | ||
30 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" | ||
31 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" | ||
32 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" | ||
33 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" | ||
34 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" | ||
35 | |||
36 | |||
37 | EXTRA_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 | |||
54 | FILES_${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 @@ | |||
1 | include gstreamer1.0-plugins-good.inc | ||
2 | |||
3 | LIC_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 | |||
7 | SRC_URI[md5sum] = "e4b1c825475a9b478fe29e8e9f34516f" | ||
8 | SRC_URI[sha256sum] = "a016a3b377c86658627aef902b9204108209100b2e88fcc3b695c392af1b4035" | ||
9 | |||
10 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-plugins-good.inc | ||
4 | |||
5 | LIC_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 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | SRCREV = "fd0123800c8c1cf1468c0fa5d592ad0d0d8b4140" | ||
12 | |||
13 | do_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 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+" | ||
4 | LICENSE_FLAGS = "commercial" | ||
5 | |||
6 | DEPENDS += "gstreamer1.0-plugins-base libid3tag" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | inherit gettext | ||
11 | |||
12 | |||
13 | PACKAGECONFIG ??= " \ | ||
14 | a52dec lame mad mpeg2dec \ | ||
15 | " | ||
16 | |||
17 | PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" | ||
18 | PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio" | ||
19 | PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread" | ||
20 | PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" | ||
21 | PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" | ||
22 | PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec" | ||
23 | PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264" | ||
24 | |||
25 | |||
26 | EXTRA_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 @@ | |||
1 | include gstreamer1.0-plugins-ugly.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
4 | file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068 " | ||
5 | |||
6 | SRC_URI[md5sum] = "8754edf6c3be235f232fb75ad11708bb" | ||
7 | SRC_URI[sha256sum] = "b78b8cfabe322497da432a0f297dbb21862a033f95e8d4cd8f207eccb5288f2b" | ||
8 | |||
9 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0-plugins-ugly.inc | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
6 | file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068 " | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f" | ||
11 | |||
12 | do_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 @@ | |||
1 | DESCRIPTION = "Plugins for GStreamer 1.x" | ||
2 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | ||
4 | SECTION = "multimedia" | ||
5 | DEPENDS = "gstreamer1.0" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | FILESPATH =. "${FILE_DIRNAME}/gst-plugins:" | ||
10 | |||
11 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" | ||
12 | GSTREAMER_1_0_GIT_BRANCH ?= "master" | ||
13 | EXTRA_OECONF = "--disable-valgrind ${GSTREAMER_1_0_DEBUG} --disable-examples " | ||
14 | |||
15 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | ||
16 | |||
17 | LIBV = "1.0" | ||
18 | require gst-plugins-package.inc | ||
19 | |||
20 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc" | ||
21 | |||
22 | PACKAGES_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 | ||
27 | oe_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 | |||
33 | python __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 | |||
51 | delete_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 | |||
56 | do_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 @@ | |||
1 | SUMMARY = "GStreamer 1.0 multimedia framework" | ||
2 | DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ | ||
3 | It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." | ||
4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
5 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | ||
6 | SECTION = "multimedia" | ||
7 | LICENSE = "LGPLv2+" | ||
8 | DEPENDS = "glib-2.0 libxml2 bison-native flex-native" | ||
9 | |||
10 | PR = "r1" | ||
11 | |||
12 | inherit autotools pkgconfig gettext | ||
13 | |||
14 | GSTREAMER_1_DEBUG ?= "--disable-debug" | ||
15 | EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind ${GSTREAMER_1_DEBUG}" | ||
16 | |||
17 | RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" | ||
18 | RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" | ||
19 | |||
20 | FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so" | ||
21 | FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a" | ||
22 | FILES_${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 @@ | |||
1 | From 6b26f3dbf9bf577d71534ab7410de66d06e46ba2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sat, 6 Apr 2013 23:52:11 +0200 | ||
4 | Subject: [PATCH] Fix crash with gst-inspect Chris Lord <chris@openedhand.com> | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
9 | --- | ||
10 | tools/gst-inspect.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c | ||
14 | index 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 | -- | ||
27 | 1.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 @@ | |||
1 | include gstreamer1.0.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \ | ||
4 | file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ | ||
8 | file://0001-Fix-crash-with-gst-inspect.patch \ | ||
9 | " | ||
10 | SRC_URI[md5sum] = "8f6066a37c71a0d0ff5fe5f7687fea12" | ||
11 | SRC_URI[sha256sum] = "68cada7ee24ede23e15dc81ccde11898eed1a7a3c6a2d81a8c31596fccb1b5ce" | ||
12 | S = "${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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include gstreamer1.0.inc | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ | ||
6 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d" | ||
7 | |||
8 | SRC_URI = "git://anongit.freedesktop.org/gstreamer/gstreamer;branch=master;protocol=git" | ||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | SRCREV = "3b8181a8c550e74acaba4e8c55bdc649fa551dc9" | ||
12 | |||
13 | do_configure() { | ||
14 | ./autogen.sh --noconfigure | ||
15 | oe_runconf | ||
16 | } | ||
17 | |||