Diff kvazaar-2.1.0 with a kvazaar-2.2.0

/usr/portage/media-libs/kvazaar/kvazaar-2.2.0.ebuild 2023-10-09 14:52:31.672368405 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 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 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
14
	KEYWORDS="amd64 arm ~ia64 ~loong ~mips ~riscv"
15 15
fi
16 16
inherit autotools flag-o-matic 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
)
41

  
42 39
src_prepare() {
43 40
	default
44 41
	sed -e "/^dist_doc_DATA/s/COPYING //" -i Makefile.am || die
......
50 47
	fi
51 48
	# Some m4 macros append Werror, we do not want that.
52 49
	append-flags "-Wno-error"
53

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

  
60 52
multilib_src_configure() {
......
63 55
		$(use_enable static-libs static)
64 56
}
65 57

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

  
66 62
multilib_src_install_all() {
67 63
	find "${ED}" -name '*.la' -delete || die
68 64
}
Thank you!