Subject: [PATCH] gnu: Add mpv-libplacebo.

From: Milkey Mouse <[email-masked]>
Date: Wed, 10 Aug 2022 12:22:09 -0700

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

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d5dc59ddff..313ac94784 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2307,6 +2307,19 @@ (define-public gallery-dl
 (define-public gnome-mpv
   (deprecated-package "gnome-mpv" celluloid))
 
+(define-public mpv-libplacebo
+  (package
+    (inherit mpv)
+    (name "mpv-libplacebo")
+    (inputs (append `(("libepoxy" ,libepoxy)
+                      ("libplacebo" ,libplacebo))
+                    (package-inputs mpv)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments mpv)
+       ((#:configure-flags flags)
+        (append flags
+                `("--enable-shaderc" "--enable-libplacebo" "--enable-vulkan")))))))
+
 (define-public mpv-mpris
   (package
     (name "mpv-mpris")
-- 
2.37.1