summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-16 17:10:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-16 18:05:49 +0100
commit1fb8eac25128c82ff30a093025fcde24138cb276 (patch)
treec6c49b609b9a37b5de1ac35fd3763604f70d790e /media-video/vlc
parentprofiles: powerpc: mv media-gfx/inkscape[cdr,visio,wpg] mask to ppc32 (diff)
downloadgentoo-1fb8eac25128c82ff30a093025fcde24138cb276.tar.gz
gentoo-1fb8eac25128c82ff30a093025fcde24138cb276.tar.bz2
gentoo-1fb8eac25128c82ff30a093025fcde24138cb276.zip
media-video/vlc: Re-add x264 10bit support if >=x264-0.0.20190214
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video/vlc')
-rw-r--r--media-video/vlc/vlc-3.0.6.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-video/vlc/vlc-3.0.6.ebuild b/media-video/vlc/vlc-3.0.6.ebuild
index 9743750ed2e1..b652e7bd94bd 100644
--- a/media-video/vlc/vlc-3.0.6.ebuild
+++ b/media-video/vlc/vlc-3.0.6.ebuild
@@ -418,10 +418,15 @@ src_configure() {
--disable-spatialaudio
--disable-vsxu
--disable-wasapi
- --disable-x26410b
)
# ^ We don't have these disabled libraries in the Portage tree yet.
+ if use x264 && has_version ">=media-libs/x264-0.0.20190214"; then
+ myeconfargs+=( --enable-x26410b )
+ else
+ myeconfargs+=( --disable-x26410b )
+ fi
+
# Compatibility fix for Samba 4.
use samba && append-cppflags "-I/usr/include/samba-4.0"