Diff libvpx-1.7.0-r1 with a libvpx-1.8.2

/usr/portage/media-libs/libvpx/libvpx-1.8.2.ebuild 2020-03-05 23:09:00.000000000 +0300
9 9
# 2. export LIBVPX_TEST_DATA_PATH=libvpx-testdata
10 10
# 3. configure --enable-unit-tests --enable-vp9-highbitdepth
11 11
# 4. make testdata
12
# 5. tar -cjf libvpx-testdata-${MY_PV}.tar.bz2 libvpx-testdata
12
# 5. tar -cjf libvpx-testdata-${MY_PV}.tar.xz libvpx-testdata
13 13

  
14
LIBVPX_TESTDATA_VER=1.7.0
14
LIBVPX_TESTDATA_VER=1.8.2
15 15

  
16 16
DESCRIPTION="WebM VP8 and VP9 Codec SDK"
17 17
HOMEPAGE="https://www.webmproject.org"
18 18
SRC_URI="https://github.com/webmproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
19
	test? ( mirror://gentoo/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.xz )"
19
	test? ( https://dev.gentoo.org/~whissi/dist/libvpx/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.xz )"
20 20

  
21 21
LICENSE="BSD"
22
SLOT="0/5"
23
KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
24
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 +highbitdepth static-libs svc test +threads"
25

  
26
REQUIRED_USE="
27
	cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
28
	cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
29
	test? ( threads )
30
"
22
SLOT="0/6"
23
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
24
IUSE="doc +highbitdepth postproc static-libs svc test +threads"
25

  
26
REQUIRED_USE="test? ( threads )"
31 27

  
32 28
# Disable test phase when USE="-test"
33 29
RESTRICT="!test? ( test )"
......
44 40
"
45 41

  
46 42
PATCHES=(
47
	"${FILESDIR}"/libvpx-1.3.0-sparc-configure.patch # 501010
48
	"${FILESDIR}"/${P}-CVE-2019-9232_9325_9371_9433.patch
43
	"${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010
49 44
)
50 45

  
51 46
src_configure() {
......
71 66
		--enable-vp9
72 67
		--enable-shared
73 68
		--extra-cflags="${CFLAGS}"
74
		$(use_enable cpu_flags_x86_avx avx)
75
		$(use_enable cpu_flags_x86_avx2 avx2)
76
		$(use_enable cpu_flags_x86_mmx mmx)
77 69
		$(use_enable postproc)
78
		$(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse)
79
		$(use_enable cpu_flags_x86_sse2 sse2)
80
		$(use_enable cpu_flags_x86_sse3 sse3)
81
		$(use_enable cpu_flags_x86_sse4_1 sse4_1)
82
		$(use_enable cpu_flags_x86_ssse3 ssse3)
83
		$(use_enable svc experimental) $(use_enable svc spatial-svc)
70
		$(use_enable svc experimental)
84 71
		$(use_enable static-libs static)
85 72
		$(use_enable test unit-tests)
86 73
		$(use_enable threads multithread)
......
110 97
		myconfargs+=( --disable-examples --disable-install-docs --disable-docs )
111 98
	fi
112 99

  
100
	echo "${S}"/configure "${myconfargs[@]}" >&2
113 101
	"${S}"/configure "${myconfargs[@]}"
114 102
}
115 103

  
Thank you!