1 require recipes-multimedia/gstreamer/gst-plugins.inc
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"
9 DEPENDS += "libmusicbrainz tremor curl libmms librtmp libmms faad2"
10 DEPENDS += "gst-plugins-base"
16 SRCREV = "cef47d85294a0dca38631f938b81a3f0dd6891bd"
18 EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb --enable-faad \
19 --disable-vdpau --disable-apexsink --enable-orc --disable-mpeg2enc --disable-mplex --disable-rsvg --disable-uvch264"
21 ARM_INSTRUCTION_SET = "arm"
23 SRC_URI = "git://anongit.freedesktop.org/gstreamer/${PN};branch=0.10"
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://0007-revert-rtmp-change.patch \
31 file://orc.m4-fix-location-of-orcc-when-cross-compiling.patch \
32 file://Lower-rank-of-faad-to-prevent-using-it-if-not-necess.patch \
35 inherit autotools pkgconfig gettext git-project
39 # Make sure we have common
40 if test ! -f common/gst-autogen.sh;
42 echo "+ Setting up common submodule"
47 # source helper functions
48 if test ! -f common/gst-autogen.sh;
50 echo There is something wrong with your source tree.
51 echo You are missing common/gst-autogen.sh
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 \);
58 rm -f .git/hooks/pre-commit
59 ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
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
67 addtask common_update after do_unpack before do_patch
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