gstreamer: push to current 0.10 git, backported hls fixes
[opendreambox.git] / meta-opendreambox / recipes-multimedia / gstreamer / gst-plugins-bad_0.10.23.1.bb
1 require recipes-multimedia/gstreamer/gst-plugins.inc
2
3 LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ "
4 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
5                     file://gst/tta/filters.h;beginline=12;endline=29;md5=629b0c7a665d155a6677778f4460ec06 \
6                     file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
7                     file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c"
8
9 DEPENDS += "libmusicbrainz tremor curl libmms"
10 DEPENDS += "gst-plugins-base"
11 CONFLICTS = "librsvg"
12
13 PR = "r3"
14 GIT_PV = ""
15
16 SRCREV = "fb0d8700e71c4a6569ba023d16201087aec119fd"
17
18 EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \
19                  --disable-vdpau --disable-apexsink --enable-orc --disable-mpeg2enc --disable-mplex --disable-rsvg --disable-uvch264"
20
21 ARM_INSTRUCTION_SET = "arm"
22
23 SRC_URI = "git://anongit.freedesktop.org/gstreamer/${PN}"
24
25 SRC_URI += " \
26         file://0003-mpegpsdemux_speedup.diff.patch \
27         file://0004-mpegdemux-compile-fixes.patch \
28         file://0005-hlsdemux-locking-fixes.patch \
29         file://0006-hlsdemux-backport.patch \
30         file://orc.m4-fix-location-of-orcc-when-cross-compiling.patch \
31 "
32
33 inherit autotools pkgconfig gettext git-project
34
35 do_common_update() {
36         cd ${S}
37         # Make sure we have common
38         if test ! -f common/gst-autogen.sh;
39         then
40           echo "+ Setting up common submodule"
41           git submodule init
42         fi
43         git submodule update
44
45         # source helper functions
46         if test ! -f common/gst-autogen.sh;
47         then
48           echo There is something wrong with your source tree.
49           echo You are missing common/gst-autogen.sh
50           exit 1
51         fi
52         . common/gst-autogen.sh
53         # install pre-commit hook for doing clean commits
54         if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
55         then
56             rm -f .git/hooks/pre-commit
57             ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
58         fi
59
60         # GNU gettext automake support doesn't get along with git.
61         # https://bugzilla.gnome.org/show_bug.cgi?id=661128
62         autopoint || touch config.rpath
63         touch -t 200001010000 po/gst-plugins-base-0.10.pot
64 }
65 addtask common_update after do_unpack before do_patch
66
67 do_configure_prepend() {
68         # This m4 file contains nastiness which conflicts with libtool 2.2.2
69         rm ${S}/m4/lib-link.m4 || true
70 }
71
72 require mips-only.inc