summaryrefslogtreecommitdiff
path: root/media-libs/dav1d
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/dav1d')
-rw-r--r--media-libs/dav1d/Manifest12
-rw-r--r--media-libs/dav1d/dav1d-0.8.0.ebuild49
-rw-r--r--media-libs/dav1d/dav1d-0.8.2.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-0.9.1.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-1.0.0.ebuild (renamed from media-libs/dav1d/dav1d-0.9.0.ebuild)28
-rw-r--r--media-libs/dav1d/dav1d-9999.ebuild25
6 files changed, 28 insertions, 208 deletions
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest
index d2794cd30eda..6e317a94c42a 100644
--- a/media-libs/dav1d/Manifest
+++ b/media-libs/dav1d/Manifest
@@ -1,13 +1,7 @@
AUX build-avoid-meson-s-symbols_have_underscore_prefix.patch 1300 BLAKE2B edb4998f3722b0a4da1ea4b7ea77c05f4a7d7be5dcdf6b3898c4930cbdb015dc63217a9ec6af03eece5c4209f62b8f7a855231c7ebc97f94df93193c92fec0d7 SHA512 82c12e98016cb1247ded7a1d5bc913b92632a99dba5b35881c2d35badfdf652fed77a9d70904c224bb909d9209b28e75205718f8495e6f41651ef387a684d047
-DIST dav1d-0.8.0.tar.bz2 668627 BLAKE2B 6f45c6b0011acb74bb26fa201e667b16dbf8b691a2bc5d2043517381ca58132fa29ee828841609762737ac8637948b2bd4bac9e2c1d2ca23b1d3ad23f5883875 SHA512 906481ce5b9ce99cef2723c4c2466ba762095b9f88caccd42dcabfd4800964d7cd142736de1bf2ef25b631ee01eb26f7f1ac1754fc161b8fb7192e104df10e28
-DIST dav1d-0.8.2.tar.bz2 695931 BLAKE2B cfe7667e583e05f8fd84b226a26ea23a901336fd8cf62900b47cd6b3bf92f8fe58d14224d1e063cc3bf7abdb17da437d291dc3f604cb68e99fc0615619f76880 SHA512 73335594950b08596356a1950213abf57c6d48060da37149e700565f9689ca82b7427e320040bf43b2e97eff7b6da7116a6aca77cb717f7ce140039ebdae5595
-DIST dav1d-0.9.0.tar.bz2 771739 BLAKE2B 9cf24b142a1148200766a1a20010ff14d1baec507a7ecb477117826784b668178ba753049abf316aacbe1b957340c157f960f748ab8e6f74caf567edba2be3a9 SHA512 cfbfa4cb4508e1b975d7247bf0fa09d3b7adfd224adcf181153365677237b98a6d53b0b7bb91055a26e5668d58b3dcda5f675f68aceb1b020d14b53c4488575e
-DIST dav1d-0.9.1.tar.bz2 810641 BLAKE2B 6ad40f6a339a71bc2bf79c508bc7a8a58cda98c6814981d252a3a40ae8df1cc5ad120c42fc881cb560c84e01186ca3daa09cbb5f6152d7da475d9479aa306f2c SHA512 b688f4743106ceed5f450978a9c265391c0ee906dd5adb8632e563378b316ffb3a7098fb6ea2ef4b160ca880fc03c16e3e3b9d8aa3c90ee7341dd0cbfccecc46
DIST dav1d-0.9.2.tar.bz2 833722 BLAKE2B b05edd1ca627906e57923be08f1ecd73469f9a8e2ed585edf81f1fe1ffc173f1e4ba52eb766b82d9ea1349a6c1cf2a5a48cc9a5bcf2debeb9d640d9842e266f4 SHA512 adfb822734a3fc8b73e9cf5f757bfd78fb144b00d95f1e942254c5caf1d801b05438d39571486ef37a94d2226166937fc56160a862e8d6d45c4f6d790531dc3f
-EBUILD dav1d-0.8.0.ebuild 1060 BLAKE2B 9aab861019f4d4b7ab09d3f67a40ecfa3305a3f6057e60ff607b295572fa147e1dbae99f15b748cab8eb5ce668e0b36353e56f2003c816d4c4a4f86db999f6d4 SHA512 1930d6aa4218d5940ed0483d27accae81f94ff9aa18a7f3a5ed4f50fe2e3b6042332faba9dfcbb61883e7489ef44807a9d85b5abd4e9d87bc41d70d6677af936
-EBUILD dav1d-0.8.2.ebuild 1385 BLAKE2B 07afc7effebb6a91327be86b1373ef96a7128c085b60d50a31872b9562393b907a462e4ca224a5bda8a321797f01d6e591aac1b1a441dbf74ad67d3fcc8c1f2e SHA512 fdb3117cdc548992547914ce24fb357eb114f5e4df3615ce481426fc88cfb833426da4308e9b00c83d1272aed071b13e6ccfc698d9325c2eb6e3bc45e98e8b17
-EBUILD dav1d-0.9.0.ebuild 1398 BLAKE2B ba98a74ef08264dd06f10530c26abd743520b80de2249227314b5353afdc2faf67844c4aa8ab4f8e8380f6e2f4a23b5f20f318c1e98bb14d54f91d5d9e38bfa1 SHA512 275f5ab2201789b78c7660779f45e302812fcc65dabd3066aced0dd7aad5aaafc4f95d995674991fbe03f1699f4946498c1460bc218938b81b9de5c7f3a435b7
-EBUILD dav1d-0.9.1.ebuild 1392 BLAKE2B 7b4b06cc144b9854810e59cab5960f21073447ff8ccdc27cd41ea30d59dce505e69639fc5064875352bd2830482a6383758c1ebdedd6cf81cd15691f4ed4690d SHA512 ed2af7eaec02836bc2f63e5ab919162b04b909293e3a335e6f4f084f9fb8a8c657a48e623d127d99874f99615f0e24cbf67723df96a73a591f16f8beef5c683f
+DIST dav1d-1.0.0.tar.bz2 960470 BLAKE2B 79355eeceea37df81e30be49dfea3dee9747fbbb82c0a08be3bbda525881112a8eb847afe3c3ccd0447fd6ee67ae540c5120ea00d4f891ac422850c611850c97 SHA512 86c6481e787fb6b8c28521e1efb1876d1be99f5fa5332cddab1111059b44775e05203cfc5c80a1b404ee00f35a1f5e1099e21b1f0851d77fb0101567e8b1a892
EBUILD dav1d-0.9.2.ebuild 1392 BLAKE2B bfc3a4e00ab29a8492a714e27ae9577ef5fa0963dbf041eea653a007d4fee4121cfa9c74279084ec1e83292d25ca3ade0cb4bf17ae1bbf49aee781a2af1dd26e SHA512 50521384c4d9d2a54f011e64a0ec9605bcbae244da3408c71c77cfc21633816e1573f4035e8d38565ef624fd136519475ef95c69e7abc7fd6ea1e377e921173d
-EBUILD dav1d-9999.ebuild 1315 BLAKE2B d0b8b18c1305696de2db882c054ff3913f4d5733d8d267ce8eb25be5cfd2c2cc5d79c2ceafb5c2209203a72705dbc65488fcf34641f5cc961c8ffe3e25228794 SHA512 9bd5fd0589832f0738c76a55a1815bde76a99b30489d0c4598bf3b7c0f5557d7a05bf1d4596fa976729bd22e7fdef3f9d4012240a94d8178f282884162a89dd5
+EBUILD dav1d-1.0.0.ebuild 1308 BLAKE2B 414234818d0563e1c5fa2594dfe376dc54d840fda4155afca9e5c027e1b4f870dd71860583d659906c580eccd7dd38a2c3cb195297340e3152f639818ff5daa6 SHA512 090d9c778b76a71d75381945a46effe1154ddb908299ce3736662e70b738bc7caa84f61a8a44aa1c2302b3769435d7b5602264b8aeb8962d3ad67a14bd12cf5a
+EBUILD dav1d-9999.ebuild 1308 BLAKE2B 414234818d0563e1c5fa2594dfe376dc54d840fda4155afca9e5c027e1b4f870dd71860583d659906c580eccd7dd38a2c3cb195297340e3152f639818ff5daa6 SHA512 090d9c778b76a71d75381945a46effe1154ddb908299ce3736662e70b738bc7caa84f61a8a44aa1c2302b3769435d7b5602264b8aeb8962d3ad67a14bd12cf5a
MISC metadata.xml 626 BLAKE2B 517fdb1d54d2714913d8d7644c5cc9d72ad04aa51160ba3b31b9915246c1aba3f18c3870428ce66a5b13afb50e6e65e95f12a65af931baf9b73defa8dba16c82 SHA512 7fca750f4f56a87b44ef4a14c466818411ff8a4aa1a376abb11b41648a661ef77c58611d649daebf97fafc1f5bc712d9486327b8f7ea6d94e1981a1d14bf2fd3
diff --git a/media-libs/dav1d/dav1d-0.8.0.ebuild b/media-libs/dav1d/dav1d-0.8.0.ebuild
deleted file mode 100644
index 68aff46355e3..000000000000
--- a/media-libs/dav1d/dav1d-0.8.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-SCM=""
-if [[ "${PV}" == "9999" ]]; then
- SCM="git-r3"
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
-else
- KEYWORDS="amd64 arm arm64 ppc ppc64 ~sparc x86"
- SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2"
-fi
-
-inherit ${SCM} meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-SLOT="0/5"
-IUSE="+8bit +10bit +asm"
-
-ASM_DEPEND=">=dev-lang/nasm-2.14.02"
-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=(
- -D bitdepths=$(IFS=,; echo "${bits[*]}")
- -D enable_asm=${enable_asm}
- )
- meson_src_configure
-}
diff --git a/media-libs/dav1d/dav1d-0.8.2.ebuild b/media-libs/dav1d/dav1d-0.8.2.ebuild
deleted file mode 100644
index caaf9cb8784f..000000000000
--- a/media-libs/dav1d/dav1d-0.8.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-SCM=""
-if [[ "${PV}" == "9999" ]]; then
- SCM="git-r3"
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
-else
- KEYWORDS="amd64 arm arm64 ppc ppc64 ~sparc x86"
- SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2"
-fi
-
-inherit ${SCM} meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-SLOT="0/5"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-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 )
-PATCHES=( "${FILESDIR}"/build-avoid-meson-s-symbols_have_underscore_prefix.patch )
-
-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=(
- -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
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/dav1d/dav1d-0.9.1.ebuild b/media-libs/dav1d/dav1d-0.9.1.ebuild
deleted file mode 100644
index f7ae3e3273bf..000000000000
--- a/media-libs/dav1d/dav1d-0.9.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-SCM=""
-if [[ "${PV}" == "9999" ]]; then
- SCM="git-r3"
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
-else
- SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
-fi
-
-inherit ${SCM} meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-SLOT="0/5"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-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 )
-PATCHES=( "${FILESDIR}"/build-avoid-meson-s-symbols_have_underscore_prefix.patch )
-
-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=(
- -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
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/dav1d/dav1d-0.9.0.ebuild b/media-libs/dav1d/dav1d-1.0.0.ebuild
index f111b62346ef..bffdc9405eb9 100644
--- a/media-libs/dav1d/dav1d-0.9.0.ebuild
+++ b/media-libs/dav1d/dav1d-1.0.0.ebuild
@@ -1,24 +1,24 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-SCM=""
-if [[ "${PV}" == "9999" ]]; then
- SCM="git-r3"
+if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
+ inherit git-r3
else
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-inherit ${SCM} meson-multilib
+inherit meson-multilib
DESCRIPTION="dav1d is an AV1 Decoder :)"
HOMEPAGE="https://code.videolan.org/videolan/dav1d"
LICENSE="BSD-2"
-SLOT="0/5"
+# Check SONAME on version bumps!
+SLOT="0/6"
IUSE="+8bit +10bit +asm test xxhash"
RESTRICT="!test? ( test )"
@@ -27,11 +27,9 @@ BDEPEND="asm? (
abi_x86_32? ( ${ASM_DEPEND} )
abi_x86_64? ( ${ASM_DEPEND} )
)
- xxhash? ( dev-libs/xxhash )
- "
+ xxhash? ( dev-libs/xxhash )"
DOCS=( README.md doc/PATENTS THANKS.md )
-PATCHES=( "${FILESDIR}"/build-avoid-meson-s-symbols_have_underscore_prefix.patch )
multilib_src_configure() {
local -a bits=()
@@ -46,10 +44,10 @@ multilib_src_configure() {
fi
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)
+ -Dbitdepths=$(IFS=,; echo "${bits[*]}")
+ -Denable_asm=${enable_asm}
+ $(meson_use test enable_tests)
+ $(meson_feature xxhash xxhash_muxer)
)
meson_src_configure
}
diff --git a/media-libs/dav1d/dav1d-9999.ebuild b/media-libs/dav1d/dav1d-9999.ebuild
index c0d92e63904d..bffdc9405eb9 100644
--- a/media-libs/dav1d/dav1d-9999.ebuild
+++ b/media-libs/dav1d/dav1d-9999.ebuild
@@ -1,24 +1,24 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-SCM=""
-if [[ "${PV}" == "9999" ]]; then
- SCM="git-r3"
+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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-inherit ${SCM} meson-multilib
+inherit meson-multilib
DESCRIPTION="dav1d is an AV1 Decoder :)"
HOMEPAGE="https://code.videolan.org/videolan/dav1d"
LICENSE="BSD-2"
-SLOT="0/5"
+# Check SONAME on version bumps!
+SLOT="0/6"
IUSE="+8bit +10bit +asm test xxhash"
RESTRICT="!test? ( test )"
@@ -27,8 +27,7 @@ BDEPEND="asm? (
abi_x86_32? ( ${ASM_DEPEND} )
abi_x86_64? ( ${ASM_DEPEND} )
)
- xxhash? ( dev-libs/xxhash )
- "
+ xxhash? ( dev-libs/xxhash )"
DOCS=( README.md doc/PATENTS THANKS.md )
@@ -45,10 +44,10 @@ multilib_src_configure() {
fi
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)
+ -Dbitdepths=$(IFS=,; echo "${bits[*]}")
+ -Denable_asm=${enable_asm}
+ $(meson_use test enable_tests)
+ $(meson_feature xxhash xxhash_muxer)
)
meson_src_configure
}