Сравнение kvazaar-2.1.0 с kvazaar-2.2.0

/usr/portage/media-libs/kvazaar/kvazaar-2.2.0.ebuild 2024-12-25 14:59:49.731270106 +0300
1 1
# Copyright 1999-2024 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 6
GREATEST_PV="1.2.1"
7 7

  
......
11 11
else
12 12
	SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz
13 13
		test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )"
14
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
14
	KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv"
15 15
fi
16 16
inherit autotools multilib-minimal
17 17

  
......
30 30
DEPEND="${RDEPEND}
31 31
	test? (
32 32
		media-video/ffmpeg
33
		media-video/hevc-hm
33 34
	)
34 35
	abi_x86_32? ( ${ASM_DEP} )
35 36
	abi_x86_64? ( ${ASM_DEP} )
36 37
"
37 38

  
38
PATCHES=(
39
	"${FILESDIR}/${PN}-2.0.0-fix-avx2-flags.patch"
40
)
39
PATCHES=( "${FILESDIR}/${PN}-2.2.0-backport-pr377.patch" )
41 40

  
42 41
src_prepare() {
43 42
	default
......
48 47
		rmdir "${S}/greatest" || die
49 48
		mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die
50 49
	fi
51

  
52
	# valgrind isn't available on all archs
53
	# also, the valgrind tests fail with new ffmpeg (upstream only tests again ffmpeg 2.6.3)
54
	# see https://github.com/ultravideo/kvazaar/issues/216
55
	find "${S}/tests/" -type f -exec grep -q 'valgrind_test' '{}' \; -delete || die
56 50
}
57 51

  
58 52
multilib_src_configure() {
......
60 54
		$(use_enable static-libs static)
61 55
}
62 56

  
57
multilib_src_test() {
58
	KVZ_TEST_VALGRIND=0 emake check
59
}
60

  
63 61
multilib_src_install_all() {
64 62
	find "${ED}" -name '*.la' -delete || die
65 63
}
Спасибо!