Diff mplayer-1.5_p20230215 with a mplayer-1.5_p20230618

/usr/portage/media-video/mplayer/mplayer-1.5_p20230618.ebuild 2023-10-09 14:52:31.824368409 +0300
36 36
	!truetype? ( ${FONT_URI} )
37 37
"
38 38

  
39
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4"
39
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2"
40
IUSE+=" cpu_flags_x86_fma3 cpu_flags_x86_fma4"
40 41
IUSE+=" cpu_flags_x86_mmx cpu_flags_x86_mmxext"
41 42
IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1"
42 43
IUSE+=" cpu_flags_x86_sse4_2 cpu_flags_x86_xop"
43 44
IUSE+=" cpu_flags_x86_3dnow cpu_flags_x86_3dnowext"
44 45

  
46
IUSE+=" cpu_flags_arm_thumb cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_arm_vfpv3"
47
IUSE+=" cpu_flags_arm_iwmmxt"
45 48
IUSE+=" cpu_flags_ppc_altivec"
46 49

  
47 50
IUSE+=" a52 aalib +alsa aqua bidi bl bluray"
......
166 169
LICENSE="GPL-2"
167 170
SLOT="0"
168 171
if [[ ${PV} != *9999* ]]; then
169
	KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
172
	KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86"
170 173
fi
171 174

  
172 175
# faac codecs are nonfree
......
268 271

  
269 272
	# Set LINGUAS
270 273
	[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/da/dk}"
271
	[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/zh/zh_CN}" #482968
274
	[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/zh/zh_CN}" # bug #482968
272 275

  
273 276
	# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
274 277
	# compilation in almost every situation. The reason for this is
......
461 464
	# Platform specific flags, hardcoded on amd64 (see below)
462 465
	use cpudetection && myconf+=( --enable-runtime-cpudetection )
463 466

  
464
	uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop"
465
	for i in ${uses}; do
467
	local x86_uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop"
468
	for i in ${x86_uses}; do
466 469
		myconf+=( $(use_enable cpu_flags_x86_${i} ${i}) )
467 470
	done
468
	myconf+=( $(use_enable cpu_flags_x86_sse4_1 sse4) )
469
	myconf+=( $(use_enable cpu_flags_x86_sse4_2 sse42) )
471
	myconf+=(
472
		$(use_enable cpu_flags_x86_sse4_1 sse4)
473
		$(use_enable cpu_flags_x86_sse4_2 sse42)
474
	)
470 475

  
471 476
	myconf+=(
477
		$(use_enable cpu_flags_arm_iwmmxt iwmmxt)
478
		$(use_enable cpu_flags_arm_thumb thumb)
479
		$(use_enable cpu_flags_arm_neon neon)
480
		$(use_enable cpu_flags_arm_vfp armvfp)
481
		$(use_enable cpu_flags_arm_vfpv3 vfpv3)
472 482
		$(use_enable cpu_flags_ppc_altivec altivec)
473 483
		$(use_enable shm)
474 484
	)
......
603 613
		_EOF_
604 614
	fi
605 615

  
606
	# bug 256203
616
	# bug #256203
607 617
	if use rar; then
608 618
		cat >> "${ED}/etc/mplayer/mplayer.conf" <<- _EOF_
609 619
		unrarexec=${EPREFIX}/usr/bin/unrar
Thank you!