[vlc-commits] [Git][videolan/vlc][3.0.x] configure: add upper version constraint on libplacebo

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sat Jan 13 09:43:52 UTC 2024



Rémi Denis-Courmont pushed to branch 3.0.x at VideoLAN / VLC


Commits:
9134e207 by Niklas Haas at 2024-01-13T09:31:13+00:00
configure: add upper version constraint on libplacebo

Libplacebo v6 substantially reworks the public API related to color
spaces, tone mapping, and more - and also requires GLSL 130 as a minimum
version, as well as access to OpenGL-backed textures to do any
nontrivial form of color mapping.

Not only does this result in compilation failures, but it also totally
prevents basic operation. These problems can be addressed on VLC v4, but
backporting all of that to VLC v3 would be prohitively costly. As such,
simply prevent VLC v3 from being combined with libplacebo v6,
intentionallly or otherwise.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -4197,7 +4197,7 @@ AC_ARG_ENABLE(libplacebo,
       [disable libplacebo support (default auto)])])
 
 AS_IF([test "$enable_libplacebo" != "no"], [
-  PKG_CHECK_MODULES([LIBPLACEBO], [libplacebo >= 0.2.1], [
+  PKG_CHECK_MODULES([LIBPLACEBO], [libplacebo >= 0.2.1 libplacebo < 6], [
     AC_DEFINE([HAVE_LIBPLACEBO], [1], [Define to 1 if libplacebo is enabled.])
   ], [
     AS_IF([test -n "${enable_libplacebo}"], [



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9134e2079b5a14ce852ceaf84515c8e4ae35580f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9134e2079b5a14ce852ceaf84515c8e4ae35580f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list