From 854243adcd6c73373a3670e9a31f34965ff3d48b Mon Sep 17 00:00:00 2001 From: ColdSideOfYourPillow Date: Tue, 23 Sep 2025 19:05:47 +0400 Subject: [PATCH] gnu: Add mpv-thumbfast. * gnu/packages/video.scm (mpv-thumbfast): New variable. Change-Id: I58ad120c67e3a4199db63bc1e2a7d636a3e07418 Signed-off-by: Giacomo Leidi --- gnu/packages/video.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 12604f620bf1493480eb2d283cb18709c300a566..b4d8d9f551825d6a64d6eecd015eae3284afb867 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2820,6 +2820,35 @@ fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.") (license license:gpl2+))) +(define-public mpv-thumbfast + ;; Latest commit as of 2025-12-08 + (let ((commit "9deb0733c4e36938cf90e42ddfb7a19a8b2f4641") + (revision "0")) + (package + (name "mpv-thumbfast") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/po5/thumbfast") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q537fjj9ndq7pzg2rv4h5qas8s3812k21bpw064bcvb204vbwba")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("thumbfast.lua" "share/mpv/scripts/")))) + (home-page "https://github.com/po5/thumbfast") + (synopsis "High-performance on-the-fly thumbnailer script for mpv") + (description + "Thumbfast is a high-performance on-the-fly thumbnailer script for mpv. +@strong{This script does not display thumbnails on its own}, it is meant to be +used alongside a @acronym{UI, User Interface} script that calls it.") + (license license:mpl2.0)))) + (define-public smplayer (package (name "smplayer")