From b8c85402030c8fdc7669c600bfbbecdbcfc79871 Mon Sep 17 00:00:00 2001 From: ColdSideOfYourPillow Date: Mon, 8 Dec 2025 15:50:38 +0400 Subject: [PATCH] gnu: Add mpv-uosc. * gnu/packages/video.scm (mpv-uosc): New variable. Merges: https://codeberg.org/guix/guix/pulls/2496 Change-Id: I867a488759599627c41d514ccc2ca4f5d156e209 Signed-off-by: Giacomo Leidi --- gnu/packages/video.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b4d8d9f5518..20cbfc4090f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2849,6 +2849,36 @@ projects while introducing many more.") used alongside a @acronym{UI, User Interface} script that calls it.") (license license:mpl2.0)))) +(define-public mpv-uosc + (package + (name "mpv-uosc") + (version "5.12.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tomasklaen/uosc") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pn9a8jp9v7pf6vpifqy9nwr7ac862cb1p1vgm6wy84nxxgklaxx")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("src/uosc" "share/mpv/scripts/") + ("src/fonts" "share/mpv/")))) + (propagated-inputs + (list mpv-thumbfast)) + (home-page "https://github.com/tomasklaen/uosc") + (synopsis "Feature-rich minimalist proximity-based UI for mpv player") + (description + "uosc is a minimalist interface for mpv. It hides and shows elements +based on cursor proximity and offers configurable controls, thumbnails, and +tools for selecting subtitles, audio, and video tracks, and downloading +subtitles. Menus are searchable and support mouse scroll wheel.") + (license license:gpl3+))) + (define-public smplayer (package (name "smplayer")