From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH] gnu: Add mpv-minimal. Date: Fri, 04 Dec 2015 19:08:36 +0300 Message-ID: <87d1um2o3f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4suV-0008IL-I6 for guix-devel@gnu.org; Fri, 04 Dec 2015 11:08:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4suS-00018G-9u for guix-devel@gnu.org; Fri, 04 Dec 2015 11:08:39 -0500 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:35950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4suS-00017w-24 for guix-devel@gnu.org; Fri, 04 Dec 2015 11:08:36 -0500 Received: by lbblt2 with SMTP id lt2so23336178lbb.3 for ; Fri, 04 Dec 2015 08:08:35 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id i13sm2428941lfe.9.2015.12.04.08.08.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 08:08:34 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-mpv-minimal.patch Content-Transfer-Encoding: quoted-printable >From fdcbbff10839dfd2d086d7a022488a9cf75db5c9 Mon Sep 17 00:00:00 2001 From: Alex Kost 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 =C2=A9 2015 Efraim Flashner ;;; Copyright =C2=A9 2015 Andy Patterson ;;; Copyright =C2=A9 2015 Ricardo Wurmus +;;; Copyright =C2=A9 2015 Alex Kost ;;; ;;; 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)) =20 (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+))) =20 +(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") --=20 2.6.3 --=-=-=--