aboutsummaryrefslogtreecommitdiff
path: root/extra/libplacebo/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-10-05 17:02:06 +0200
committerCem Keylan <cem@ckyln.com>2024-10-05 17:02:06 +0200
commited3b3c8948b3d80bc86e2ae1fb3cd2d03a59572b (patch)
tree0b22c40c6685bc97fc610f01b79712ef5f66b7ad /extra/libplacebo/build
parente39d216029c92d6149f0fe54f825a9e896b57549 (diff)
downloadrepository-ed3b3c8948b3d80bc86e2ae1fb3cd2d03a59572b.tar.gz
libplacebo: add new package at 7.349.0
Diffstat (limited to 'extra/libplacebo/build')
-rwxr-xr-xextra/libplacebo/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/libplacebo/build b/extra/libplacebo/build
new file mode 100755
index 00000000..1c4a40bf
--- /dev/null
+++ b/extra/libplacebo/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"
+
+cl-meson \
+ -Dlcms=enabled \
+ -Dopengl=enabled \
+ -Dvulkan=enabled \
+ -Ddemos=false \
+ . output
+
+ninja -C output
+ninja -C output install