guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add twolame.


From: Taylan Ulrich Bayırlı/Kammer
Subject: [PATCH] gnu: Add twolame.
Date: Sun, 22 Feb 2015 00:24:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

>From ad7a15b990eb340bd491b99eb70e36675d277b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <address@hidden>
Date: Fri, 20 Feb 2015 21:51:09 +0100
Subject: [PATCH 7/9] gnu: Add twolame.

* gnu/packages/audio.scm (twolame): New variable.
---
 gnu/packages/audio.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b9808b8..d220349 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -46,6 +46,7 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages file)
   #:use-module (gnu packages cmake)
+  #:use-module (gnu packages which)
   #:use-module (srfi srfi-1))
 
 (define-public aubio
@@ -762,3 +763,28 @@ control functionality, or just for playing around with the 
sound effects.")
      "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
 conversion.  It may be used, for example, to resample PCM-encoded audio.")
     (license license:lgpl2.1+)))
+
+(define-public twolame
+  (package
+    (name "twolame")
+    (version "0.3.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://sourceforge/twolame/twolame-" version ".tar.gz"))
+       (sha256
+        (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libsndfile" ,libsndfile)))
+    (native-inputs
+     `(("perl" ,perl)
+       ("which" ,which)))
+    (home-page "http://www.twolame.org/";)
+    (synopsis "MPEG Audio Layer 2 (MP2) encoder")
+    (description
+     "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
+tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
+portions of LAME.")
+    (license license:lgpl2.1+)))
-- 
2.2.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]