[2/4] libav: add version 10.1

Submitted by Matthieu CRAPET on May 21, 2014, 11:37 a.m.

Details

Message ID 1400672277-7181-2-git-send-email-Matthieu.Crapet@ingenico.com
State New
Headers show

Commit Message

Matthieu CRAPET May 21, 2014, 11:37 a.m.
Using common libav.inc
Notice that DEFAULT_PREFERENCE = "-1" is not included.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
 meta/recipes-multimedia/libav/libav_10.1.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/recipes-multimedia/libav/libav_10.1.bb

Patch hide | download patch | download mbox

diff --git a/meta/recipes-multimedia/libav/libav_10.1.bb b/meta/recipes-multimedia/libav/libav_10.1.bb
new file mode 100644
index 0000000..54e4056
--- /dev/null
+++ b/meta/recipes-multimedia/libav/libav_10.1.bb
@@ -0,0 +1,14 @@ 
+require libav.inc
+
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
+                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
+
+SRC_URI = "http://libav.org/releases/${BP}.tar.xz"
+
+SRC_URI[md5sum] = "0f751b439b6a5525d4c8a214f0db6aac"
+SRC_URI[sha256sum] = "d5e04dc9adf43a467aa628f622425697d587a29cb0b997b45459f59cb00f9e15"
+
+# Options for Libav version 10+
+PACKAGECONFIG[webp] = "--enable-libwebp,--disable-libwebp,libwebp"

Comments

Paul Eggleton May 21, 2014, 12:01 p.m.
Hi Matthieu,

On Wednesday 21 May 2014 13:37:55 Matthieu Crapet wrote:
> Using common libav.inc

I'm not exactly thrilled with the prospect of carrying not just two but now 
three versions of libav - do you know what the compatibility story is for 
libav 10 with the recipes we would want to build against it (i.e. those 
currently building against 9.x)?

> Notice that DEFAULT_PREFERENCE = "-1" is not included.

Given that we need 0.8.x to be built for gstreamer 0.10 which (as we've 
discussed recently) is still needed, unless we can add some extra dependency 
relationship which forces the correct version of libav to be built as Richard 
suggested I don't think we can remove DEFAULT_PREFERENCE here.

Cheers,
Paul