aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextra/libplacebo/build14
-rw-r--r--extra/libplacebo/checksums3
-rw-r--r--extra/libplacebo/depends4
-rw-r--r--extra/libplacebo/meta3
-rw-r--r--extra/libplacebo/sources2
-rw-r--r--extra/libplacebo/version1
6 files changed, 27 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
diff --git a/extra/libplacebo/checksums b/extra/libplacebo/checksums
new file mode 100644
index 00000000..f6c76976
--- /dev/null
+++ b/extra/libplacebo/checksums
@@ -0,0 +1,3 @@
+%BLAKE3
+3363de224b28315dc695160d44bdc2eff3d6856b5e379583b5c720b5fff766aa libplacebo-v7.349.0.tar.gz
+75ccae516b2812bb4510956aed782f6ceb4e1036381916f965f658504af2eb51 v2.0.8.tar.gz
diff --git a/extra/libplacebo/depends b/extra/libplacebo/depends
new file mode 100644
index 00000000..fbb7f8fe
--- /dev/null
+++ b/extra/libplacebo/depends
@@ -0,0 +1,4 @@
+Vulkan-Headers
+lcms2
+meson make
+vulkan-loader make
diff --git a/extra/libplacebo/meta b/extra/libplacebo/meta
new file mode 100644
index 00000000..551334f4
--- /dev/null
+++ b/extra/libplacebo/meta
@@ -0,0 +1,3 @@
+description: Reusable library for GPU-accelerated image/video processing primitives and shaders, as well a batteries-included, extensible, high-quality rendering pipeline
+license: LGPL-2.1-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/libplacebo/sources b/extra/libplacebo/sources
new file mode 100644
index 00000000..49833c0d
--- /dev/null
+++ b/extra/libplacebo/sources
@@ -0,0 +1,2 @@
+https://code.videolan.org/videolan/libplacebo/-/archive/v7.349.0/libplacebo-v7.349.0.tar.gz
+https://github.com/Dav1dde/glad/archive/refs/tags/v2.0.8.tar.gz 3rdparty/glad
diff --git a/extra/libplacebo/version b/extra/libplacebo/version
new file mode 100644
index 00000000..fb7181e6
--- /dev/null
+++ b/extra/libplacebo/version
@@ -0,0 +1 @@
+7.349.0 1