gstreamer: push to current 0.10 git, backported hls fixes
[opendreambox.git] / meta-opendreambox / recipes-multimedia / gstreamer / gstreamer_0.10.36.1.bb
1 SUMMARY = "GStreamer 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 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
9                     file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
10 DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
11
12 PR = "r5"
13 GIT_PV = ""
14
15 SRCREV = "1bcabb9a23afb25dcd059bd827aa35b8ee7e5043"
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-0.10/*.so"
21 FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
22 FILES_${PN}-dbg += " ${libdir}/gstreamer-0.10/.debug/ ${libexecdir}/gstreamer-0.10/.debug/"
23
24 GSTREAMER_DEBUG ?= "--disable-debug"
25 EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind ${GSTREAMER_DEBUG}"
26
27 inherit autotools pkgconfig gettext git-project
28
29 SRC_URI = "git://anongit.freedesktop.org/gstreamer/${PN}"
30
31 SRC_URI += " \
32         file://check_fix.patch \
33         file://gst-inspect-check-error.patch \
34         file://multiqueue-sparsestreams.patch \
35 "
36
37 do_common_update() {
38         cd ${S}
39         # Make sure we have common
40         if test ! -f common/gst-autogen.sh;
41         then
42           echo "+ Setting up common submodule"
43           git submodule init
44         fi
45         git submodule update
46
47         # source helper functions
48         if test ! -f common/gst-autogen.sh;
49         then
50           echo There is something wrong with your source tree.
51           echo You are missing common/gst-autogen.sh
52           exit 1
53         fi
54         . common/gst-autogen.sh
55         # install pre-commit hook for doing clean commits
56         if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
57         then
58             rm -f .git/hooks/pre-commit
59             ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
60         fi
61
62         # GNU gettext automake support doesn't get along with git.
63         # https://bugzilla.gnome.org/show_bug.cgi?id=661128
64         autopoint || touch config.rpath
65         touch -t 200001010000 po/gst-plugins-base-0.10.pot
66 }
67 addtask common_update after do_unpack before do_patch
68
69 do_configure_prepend() {
70         # This m4 file contains nastiness which conflicts with libtool 2.2.2
71         rm ${S}/m4/lib-link.m4 || true
72 }
73
74 require mips-only.inc