diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
commit | a15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch) | |
tree | 6e26ee0323c09494a66d0f78c4b81e305bb0d096 /media-libs/dav1d | |
parent | 3dc4de6331223493015f198dc61854af604da86c (diff) |
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'media-libs/dav1d')
-rw-r--r-- | media-libs/dav1d/Manifest | 2 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-1.5.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index 415c08e4e012..8e3eca46f8ae 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -1,4 +1,6 @@ DIST dav1d-1.4.2.tar.xz 970104 BLAKE2B 03c8effb21df5c748f6e836413454577ac0920dce37d6e4922c2a0e493f79c9bb9fb6eabe05e2ac0f0f7089751bec1eb92717305c5faac1b71efd7b0dabe6be7 SHA512 36f8e632f64212db63e126b9ed2ca95c2db930d2388c551cde0b13b783ae872edeab1b5dd2274684bb03e98536d0334552ddcba209cff08c3568d97321034920 +DIST dav1d-1.5.0.tar.xz 1017040 BLAKE2B 7cf75b9de834c77a8012fb560fadca339d0faa0ab92073fd0119f0c5ccbb19017aa271a1aa0939aa698a52e2285b79a956021776a702afe2a7de131ce92d7241 SHA512 774881d27d045f468a8617317fa751e1ce452a15c6d6c2c93c3dd3c3544d6b2b91b0c3eb5ff379f113c26b27a02dc4b54d0751b083dcbcb18bb96c66a6504acb EBUILD dav1d-1.4.2.ebuild 1360 BLAKE2B 53c997faaeb47c4fc8fad8aa51592da5d97061691a900a47f41431d4f640ed6dd93ccb16560a30bfb3f2416325c0555680a657152fbef8696746edbadcd26482 SHA512 028d6fcf03d3be1a71774109eb37444877fdbef18177a50cace2f99bc3f3962d661aaab218029260162761b60a4a7251b6f3d15f13b512c17d7fa3e47156846f +EBUILD dav1d-1.5.0.ebuild 1367 BLAKE2B 0e1d6d32af24e810af9577ecb6d9ca2d3f8409de96ec4563cda3adfb133d702001d68609c8e54468344daef2e467d8559e4a7dba7861bde0c9925605f2c31c14 SHA512 b8bba95dc0acba0cded6d58531cc516a684fa09851be32dda1dd42502e80dc1e6f7c3053eccf75fd5fb83f6a5095207edae5b8bad68ccb2ad7f57495207f5c87 EBUILD dav1d-9999.ebuild 1367 BLAKE2B 0e1d6d32af24e810af9577ecb6d9ca2d3f8409de96ec4563cda3adfb133d702001d68609c8e54468344daef2e467d8559e4a7dba7861bde0c9925605f2c31c14 SHA512 b8bba95dc0acba0cded6d58531cc516a684fa09851be32dda1dd42502e80dc1e6f7c3053eccf75fd5fb83f6a5095207edae5b8bad68ccb2ad7f57495207f5c87 MISC metadata.xml 616 BLAKE2B e1761e4fa6578e904fb77dfc366a718e1c892583abc30f3552f64385826f0f898d8ba5a288fea3d297bf998acab596deac9532f7a13f123b2f996d13a128df4f SHA512 0f33c2977773ed2ed4dba9b70de50ace72248938c19eafbdf9828ec28aa462aaa9c8f17ed3b5d51cc83f27265ed79769c1df6a62ebe103005e1b3b0660230b7c diff --git a/media-libs/dav1d/dav1d-1.5.0.ebuild b/media-libs/dav1d/dav1d-1.5.0.ebuild new file mode 100644 index 000000000000..93a307754a90 --- /dev/null +++ b/media-libs/dav1d/dav1d-1.5.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~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 +} |