diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-11-18 18:56:52 -0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-21 21:35:05 +0100 |
commit | 9092b3865149d8b02551eea90ef1840d651aade2 (patch) | |
tree | a4a031b4fdcf4da0b4fbb3ebdeadae560b8927ff /gnu/packages/video.scm | |
parent | 16dda28fd71fe80513fdd55af5bec62c6e67f113 (diff) | |
download | guix-9092b3865149d8b02551eea90ef1840d651aade2.tar.gz guix-9092b3865149d8b02551eea90ef1840d651aade2.zip |
gnu: Add libplacebo.
* gnu/packages/video.scm (libplacebo): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 3bfdde7184..ff1abb308f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1422,6 +1422,44 @@ support in old parsers. libebml is a C++ library to read and write EBML files.") (license license:lgpl2.1))) +(define-public libplacebo + (package + (name "libplacebo") + (version "4.157.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://code.videolan.org/videolan/libplacebo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08kqsd29h8wm0vz7698wh2mdgpwv6anqc5n7d1spnnamwyfwc64h")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags + `("-Dopengl=enabled" + ,(string-append "-Dvulkan-registry=" + (assoc-ref %build-inputs "vulkan-headers") + "/share/vulkan/registry/vk.xml")))) + (native-inputs + `(("python-mako" ,python-mako) + ("pkg-config" ,pkg-config))) + (inputs + `(("lcms" ,lcms) + ("libepoxy" ,libepoxy) + ("mesa" ,mesa) + ("shaderc" ,shaderc) + ("vulkan-headers" ,vulkan-headers) + ("vulkan-loader" ,vulkan-loader))) + (home-page "https://code.videolan.org/videolan/libplacebo") + (synopsis "GPU-accelerated image/video processing library") + (description "libplacebo is, in a nutshell, the core rendering algorithms +and ideas of mpv rewritten as an independent library. As of today, libplacebo +contains a large assortment of video processing shaders, focusing on both +quality and performance.") + (license license:lgpl2.1+))) + (define-public libva (package (name "libva") |