From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCH] gnu: Add twolame. Date: Sun, 22 Feb 2015 00:24:23 +0100 Message-ID: <87vbiukfvc.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPJPP-0001aV-KW for guix-devel@gnu.org; Sat, 21 Feb 2015 18:24:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPJPO-0007b4-Bw for guix-devel@gnu.org; Sat, 21 Feb 2015 18:24:27 -0500 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:37016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPJPO-0007am-5f for guix-devel@gnu.org; Sat, 21 Feb 2015 18:24:26 -0500 Received: by wesw55 with SMTP id w55so11765898wes.4 for ; Sat, 21 Feb 2015 15:24:25 -0800 (PST) Received: from taylan.uni.cx (p200300514A1A690C0213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a1a:690c:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id u16sm9356816wjr.5.2015.02.21.15.24.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 15:24:25 -0800 (PST) Content-Disposition: inline; filename=0007-gnu-Add-twolame.patch Content-Description: patch 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 >From ad7a15b990eb340bd491b99eb70e36675d277b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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