--- media-video/mplayer/mplayer-1.4-r1.ebuild 2022-07-15 10:10:37.000000000 +0200 +++ media-video/mplayer/mplayer-1.4-r1.ebuild 2022-12-23 12:50:22.775804831 +0100 @@ -7,7 +7,7 @@ ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk" [[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-r3" -inherit toolchain-funcs flag-o-matic ${SVN_ECLASS} +inherit flag-o-matic toolchain-funcs flag-o-matic ${SVN_ECLASS} IUSE="cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 aalib +alsa aqua bidi bl bluray bs2b cddb +cdio cdparanoia cpudetection debug dga @@ -15,7 +15,7 @@ ftp ggi gsm +iconv ipv6 jack joystick jpeg ladspa +libass libcaca libmpeg2 lirc live lzo mad md5sum cpu_flags_x86_mmx cpu_flags_x86_mmxext mng mp3 nas +network openal opengl +osdmenu oss png pnm pulseaudio pvr -radio rar rtc rtmp samba selinux +shm sdl speex cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_ssse3 +radio rar rtc rtmp samba selinux +shm sdl speex cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_xop tga theora tremor +truetype toolame twolame +unicode v4l vcd vdpau vidix vorbis +X x264 xinerama +xscreensaver +xv xvid yuv4mpeg zoran" @@ -449,9 +452,11 @@ # Platform specific flags, hardcoded on amd64 (see below) use cpudetection && myconf+=" --enable-runtime-cpudetection" - uses="3dnow 3dnowext mmx mmxext sse sse2 ssse3" + uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" for i in ${uses}; do myconf+=" $(use_enable cpu_flags_x86_${i} ${i})" + myconf+=" $(use_enable cpu_flags_x86_sse4_1 sse4)" + myconf+=" $(use_enable cpu_flags_x86_sse4_2 sse42)" done myconf+="