commit:     aedbcba4f4c0eef97557e9d8068dbeec1e154b54
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  1 19:44:24 2018 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 21:03:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedbcba4

media-libs/dav1d: Do not build the x86 assembly on x32

It is not supported by upstream right now. bug #667460

Package-Manager: Portage-2.3.50, Repoman-2.3.10
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>

 media-libs/dav1d/dav1d-9999.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-libs/dav1d/dav1d-9999.ebuild 
b/media-libs/dav1d/dav1d-9999.ebuild
index 2f6ff4e339b..c5eab1165a3 100644
--- a/media-libs/dav1d/dav1d-9999.ebuild
+++ b/media-libs/dav1d/dav1d-9999.ebuild
@@ -36,9 +36,15 @@ multilib_src_configure() {
        use 8bit  && bits+=( 8 )
        use 10bit && bits+=( 10 )
 
+       if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
+               build_asm=false
+       else
+               build_asm=$(usex asm true false)
+       fi
+
        local emesonargs=(
                -D bitdepths=$(IFS=,; echo "${bits[*]}")
-               -D build_asm=$(usex asm true false)
+               -D build_asm=$build_asm
        )
        meson_src_configure
 }

Reply via email to