diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-12-18 12:07:55 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2016-01-04 13:50:05 +0000 |
commit | 9a9923084c18eb650791e413e7a937bb69ca4cfd (patch) | |
tree | 9a36d5dfad7fe0407b886f04dcb889360a1734af | |
parent | 232a17c8dec3a0fccef2d2c7b40740a8c5b68255 (diff) | |
download | definitions-9a9923084c18eb650791e413e7a937bb69ca4cfd.tar.gz |
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
-rw-r--r-- | strata/multimedia-common.morph | 2 | ||||
-rw-r--r-- | strata/multimedia-common/libvpx.morph | 14 |
2 files changed, 15 insertions, 1 deletions
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 |