media-video/vlc: Re-add x264 10bit support if >=x264-0.0.20190214
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 16 Feb 2019 16:10:51 +0000 (17:10 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 16 Feb 2019 17:05:49 +0000 (18:05 +0100)
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-video/vlc/vlc-3.0.6.ebuild

index 9743750ed2e17dcef189386413f5df4e85443e8b..b652e7bd94bd2371214448cce2ed3675ec80a1ad 100644 (file)
@@ -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"