Disable using libplacebo in VLC.

VLC is incompatible with the latest versions of libplacebo. Upstream has
fixed it for VLC 4. Arch has a patch, but it only works with a version
of libplacebo from July.
This commit is contained in:
Douglas R. Reno 2023-12-03 14:04:37 -06:00
parent 79d741cc14
commit b397566ed0

View File

@ -163,11 +163,16 @@
<xref linkend="fontconfig"/>,
<xref linkend="freetype2"/>,
<xref linkend="fribidi"/>,
<!-- Using libplacebo is broken due to many API changes. The patch Arch
has for this only works on a version of libplacebo from July. VLC has
fixed this problem, but only for the upcoming VLC4.
https://code.videolan.org/videolan/vlc/-/merge_requests/2233#top -->
<xref linkend="libplacebo"/> (currently broken),
<xref linkend="librsvg"/>,
<xref linkend="libvdpau"/>,
<xref linkend="sdl"/>,
<ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
<ulink url="http://libplacebo.org/">libplacebo</ulink>, and
<!--<ulink url="http://libplacebo.org/">libplacebo</ulink>, and-->
<ulink url="https://github.com/Intel-Media-SDK/MediaSDK">libmfx</ulink>
</para>
@ -228,7 +233,7 @@
export LUA_LIBS="$(pkg-config - -libs lua52)" &amp;&amp;
export CPPFLAGS="$(pkg-config - -cflags lua52)" &amp;&amp;
-->
<screen><userinput>BUILDCC=gcc ./configure --prefix=/usr &amp;&amp;
<screen><userinput>BUILDCC=gcc ./configure --prefix=/usr --disable-libplacebo &amp;&amp;
make</userinput></screen>
<para>
@ -260,6 +265,12 @@ make</userinput></screen>
upstream has no plans to port it due to complexity.
</para>
-->
<para>
<parameter>--disable-libplacebo</parameter>: This switch is required to
disable support for using libplacebo as a rendering pipeling because VLC
is incompatible with the latest version of libplacebo.
</para>
<para>
<option>--disable-vpx</option>: Use this switch to disable
<application>libvpx</application>.