diff --git a/radix/packages/video.scm b/radix/packages/video.scm index e928a73..7648bdd 100644 --- a/radix/packages/video.scm +++ b/radix/packages/video.scm @@ -3,10 +3,47 @@ #:use-module (guix packages) #:use-module (gnu packages video)) -(define-public mpv-sans-pulseaudio +(define-public mpv-minimal/x11 (package/inherit mpv + (name "mpv-minimal-x11") (propagated-inputs (filter (match-lambda - (("pulseaudio" _) #f) - (else #t)) - (package-propagated-inputs mpv))))) + ((package-name _) + (not (member package-name + `("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.")))