Message ID | 20220810192209.24857-1-milkeymouse@meme.institute |
---|---|
State | New |
Headers | show |
Series | [bug#57125] gnu: Add mpv-libplacebo. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Milkey Mouse <milkeymouse@meme.institute> writes: > * 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 Hello, instead add a variant package, how about enable libplacebo for the existed mpv? Will it add a lot size (guix size mpv) or reduce some functions?
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")