all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add mpv-minimal.
@ 2015-12-04 16:08 Alex Kost
  2015-12-04 17:13 ` Andreas Enge
  0 siblings, 1 reply; 17+ messages in thread
From: Alex Kost @ 2015-12-04 16:08 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

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.


[-- Attachment #2: 0001-gnu-Add-mpv-minimal.patch --]
[-- Type: text/x-patch, Size: 1535 bytes --]

From fdcbbff10839dfd2d086d7a022488a9cf75db5c9 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@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 <efraim@flashner.co.il>
 ;;; Copyright © 2015 Andy Patterson <ajpatter@uwaterloo.ca>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015 Alex Kost <alezost@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


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-01-07 22:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-04 16:08 [PATCH] gnu: Add mpv-minimal Alex Kost
2015-12-04 17:13 ` Andreas Enge
2015-12-04 18:20   ` Taylan Ulrich Bayırlı/Kammer
2015-12-05 18:49   ` Alex Kost
2015-12-05 19:28     ` Efraim Flashner
2015-12-05 20:49       ` Andreas Enge
2015-12-23  8:26         ` Alex Kost
2015-12-23 19:29           ` Leo Famulari
2015-12-24  8:35             ` Alex Kost
2015-12-24 13:56               ` Efraim Flashner
2015-12-24 16:56                 ` Leo Famulari
2015-12-23 19:48           ` Efraim Flashner
2015-12-24  8:36             ` Alex Kost
2015-12-24  9:14               ` Efraim Flashner
2015-12-25 15:29                 ` Alex Kost
2015-12-30 15:48                   ` Ludovic Courtès
2016-01-07 22:41                   ` Alex Kost

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.