* [bug#57125] [PATCH] gnu: Add mpv-libplacebo.
@ 2022-08-10 19:22 Milkey Mouse
2022-08-11 8:11 ` 宋文武 via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Milkey Mouse @ 2022-08-10 19:22 UTC (permalink / raw)
To: 57125
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#57125] [PATCH] gnu: Add mpv-libplacebo.
2022-08-10 19:22 [bug#57125] [PATCH] gnu: Add mpv-libplacebo Milkey Mouse
@ 2022-08-11 8:11 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Guix-patches via @ 2022-08-11 8:11 UTC (permalink / raw)
To: Milkey Mouse; +Cc: 57125
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-11 8:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 19:22 [bug#57125] [PATCH] gnu: Add mpv-libplacebo Milkey Mouse
2022-08-11 8:11 ` 宋文武 via Guix-patches via
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.