unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add bs1770gain.
@ 2016-08-03 22:38 Alex Griffin
  2016-08-07  2:50 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Griffin @ 2016-08-03 22:38 UTC (permalink / raw)
  To: guix-devel

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

This patch adds bs1770gain, a tool for adjusting and normalizing the
loudness of audio and video files.
-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-bs1770gain.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-bs1770gain.patch", Size: 1509 bytes --]

From 166ed6d602c21bdc6544775327424187ac19cc3d Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Wed, 3 Aug 2016 15:02:04 -0500
Subject: [PATCH 1/2] gnu: Add bs1770gain.

* gnu/packages/video.scm (bs1770gain): New variable.
---
 gnu/packages/video.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index e3da8f1..169cbb5 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1562,3 +1562,26 @@ and MPEG system streams.")
                    license:lgpl2.1
                    license:lgpl2.1+
                    license:gpl2))))
+
+(define-public bs1770gain
+  (package
+    (name "bs1770gain")
+    (version "0.4.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
+                           version "/bs1770gain-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1syr8qchs8091z9ayivj723szlidx81gll099bmk9kgpykmckd62"))))
+    (build-system gnu-build-system)
+    (inputs `(("ffmpeg" ,ffmpeg)
+              ("sox" ,sox)))
+    (home-page "http://bs1770gain.sourceforge.net/")
+    (synopsis "Tool to adjust loudness of media files")
+    (description
+     "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
+flavors EBU R128, ATSC A/85, and ReplayGain 2.0.  It helps normalizing the
+loudness of audio and video files to the same level.")
+    (license license:gpl2)))
-- 
2.9.2


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

* Re: [PATCH] gnu: Add bs1770gain.
  2016-08-03 22:38 [PATCH] gnu: Add bs1770gain Alex Griffin
@ 2016-08-07  2:50 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-08-07  2:50 UTC (permalink / raw)
  To: Alex Griffin; +Cc: guix-devel

On Wed, Aug 03, 2016 at 05:38:46PM -0500, Alex Griffin wrote:
> This patch adds bs1770gain, a tool for adjusting and normalizing the
> loudness of audio and video files.
> 
> * gnu/packages/video.scm (bs1770gain): New variable.

Thanks!

The license headers say GPL version 2 or later, so I changed it to
gpl2+.

And, since it operates on audio, I moved it to the audio package module.

Pushed as e87c7ec2

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

end of thread, other threads:[~2016-08-07  2:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 22:38 [PATCH] gnu: Add bs1770gain Alex Griffin
2016-08-07  2:50 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).