packages: video: Fix mpv-minimal-x11 and mpv-minimal-wayland arguments entries

pull/3/head
Luis Guilherme Coelho 2024-06-05 14:11:30 -03:00
parent e11a16a5bf
commit 1aaba01b6f
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 12 additions and 0 deletions

View File

@ -1,11 +1,18 @@
(define-module (radix packages video)
#:use-module (ice-9 match)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages video))
(define-public mpv-minimal/x11
(package/inherit mpv
(name "mpv-minimal-x11")
(arguments
(substitute-keyword-arguments (package-arguments mpv)
((#:configure-flags flags)
#~(list "-Dlibmpv=true"
"-Dbuild-date=false"))))
(propagated-inputs
(filter (match-lambda
((package-name _)
@ -26,6 +33,11 @@ general-purpose audio and video player, for X11.")))
(define-public mpv-minimal/wayland
(package/inherit mpv
(name "mpv-minimal-wayland")
(arguments
(substitute-keyword-arguments (package-arguments mpv)
((#:configure-flags flags)
#~(list "-Dlibmpv=true"
"-Dbuild-date=false"))))
(propagated-inputs
(filter (match-lambda
((package-name _)