gst-plugins-bad: add some packageconfig options from 0.10.23
[opendreambox.git] / meta-opendreambox / recipes-multimedia / gstreamer / gst-plugins-bad_git.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 += "gst-plugins-base"
10 SRCREV = "05183675077d502aaf0e7483656f5610bb4d0f43"
11 PV = "0.10.23.1+git${SRCPV}"
12
13 CPPFLAGS += "${@base_contains('DISTRO_FEATURES', 'x11', '', '-DMESA_EGL_NO_X11_HEADERS', d)}"
14
15 SRC_URI = "git://anongit.freedesktop.org/gstreamer/${PN} \
16            file://0003-mpegpsdemux_speedup.diff.patch \
17            file://0004-mpegdemux-compile-fixes.patch \
18            file://0005-hlsdemux-locking-fixes.patch \
19            file://0006-hlsdemux-backport.patch \
20            file://0007-revert-rtmp-change.patch \
21            file://0008-faad-lower-rank.patch \
22            file://orc.m4-fix-location-of-orcc-when-cross-compiling.patch"
23
24 inherit gettext
25
26 EXTRA_OECONF += "--disable-experimental \
27                  --disable-sdl --disable-cdaudio --disable-directfb \
28                  --disable-vdpau --disable-apexsink"
29 EXTRA_OECONF += "--disable-examples --disable-mpeg2enc --disable-mplex \
30                  --disable-uvch264 --disable-fatal-warnings"
31
32 PACKAGECONFIG ??= "bzip curl \
33                    ${@base_contains('DISTRO_FEATURES', 'x11', 'rsvg', '', d)}"
34
35 PACKAGECONFIG[bzip] = "--enable-bz2,--disable-bz2,bzip2"
36 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
37 PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg,"
38 PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native"
39 PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
40 PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms"
41 PACKAGECONFIG[cog] = "--enable-cog,--disable-cog,libpng"
42 PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
43 PACKAGECONFIG[jp2k] = "--enable-jp2k,--disable-jp2k,jasper"
44 PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
45 PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
46 PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1"
47 PACKAGECONFIG[vp8] = "--enable-vp8,--disable-vp8,libvpx"
48 PACKAGECONFIG[ass] = "--enable-assrender,--disable-assrender,libass"
49 PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
50 PACKAGECONFIG[musicbrainz] = "--enable-musicbrainz,--disable-musicbrainz,libmusicbrainz"
51
52 ARM_INSTRUCTION_SET = "arm"
53
54 PACKAGES_DYNAMIC += "^libgst(basecamerabinsrc|basevideo|codecparsers|photography|signalprocessor)-${LIBV}.*"
55
56 require gst-git.inc