diff options
Diffstat (limited to 'media-video/mpv/mpv-scm.ebuild')
-rw-r--r-- | media-video/mpv/mpv-scm.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-scm.ebuild b/media-video/mpv/mpv-scm.ebuild index 9977839..2db5b7a 100644 --- a/media-video/mpv/mpv-scm.ebuild +++ b/media-video/mpv/mpv-scm.ebuild @@ -122,8 +122,10 @@ RDEPEND="${COMMON_DEPEND} tools? ( ${PYTHON_DEPS} ) " -PATCHES=( "${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch" ) - +PATCHES=( + "${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch" + ) + mpv_check_compiler() { if [[ ${MERGE_TYPE} != "binary" ]] && use vaapi && use egl && ! tc-has-tls; then die "Your compiler lacks C++11 TLS support. Use GCC>=4.8.0 or Clang>=3.3." @@ -239,6 +241,7 @@ src_configure() { # Miscellaneous features: --disable-apple-remote # Needs testing first. See Gentoo bug 577332. + $(usex libav '' '--enable-ffmpeg-upstream') ) if use vaapi && use X; then |