Skip to content

Commit

Permalink
media-libs/dav1d: Update meson options.
Browse files Browse the repository at this point in the history
build_asm was renamed to enable_asm in:
https://code.videolan.org/videolan/dav1d/commit/beda6e0d1c37f06e4e03f7ebe13311bd8b18245e

Fixes: https://bugs.gentoo.org/696244
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <[email protected]>
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Dec 6, 2019
1 parent 15011d6 commit 40ecf30
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions media-libs/dav1d/dav1d-0.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ multilib_src_configure() {
use 8bit && bits+=( 8 )
use 10bit && bits+=( 16 )

local enable_asm
if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
build_asm=false
enable_asm=false
else
build_asm=$(usex asm true false)
enable_asm=$(usex asm true false)
fi

local emesonargs=(
-D bitdepths=$(IFS=,; echo "${bits[*]}")
-D build_asm=$build_asm
-D enable_asm=${enable_asm}
)
meson_src_configure
}
Expand Down
7 changes: 4 additions & 3 deletions media-libs/dav1d/dav1d-0.5.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ multilib_src_configure() {
use 8bit && bits+=( 8 )
use 10bit && bits+=( 16 )

local enable_asm
if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
build_asm=false
enable_asm=false
else
build_asm=$(usex asm true false)
enable_asm=$(usex asm true false)
fi

local emesonargs=(
-D bitdepths=$(IFS=,; echo "${bits[*]}")
-D build_asm=$build_asm
-D enable_asm=${enable_asm}
)
meson_src_configure
}
Expand Down
7 changes: 4 additions & 3 deletions media-libs/dav1d/dav1d-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ multilib_src_configure() {
use 8bit && bits+=( 8 )
use 10bit && bits+=( 16 )

local enable_asm
if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
build_asm=false
enable_asm=false
else
build_asm=$(usex asm true false)
enable_asm=$(usex asm true false)
fi

local emesonargs=(
-D bitdepths=$(IFS=,; echo "${bits[*]}")
-D build_asm=$build_asm
-D enable_asm=${enable_asm}
)
meson_src_configure
}
Expand Down

0 comments on commit 40ecf30

Please sign in to comment.