media-video/mpv: remove obsolete USE for SSE4.1 in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Thu, 27 Apr 2017 20:39:53 +0000 (23:39 +0300)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 May 2017 16:28:20 +0000 (18:28 +0200)
SSE4.1 bits were only used for vaapi with ffmpeg-API<3.3.
Support for this combo was removed in the previous commit.

Closes: https://github.com/gentoo/gentoo/pull/4510
Package-Manager: Portage-2.3.5, Repoman-2.3.2

media-video/mpv/mpv-9999.ebuild

index fb8cd67ab7926cfd1e26ee8ef2e91d085adc1123..ee9678229c5fa931377847688807f5c12ee785b0 100644 (file)
@@ -32,7 +32,6 @@ IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb
        luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl
        selinux test tools +uchardet v4l vaapi vdpau vf-dlopen wayland +X +xv
        zsh-completion"
-IUSE+=" cpu_flags_x86_sse4_1"
 
 REQUIRED_USE="
        || ( cli libmpv )
@@ -152,10 +151,6 @@ mpv_check_compiler() {
                if use opengl && ! tc-has-tls; then
                        die "Your compiler lacks C++11 TLS support. Use GCC>=4.8 or Clang>=3.3."
                fi
-               if ! tc-is-gcc && use vaapi && use cpu_flags_x86_sse4_1 && \
-                               { has_version '<media-video/ffmpeg-3.3:0' || has_version '<media-video/libav-13:0'; }; then
-                       die "${PN} requires GCC for SSE4.1 intrinsics."
-               fi
        fi
 }