I cry every time I see samba during updating my profile, so I wonder if it is acceptable to have "mpv-minimal" which is less heavy on dependencies. If so, perhaps the other people have ideas what inputs may also be removed, thanks.
>From fdcbbff10839dfd2d086d7a022488a9cf75db5c9 Mon Sep 17 00:00:00 2001 From: Alex Kost <alez...@gmail.com> Date: Fri, 4 Dec 2015 18:57:10 +0300 Subject: [PATCH] gnu: Add mpv-minimal. * gnu/packages/video.scm (mpv-minimal): New variable. --- gnu/packages/video.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 928e9ef..36d433d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2015 Efraim Flashner <efr...@flashner.co.il> ;;; Copyright © 2015 Andy Patterson <ajpat...@uwaterloo.ca> ;;; Copyright © 2015 Ricardo Wurmus <rek...@elephly.net> +;;; Copyright © 2015 Alex Kost <alez...@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -78,7 +79,8 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages yasm) - #:use-module (gnu packages zip)) + #:use-module (gnu packages zip) + #:use-module (srfi srfi-1)) (define-public aalib (package @@ -770,6 +772,12 @@ fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.") (license license:gpl2+))) +(define-public mpv-minimal + (package (inherit mpv) + (name "mpv-minimal") + (inputs (alist-delete "samba" (package-inputs mpv))) + (synopsis "Audio and video player (without extra dependencies)"))) + (define-public libvpx (package (name "libvpx") -- 2.6.3