diff options
author | Sam James <sam@gentoo.org> | 2023-10-06 03:45:02 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-06 03:45:02 +0100 |
commit | 7ae8d9fa7f599ee2a1255ecd40ef4bcc2cd907c9 (patch) | |
tree | 00f81f3a8dbe3c0d50a97ad622ff485bf0ebd1c9 /media-libs/dav1d | |
parent | app-crypt/sequoia-chameleon-gnupg: bump crates to fix build failure (diff) | |
download | gentoo-7ae8d9fa7f599ee2a1255ecd40ef4bcc2cd907c9.tar.gz gentoo-7ae8d9fa7f599ee2a1255ecd40ef4bcc2cd907c9.tar.bz2 gentoo-7ae8d9fa7f599ee2a1255ecd40ef4bcc2cd907c9.zip |
media-libs/dav1d: add 1.3.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/dav1d')
-rw-r--r-- | media-libs/dav1d/Manifest | 1 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-1.3.0.ebuild | 61 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-9999.ebuild | 4 |
3 files changed, 64 insertions, 2 deletions
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index 1e54c9865145..c3982e9dd8b5 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -3,3 +3,4 @@ DIST dav1d-1.0.0.tar.bz2 960470 BLAKE2B 79355eeceea37df81e30be49dfea3dee9747fbbb DIST dav1d-1.1.0.tar.bz2 994368 BLAKE2B 877fd315fb00cb37c80f128c871641b8dbc4a7c9edb3d81afe00e65cb907ed88bcc10e2f92855d1eef51e196a7ae6d189db16dcf0e151f7ca9db715451bd28f5 SHA512 2eb177b415d1ac7bd08d54b16375afedec61f0771a5181fa93e5e6215856fc26504a7cb47de08abbea5bf18fac5ff91ca31044e7054681c380e0ab152e53aabc DIST dav1d-1.2.0.tar.xz 866120 BLAKE2B f9c9ca8c48ba2cae8e2137bb46e9db9a2070b3fba35ca142fde836f20be8a0db11b3b0dc3f78d06780d5cf6d014b0a6b545368371f421864d3f30a35ca6fe5ef SHA512 1f1775bdcdbc38a0bb12d7f14f01ee321cc03f15d8b7c6fabe2ada3a3c46885b0eff5851ea912079a1519ef01278c3a192e3b0347b0ab9b25cafab4124f1ae6a DIST dav1d-1.2.1.tar.xz 873008 BLAKE2B 52478112f1f2c39a020556a8ed18c1267de93fc129941eb87b75fa872188a0389389ba9c7f7ae641726ca78a0a515ce5923968374b8122fec159f33c1f65e7bc SHA512 f172eebc0a5f6c51d31fc9e9758c2dd0de51d8a5d0e00c93a5f2b1b16b7b4a37b365f9c56dea95d400e66b63af5fa4c63d9e720719ac38852777fc8c6066e4a7 +DIST dav1d-1.3.0.tar.xz 885220 BLAKE2B aa79eaa22adde287a31ed60b88ae8d4095e18b92359a7e30aecd13c10eafe07acdeeb2f0bdb232acc6b136cdbd87626ac641df0615683d50f355edfd6c028caf SHA512 a91d217b8656c452dd80f5597e988f0e7a2ea32b12092c2695e7dc388033db7b193f7a8c98413bec31d1c38af376561d39f7618b935c4feeb6498c5d2b43f6a4 diff --git a/media-libs/dav1d/dav1d-1.3.0.ebuild b/media-libs/dav1d/dav1d-1.3.0.ebuild new file mode 100644 index 000000000000..69bc630fc619 --- /dev/null +++ b/media-libs/dav1d/dav1d-1.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d" + inherit git-r3 +else + SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" +fi + +inherit meson-multilib + +DESCRIPTION="dav1d is an AV1 Decoder :)" +HOMEPAGE="https://code.videolan.org/videolan/dav1d" + +LICENSE="BSD-2" +# Check SONAME on version bumps! +SLOT="0/7" +IUSE="+8bit +10bit +asm test xxhash" +RESTRICT="!test? ( test )" + +ASM_DEPEND=">=dev-lang/nasm-2.15.05" +DEPEND="xxhash? ( dev-libs/xxhash )" +BDEPEND=" + asm? ( + abi_x86_32? ( ${ASM_DEPEND} ) + abi_x86_64? ( ${ASM_DEPEND} ) + ) +" + +DOCS=( README.md doc/PATENTS THANKS.md ) + +multilib_src_configure() { + local -a bits=() + use 8bit && bits+=( 8 ) + use 10bit && bits+=( 16 ) + + local enable_asm + if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then + enable_asm=false + else + enable_asm=$(usex asm true false) + fi + + local emesonargs=( + -Dbitdepths=$(IFS=,; echo "${bits[*]}") + -Denable_asm=${enable_asm} + $(meson_use test enable_tests) + $(meson_feature xxhash xxhash_muxer) + ) + meson_src_configure +} + +multilib_src_test() { + if multilib_is_native_abi ; then + meson_src_test + fi +} diff --git a/media-libs/dav1d/dav1d-9999.ebuild b/media-libs/dav1d/dav1d-9999.ebuild index 9fe8aea4d1ae..69bc630fc619 100644 --- a/media-libs/dav1d/dav1d-9999.ebuild +++ b/media-libs/dav1d/dav1d-9999.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" fi inherit meson-multilib @@ -18,7 +18,7 @@ HOMEPAGE="https://code.videolan.org/videolan/dav1d" LICENSE="BSD-2" # Check SONAME on version bumps! -SLOT="0/6" +SLOT="0/7" IUSE="+8bit +10bit +asm test xxhash" RESTRICT="!test? ( test )" |