all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Milkey Mouse <milkeymouse@meme.institute>
To: 51960@debbugs.gnu.org
Subject: [bug#51960] [PATCH] gnu: Add libplacebo.
Date: Thu, 18 Nov 2021 18:56:52 -0800	[thread overview]
Message-ID: <20211119025652.84536-1-milkeymouse@meme.institute> (raw)

* 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





             reply	other threads:[~2021-11-19  2:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19  2:56 Milkey Mouse [this message]
2021-11-21 20:35 ` bug#51960: [PATCH] gnu: Add libplacebo Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211119025652.84536-1-milkeymouse@meme.institute \
    --to=milkeymouse@meme.institute \
    --cc=51960@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.