From 9a9923084c18eb650791e413e7a937bb69ca4cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 18 Dec 2015 12:07:55 +0000 Subject: strata/multimedia-common.morph: Add workaround to compile libvpx in ARM Bug report filled upstream here: https://bugs.chromium.org/p/webm/issues/detail?id=1121 Change-Id: Ic4165c3ec2c05234dd10b3c8611b78fa0684760f --- strata/multimedia-common.morph | 2 +- strata/multimedia-common/libvpx.morph | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 strata/multimedia-common/libvpx.morph diff --git a/strata/multimedia-common.morph b/strata/multimedia-common.morph index 2a2a8a24..d381e68a 100644 --- a/strata/multimedia-common.morph +++ b/strata/multimedia-common.morph @@ -41,10 +41,10 @@ chunks: ref: fefefe262eb29081f0bcb4d48f2d476ce5730562 unpetrify-ref: baserock/morph - name: libvpx + morph: strata/multimedia-common/libvpx.morph repo: upstream:libvpx ref: cbecf57f3e0d85a7b7f97f3ab7c507f6fe640a93 unpetrify-ref: v1.5.0 - build-system: autotools build-depends: - yasm - name: libmpeg2 diff --git a/strata/multimedia-common/libvpx.morph b/strata/multimedia-common/libvpx.morph new file mode 100644 index 00000000..011642f4 --- /dev/null +++ b/strata/multimedia-common/libvpx.morph @@ -0,0 +1,14 @@ +name: libvpx +kind: chunk +build-system: autotools +configure-commands: +# Workarond upstream bug: https://bugs.chromium.org/p/webm/issues/detail?id=1121 +- | + case "$MORPH_ARCH" in + armv7lhf) + CROSS=" " ./configure --prefix="$PREFIX" --target=armv7-linux-gcc + ;; + *) + ./configure --prefix="$PREFIX" + ;; + esac -- cgit v1.2.1