packages: video: Remove mpv-sans-pulseaudio, define and export mpv-minimal/x11 and mpv-minimal/wayland
parent
0e56d534af
commit
e11a16a5bf
|
@ -3,10 +3,47 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (gnu packages video))
|
#:use-module (gnu packages video))
|
||||||
|
|
||||||
(define-public mpv-sans-pulseaudio
|
(define-public mpv-minimal/x11
|
||||||
(package/inherit mpv
|
(package/inherit mpv
|
||||||
|
(name "mpv-minimal-x11")
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(filter (match-lambda
|
(filter (match-lambda
|
||||||
(("pulseaudio" _) #f)
|
((package-name _)
|
||||||
(else #t))
|
(not (member package-name
|
||||||
(package-propagated-inputs mpv)))))
|
`("jack"
|
||||||
|
"libbluray"
|
||||||
|
"libcdio-paranoia"
|
||||||
|
"libdvdnav"
|
||||||
|
"wayland"
|
||||||
|
"wayland-protocols"
|
||||||
|
"libdvdread"
|
||||||
|
"pulseaudio")))))
|
||||||
|
(package-propagated-inputs mpv)))
|
||||||
|
(synopsis "Audio and video player")
|
||||||
|
(description "This package provides a minimal build of mpv, the
|
||||||
|
general-purpose audio and video player, for X11.")))
|
||||||
|
|
||||||
|
(define-public mpv-minimal/wayland
|
||||||
|
(package/inherit mpv
|
||||||
|
(name "mpv-minimal-wayland")
|
||||||
|
(propagated-inputs
|
||||||
|
(filter (match-lambda
|
||||||
|
((package-name _)
|
||||||
|
(not (member package-name
|
||||||
|
`("jack"
|
||||||
|
"libbluray"
|
||||||
|
"libcdio-paranoia"
|
||||||
|
"libdvdnav"
|
||||||
|
"libdvdread"
|
||||||
|
"libext"
|
||||||
|
"libx11"
|
||||||
|
"libxinerama"
|
||||||
|
"libxpresent"
|
||||||
|
"libxrandr"
|
||||||
|
"libxscrnsaver"
|
||||||
|
"libxv"
|
||||||
|
"pulseaudio")))))
|
||||||
|
(package-propagated-inputs mpv)))
|
||||||
|
(synopsis "Audio and video player")
|
||||||
|
(description "This package provides a minimal build of mpv, the
|
||||||
|
general-purpose audio and video player, for wayland.")))
|
||||||
|
|
Loading…
Reference in New Issue