diff options
Diffstat (limited to 'media-libs/dav1d/dav1d-9999.ebuild')
-rw-r--r-- | media-libs/dav1d/dav1d-9999.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/dav1d/dav1d-9999.ebuild b/media-libs/dav1d/dav1d-9999.ebuild index 850f1843db9a..c0d92e63904d 100644 --- a/media-libs/dav1d/dav1d-9999.ebuild +++ b/media-libs/dav1d/dav1d-9999.ebuild @@ -19,13 +19,16 @@ HOMEPAGE="https://code.videolan.org/videolan/dav1d" LICENSE="BSD-2" SLOT="0/5" -IUSE="+8bit +10bit +asm" +IUSE="+8bit +10bit +asm test xxhash" +RESTRICT="!test? ( test )" -ASM_DEPEND=">=dev-lang/nasm-2.14.02" +ASM_DEPEND=">=dev-lang/nasm-2.15.05" BDEPEND="asm? ( abi_x86_32? ( ${ASM_DEPEND} ) abi_x86_64? ( ${ASM_DEPEND} ) - )" + ) + xxhash? ( dev-libs/xxhash ) + " DOCS=( README.md doc/PATENTS THANKS.md ) @@ -44,6 +47,8 @@ multilib_src_configure() { local emesonargs=( -D bitdepths=$(IFS=,; echo "${bits[*]}") -D enable_asm=${enable_asm} + -D enable_tests=$(usex test true false) + -D xxhash_muxer=$(usex xxhash enabled disabled) ) meson_src_configure } |