summaryrefslogtreecommitdiff
path: root/media-libs/dav1d
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-04 11:43:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-04 11:43:04 +0000
commit56a597689e7509193b0924a635d2022f21b1a3e4 (patch)
tree476358a5cea634edc1fb0504f6ec03b282cfb83e /media-libs/dav1d
parent57e2174dcd454b41778b7b437f88d0a9f1a6e428 (diff)
gentoo auto-resync : 04:03:2024 - 11:43:04
Diffstat (limited to 'media-libs/dav1d')
-rw-r--r--media-libs/dav1d/Manifest6
-rw-r--r--media-libs/dav1d/dav1d-1.3.0.ebuild4
-rw-r--r--media-libs/dav1d/dav1d-1.4.0.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-9999.ebuild4
4 files changed, 69 insertions, 6 deletions
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest
index 9fe20e8c7990..af93576f2232 100644
--- a/media-libs/dav1d/Manifest
+++ b/media-libs/dav1d/Manifest
@@ -1,7 +1,9 @@
AUX build-avoid-meson-s-symbols_have_underscore_prefix.patch 1300 BLAKE2B edb4998f3722b0a4da1ea4b7ea77c05f4a7d7be5dcdf6b3898c4930cbdb015dc63217a9ec6af03eece5c4209f62b8f7a855231c7ebc97f94df93193c92fec0d7 SHA512 82c12e98016cb1247ded7a1d5bc913b92632a99dba5b35881c2d35badfdf652fed77a9d70904c224bb909d9209b28e75205718f8495e6f41651ef387a684d047
DIST dav1d-1.2.1.tar.xz 873008 BLAKE2B 52478112f1f2c39a020556a8ed18c1267de93fc129941eb87b75fa872188a0389389ba9c7f7ae641726ca78a0a515ce5923968374b8122fec159f33c1f65e7bc SHA512 f172eebc0a5f6c51d31fc9e9758c2dd0de51d8a5d0e00c93a5f2b1b16b7b4a37b365f9c56dea95d400e66b63af5fa4c63d9e720719ac38852777fc8c6066e4a7
DIST dav1d-1.3.0.tar.xz 885220 BLAKE2B aa79eaa22adde287a31ed60b88ae8d4095e18b92359a7e30aecd13c10eafe07acdeeb2f0bdb232acc6b136cdbd87626ac641df0615683d50f355edfd6c028caf SHA512 a91d217b8656c452dd80f5597e988f0e7a2ea32b12092c2695e7dc388033db7b193f7a8c98413bec31d1c38af376561d39f7618b935c4feeb6498c5d2b43f6a4
+DIST dav1d-1.4.0.tar.xz 942120 BLAKE2B e37f7abc222b9a0f774a76ef6dcc2f28c411220c0f92c2239e51c3313bf1109fb6e4feb1451049248e033f2dd79550536a773f3b7b07e5a7890e8bb760c0f596 SHA512 32fcb1d19f35bec62c05637987e0204cf76880af192685e0acb08ea30cb9dac889ee89be0f847c79c6c51210c375031b26cf6e4aabc91480e44777e9fb3cbe02
EBUILD dav1d-1.2.1.ebuild 1347 BLAKE2B de3670e808679ad49a33c8d276a2affaef135e36210dbbad92edc657340c8b532145abc96ce44dbcd991ee770f1c8b2a254a8d4edab776c24a000e2424a83898 SHA512 6317af6c42186aa921dee05fa704a3c7ab4a25b7aa48ac8541911014b92282cc6df13e5f7792f68a8987f2688a0ceb82dd8285eb4354f5f8c35f55458f7bf69a
-EBUILD dav1d-1.3.0.ebuild 1373 BLAKE2B 38cd3ed88071745ee9ea67cbd6ff92aca2e547ab3f662fd08b45ee69332975696f41776cf2849093320f46736106a589e60725322c2fa66d57c23923f76cd3f8 SHA512 bf3323e132cc41e19bd33791f36a65511b92b9c61b5c738801b5b2994c3a3b2e4ef16a044f8cf474a8d528edf5faae4b95182262aec2bacc07f69b4db2ecdac3
-EBUILD dav1d-9999.ebuild 1354 BLAKE2B 1f8b2ab92bb03fb58289cc32e895185002b5d4e18c04c0c940004bcef287fb3f5f7612ff4ad091342d8be1c572d977046e13bc9f0ed17c25703c83bd1cdc2779 SHA512 00371911b5fa7834499eb786e16af27429c2a8f2bfe3f78d07e37b06d12020b6d33542f3d1b4a931ffd9140658ad7fc448baff051f15c9abb630c6aa7895fa1a
+EBUILD dav1d-1.3.0.ebuild 1366 BLAKE2B d7bf0bdd1860a58b7fed04790177a7196d93830851bff260dd38e5de8568bb9c02f7882276c404280120b779df93cb8dfa586d3ac6e8513e4f75f918374852aa SHA512 5be01cf0c22e2faf1b7375f71e408bcae9dbe2ff56a6e22baef7124107ea24a5f9ec280e8f4bf554ac08ea0f52f3a572c6a2d781fdc4cf8f67323c5193119c82
+EBUILD dav1d-1.4.0.ebuild 1373 BLAKE2B 3117b8d931538b519d0c6f39ad640a170bdc316b83ea6148f40df49d903acbdf4e9054e2553633bcdda4bc283f8b700c1e44bd14db7c2b2d8fff575b6caf9531 SHA512 091778cda9c59f884b9e8d1e69322d5b12bf66d72ada57e2e99ec2ea9f6300e716e5022ccbe78d64e1b8677627db1cbda7aa3e1e0432bbfa11161c9a04fba2d0
+EBUILD dav1d-9999.ebuild 1373 BLAKE2B 3117b8d931538b519d0c6f39ad640a170bdc316b83ea6148f40df49d903acbdf4e9054e2553633bcdda4bc283f8b700c1e44bd14db7c2b2d8fff575b6caf9531 SHA512 091778cda9c59f884b9e8d1e69322d5b12bf66d72ada57e2e99ec2ea9f6300e716e5022ccbe78d64e1b8677627db1cbda7aa3e1e0432bbfa11161c9a04fba2d0
MISC metadata.xml 614 BLAKE2B 8ffc2f4fda046aeced2518719c445031ce26e093e9a6b96766e3d8c3800392d7227dbea708e0ed3b1e8869ab9572a7030085b117e0475dc61144e72531617816 SHA512 a87e812e2b1a2cfc107abe4bc724b9c0c175b67caef103de761aef0e95f8ef265388ca3d3f00ee774a93f6b659922c403d355158a67273b91c75b4edc6d11b24
diff --git a/media-libs/dav1d/dav1d-1.3.0.ebuild b/media-libs/dav1d/dav1d-1.3.0.ebuild
index efd6748fe32c..70a8805a964d 100644
--- a/media-libs/dav1d/dav1d-1.3.0.ebuild
+++ b/media-libs/dav1d/dav1d-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~arm64-macos ~x64-macos"
fi
inherit meson-multilib
diff --git a/media-libs/dav1d/dav1d-1.4.0.ebuild b/media-libs/dav1d/dav1d-1.4.0.ebuild
new file mode 100644
index 000000000000..5a9b234dae6e
--- /dev/null
+++ b/media-libs/dav1d/dav1d-1.4.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 ~ia64 ~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 69bc630fc619..5a9b234dae6e 100644
--- a/media-libs/dav1d/dav1d-9999.ebuild
+++ b/media-libs/dav1d/dav1d-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -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 ~arm64-macos ~x64-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
inherit meson-multilib