gst-ffmpeg: add PACKAGECONFIG for libav9 and patch from Gentoo

* apply the patch only when PACKAGECONFIG is selected, because the changes
  aren't backwards compatible

(From OE-Core rev: 7324d7deb18b81943100bc35301b0c4aa22dc404)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2014-08-08 15:57:52 +02:00 committed by Richard Purdie
parent 1e001d0e71
commit 77ebfe7482
2 changed files with 9306 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -53,6 +53,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/${BPN}/${BPN}-${PV}.tar.bz2 \
file://0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch \
file://0001-lavf-compute-probe-buffer-size-more-reliably.patch \
file://0001-ffserver-set-oformat.patch \
${@bb.utils.contains('PACKAGECONFIG', 'libav9', 'file://libav-9.patch', '', d)} \
"
SRC_URI[md5sum] = "7f5beacaf1312db2db30a026b36888c4"
@ -79,6 +80,7 @@ EXTRA_OECONF = "${FFMPEG_EXTRA_CONFIGURE_COMMON}"
PACKAGECONFIG ??= "external-libav"
PACKAGECONFIG[external-libav] = "--with-system-ffmpeg,,libav"
PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
PACKAGECONFIG[libav9] = ",,,"
FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"