aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-20 21:51:09 +0100
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-25 15:38:17 +0100
commit49f367088983e2643f710479cb84a10087a5bd31 (patch)
tree7b4ea3459f867bd60d25752217d9cd712cf39d2f /gnu/packages
parent4bddd14c11f94ca44bccc09fbe7aec276bcc5dd6 (diff)
downloadguix-49f367088983e2643f710479cb84a10087a5bd31.tar
guix-49f367088983e2643f710479cb84a10087a5bd31.tar.gz
gnu: Add twolame.
* gnu/packages/audio.scm (twolame): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index aa29ddaa56..aba5b5a61c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -48,6 +48,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages which)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
#:use-module (srfi srfi-1))
@@ -841,3 +842,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))) ;used in tests/test.pl
+ (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+)))