unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#51960] [PATCH] gnu: Add libplacebo.
@ 2021-11-19  2:56 Milkey Mouse
  2021-11-21 20:35 ` bug#51960: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Milkey Mouse @ 2021-11-19  2:56 UTC (permalink / raw)
  To: 51960

* gnu/packages/video.scm (libplacebo): New variable.
---
 gnu/packages/video.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 3bfdde7184..be3207c303 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1422,6 +1422,43 @@ (define-public libmatroska
 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)))
+    (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+)
+    (home-page "https://code.videolan.org/videolan/libplacebo")))
+
 (define-public libva
   (package
     (name "libva")
-- 
2.33.1





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#51960: [PATCH] gnu: Add libplacebo.
  2021-11-19  2:56 [bug#51960] [PATCH] gnu: Add libplacebo Milkey Mouse
@ 2021-11-21 20:35 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-11-21 20:35 UTC (permalink / raw)
  To: Milkey Mouse; +Cc: 51960-done

Hello,

Milkey Mouse <milkeymouse@meme.institute> writes:

> * gnu/packages/video.scm (libplacebo): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-21 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  2:56 [bug#51960] [PATCH] gnu: Add libplacebo Milkey Mouse
2021-11-21 20:35 ` bug#51960: " Nicolas Goaziou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).