1 |
commit: 9af33e44316132f988b060aac667b8588167ae9d |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 27 19:39:47 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 16:27:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af33e44 |
7 |
|
8 |
media-video/mpv: adjust SSE4.1 intrinsics check in 9999 |
9 |
|
10 |
SSE4.1 intrinsics are built only with ffmpeg-API<3.3. |
11 |
Reorder conditions a bit for a potential speedup. |
12 |
|
13 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
14 |
|
15 |
media-video/mpv/mpv-9999.ebuild | 3 ++- |
16 |
1 file changed, 2 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild |
19 |
index 1f527b95990..e13ffde3161 100644 |
20 |
--- a/media-video/mpv/mpv-9999.ebuild |
21 |
+++ b/media-video/mpv/mpv-9999.ebuild |
22 |
@@ -145,7 +145,8 @@ mpv_check_compiler() { |
23 |
if ( use opengl || use egl ) && ! tc-has-tls; then |
24 |
die "Your compiler lacks C++11 TLS support. Use GCC>=4.8 or Clang>=3.3." |
25 |
fi |
26 |
- if use vaapi && use cpu_flags_x86_sse4_1 && ! tc-is-gcc; then |
27 |
+ if ! tc-is-gcc && use vaapi && use cpu_flags_x86_sse4_1 && \ |
28 |
+ { has_version '<media-video/ffmpeg-3.3:0' || has_version '<media-video/libav-13:0'; }; then |
29 |
die "${PN} requires GCC for SSE4.1 intrinsics." |
30 |
fi |
31 |
fi |