aboutsummaryrefslogtreecommitdiff
path: root/graphics/libplacebo/libplacebo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libplacebo/libplacebo.SlackBuild')
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild
index d15c8a61322b7..64f78d87820bd 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libplacebo
-VERSION=${VERSION:-1.29.1}
+VERSION=${VERSION:-2.43.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,6 +78,14 @@ else
RELEASE=plain
fi
+# Fix the build with newer glslang versions.
+patch -p1 < $CWD/glslang.patch
+
+# vulkan: get rid of deprecated enum members
+# https://code.videolan.org/videolan/libplacebo/-/issues/71
+# https://code.videolan.org/videolan/libplacebo/-/commit/45e19e7bbbbfceb197d8826c775e16ef536a4565
+patch -p1 < $CWD/vulkan.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \