Diff dav1d-0.9.2 with a dav1d-1.0.0

/usr/portage/media-libs/dav1d/dav1d-1.0.0.ebuild 2023-10-09 14:52:31.660368405 +0300
1 1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
SCM=""
7
if [[ "${PV}" == "9999" ]]; then
8
	SCM="git-r3"
6
if [[ ${PV} == 9999 ]]; then
9 7
	EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
8
	inherit git-r3
10 9
else
11 10
	SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2"
12
	KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
11
	KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
13 12
fi
14 13

  
15
inherit ${SCM} meson-multilib
14
inherit meson-multilib
16 15

  
17 16
DESCRIPTION="dav1d is an AV1 Decoder :)"
18 17
HOMEPAGE="https://code.videolan.org/videolan/dav1d"
19 18

  
20 19
LICENSE="BSD-2"
21
SLOT="0/5"
20
# Check SONAME on version bumps!
21
SLOT="0/6"
22 22
IUSE="+8bit +10bit +asm test xxhash"
23 23
RESTRICT="!test? ( test )"
24 24

  
......
27 27
		abi_x86_32? ( ${ASM_DEPEND} )
28 28
		abi_x86_64? ( ${ASM_DEPEND} )
29 29
	)
30
	xxhash? ( dev-libs/xxhash )
31
	"
30
	xxhash? ( dev-libs/xxhash )"
32 31

  
33 32
DOCS=( README.md doc/PATENTS THANKS.md )
34
PATCHES=( "${FILESDIR}"/build-avoid-meson-s-symbols_have_underscore_prefix.patch )
35 33

  
36 34
multilib_src_configure() {
37 35
	local -a bits=()
......
46 44
	fi
47 45

  
48 46
	local emesonargs=(
49
		-D bitdepths=$(IFS=,; echo "${bits[*]}")
50
		-D enable_asm=${enable_asm}
51
		-D enable_tests=$(usex test true false)
52
		-D xxhash_muxer=$(usex xxhash enabled disabled)
47
		-Dbitdepths=$(IFS=,; echo "${bits[*]}")
48
		-Denable_asm=${enable_asm}
49
		$(meson_use test enable_tests)
50
		$(meson_feature xxhash xxhash_muxer)
53 51
	)
54 52
	meson_src_configure
55 53
}
Thank you!