gst-plugins-base: move patches to gst-plugins-base-0.10.36.1
[opendreambox.git] / meta-opendreambox / recipes-multimedia / gstreamer / gst-plugins-base_0.10.36.1.bb
1 require recipes-multimedia/gstreamer/gst-plugins.inc
2
3 LICENSE = "GPLv2+ & LGPLv2+"
4 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
5                     file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
6                     file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
7                     file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
8
9 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}"
10 DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora avahi util-linux tremor orc orc-native"
11 DEPENDS += "gstreamer"
12
13 SRCREV = "bdb33163478fdf95938fbdca7eabad3ea920a277"
14
15 PR = "r4"
16
17 inherit autotools pkgconfig gettext git-project
18
19 SRC_URI = "git://anongit.freedesktop.org/gstreamer/${PN}"
20
21 SRC_URI += " \
22         file://orc.m4-fix-location-of-orcc-when-cross-compiling.patch \
23         file://disable-vorbis-encoder.patch \
24         file://gst-plugins-base-tremor.patch \
25         file://configure.ac-fix-subparse-plugin.patch \
26 "
27
28 do_common_update() {
29         cd ${S}
30         # Make sure we have common
31         if test ! -f common/gst-autogen.sh;
32         then
33           echo "+ Setting up common submodule"
34           git submodule init
35         fi
36         git submodule update
37
38         # source helper functions
39         if test ! -f common/gst-autogen.sh;
40         then
41           echo There is something wrong with your source tree.
42           echo You are missing common/gst-autogen.sh
43           exit 1
44         fi
45         . common/gst-autogen.sh
46         # install pre-commit hook for doing clean commits
47         if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
48         then
49             rm -f .git/hooks/pre-commit
50             ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
51         fi
52
53         # GNU gettext automake support doesn't get along with git.
54         # https://bugzilla.gnome.org/show_bug.cgi?id=661128
55         autopoint || touch config.rpath
56         touch -t 200001010000 po/gst-plugins-base-0.10.pot
57 }
58 addtask common_update after do_unpack before do_patch
59
60 do_configure_prepend() {
61         # This m4 file contains nastiness which conflicts with libtool 2.2.2
62         rm ${S}/m4/lib-link.m4 || true
63 }
64
65 FILESPATH = "${FILE_DIRNAME}/${PN}-0.10.36.1"
66
67 require mips-only.inc