diff options
Diffstat (limited to 'media-libs/dav1d')
-rw-r--r-- | media-libs/dav1d/Manifest | 4 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-1.2.0.ebuild | 61 | ||||
-rw-r--r-- | media-libs/dav1d/dav1d-9999.ebuild | 12 |
3 files changed, 71 insertions, 6 deletions
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index 9f62c978510a..b61d4bdfa982 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -2,8 +2,10 @@ AUX build-avoid-meson-s-symbols_have_underscore_prefix.patch 1300 BLAKE2B edb499 DIST dav1d-0.9.2.tar.bz2 833722 BLAKE2B b05edd1ca627906e57923be08f1ecd73469f9a8e2ed585edf81f1fe1ffc173f1e4ba52eb766b82d9ea1349a6c1cf2a5a48cc9a5bcf2debeb9d640d9842e266f4 SHA512 adfb822734a3fc8b73e9cf5f757bfd78fb144b00d95f1e942254c5caf1d801b05438d39571486ef37a94d2226166937fc56160a862e8d6d45c4f6d790531dc3f DIST dav1d-1.0.0.tar.bz2 960470 BLAKE2B 79355eeceea37df81e30be49dfea3dee9747fbbb82c0a08be3bbda525881112a8eb847afe3c3ccd0447fd6ee67ae540c5120ea00d4f891ac422850c611850c97 SHA512 86c6481e787fb6b8c28521e1efb1876d1be99f5fa5332cddab1111059b44775e05203cfc5c80a1b404ee00f35a1f5e1099e21b1f0851d77fb0101567e8b1a892 DIST dav1d-1.1.0.tar.bz2 994368 BLAKE2B 877fd315fb00cb37c80f128c871641b8dbc4a7c9edb3d81afe00e65cb907ed88bcc10e2f92855d1eef51e196a7ae6d189db16dcf0e151f7ca9db715451bd28f5 SHA512 2eb177b415d1ac7bd08d54b16375afedec61f0771a5181fa93e5e6215856fc26504a7cb47de08abbea5bf18fac5ff91ca31044e7054681c380e0ab152e53aabc +DIST dav1d-1.2.0.tar.xz 866120 BLAKE2B f9c9ca8c48ba2cae8e2137bb46e9db9a2070b3fba35ca142fde836f20be8a0db11b3b0dc3f78d06780d5cf6d014b0a6b545368371f421864d3f30a35ca6fe5ef SHA512 1f1775bdcdbc38a0bb12d7f14f01ee321cc03f15d8b7c6fabe2ada3a3c46885b0eff5851ea912079a1519ef01278c3a192e3b0347b0ab9b25cafab4124f1ae6a EBUILD dav1d-0.9.2.ebuild 1392 BLAKE2B bfc3a4e00ab29a8492a714e27ae9577ef5fa0963dbf041eea653a007d4fee4121cfa9c74279084ec1e83292d25ca3ade0cb4bf17ae1bbf49aee781a2af1dd26e SHA512 50521384c4d9d2a54f011e64a0ec9605bcbae244da3408c71c77cfc21633816e1573f4035e8d38565ef624fd136519475ef95c69e7abc7fd6ea1e377e921173d EBUILD dav1d-1.0.0.ebuild 1309 BLAKE2B de42f5a7895e34cf5acf6916f1cae3d7cb4837395a250b5bdd695e523dd49e8c1844bec32cc89323360117c35ccbf0f8529a531181f45f991366d17d70a1e8c2 SHA512 4d68269aec8f7b3f5cdca296d2faa1ab13ca3c482cb3aaaaf1e9a74d5cae6491582077bf4a1b886600d917189dad7f4e7f0b8d4111094c8fa4a84db41be46ff2 EBUILD dav1d-1.1.0.ebuild 1321 BLAKE2B b0b6dda3b52dbffb3592e563645c35efca4343a888a242529cd0f18eec1986bbbcc3fd9f12b6e6855fe945122e555a61af3c555abcf04935371589ab5ce8fb0a SHA512 0bafdafc9715e590ed953366700d47df193aecf043d86f4030565de2996cf32436a1613fb2be766ce0c0f0e24bff4c3d3f5b4e5f70f745f84f188040703c69b6 -EBUILD dav1d-9999.ebuild 1315 BLAKE2B b858d3015020b0034224c895c41a10a0e80de71369ebee128dd9d6245ee4d86ce11fe6b5fd5653730bb29481faa02736c46d60682fc0e93f8d1c71596618c00d SHA512 8400187367f9fbf901eaba0bca8f7dc260c1d5328e8de06bcdef88c6ce3517b374958df45b35a42ef5729b798205d1b2bbe34c33097ca61a1317c6947d9b08e2 +EBUILD dav1d-1.2.0.ebuild 1330 BLAKE2B 19b2fcff6f97bcf0000833a2673e0f5614678e270a843f10915af7d525a78252fc8053ae838db3aaaccd57fd769be634c9e3937bd64ffa86b0c5e36208e1e9dd SHA512 33796b8adcdf2096c45009de0cba1e544eb3d57084050e0b2ef740986f0b6e6e75c1e3efbe227aad60d01e0002368fda1e07b246bd322d4f0aa2b96eec2cefaf +EBUILD dav1d-9999.ebuild 1330 BLAKE2B 19b2fcff6f97bcf0000833a2673e0f5614678e270a843f10915af7d525a78252fc8053ae838db3aaaccd57fd769be634c9e3937bd64ffa86b0c5e36208e1e9dd SHA512 33796b8adcdf2096c45009de0cba1e544eb3d57084050e0b2ef740986f0b6e6e75c1e3efbe227aad60d01e0002368fda1e07b246bd322d4f0aa2b96eec2cefaf MISC metadata.xml 626 BLAKE2B 517fdb1d54d2714913d8d7644c5cc9d72ad04aa51160ba3b31b9915246c1aba3f18c3870428ce66a5b13afb50e6e65e95f12a65af931baf9b73defa8dba16c82 SHA512 7fca750f4f56a87b44ef4a14c466818411ff8a4aa1a376abb11b41648a661ef77c58611d649daebf97fafc1f5bc712d9486327b8f7ea6d94e1981a1d14bf2fd3 diff --git a/media-libs/dav1d/dav1d-1.2.0.ebuild b/media-libs/dav1d/dav1d-1.2.0.ebuild new file mode 100644 index 000000000000..9fe8aea4d1ae --- /dev/null +++ b/media-libs/dav1d/dav1d-1.2.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" +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/6" +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 9db50e7b2ff7..9fe8aea4d1ae 100644 --- a/media-libs/dav1d/dav1d-9999.ebuild +++ b/media-libs/dav1d/dav1d-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,8 +7,8 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d" inherit git-r3 else - SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi inherit meson-multilib @@ -23,11 +23,13 @@ IUSE="+8bit +10bit +asm test xxhash" RESTRICT="!test? ( test )" ASM_DEPEND=">=dev-lang/nasm-2.15.05" -BDEPEND="asm? ( +DEPEND="xxhash? ( dev-libs/xxhash )" +BDEPEND=" + asm? ( abi_x86_32? ( ${ASM_DEPEND} ) abi_x86_64? ( ${ASM_DEPEND} ) ) - xxhash? ( dev-libs/xxhash )" +" DOCS=( README.md doc/PATENTS THANKS.md ) |