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: Re: [PATCH] gnu: Add twolame. Date: Tue, 24 Feb 2015 20:20:23 +0100 Message-ID: <87vbir6rrc.fsf@taylan.uni.cx> References: <87vbiukfvc.fsf@taylan.uni.cx> <20150222105800.GA29289@debian> <87385y87hq.fsf@taylan.uni.cx> <20150223205755.GD25828@debian> <87r3tg719w.fsf@taylan.uni.cx> <20150223214542.GA2064@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQL1y-00078K-87 for guix-devel@gnu.org; Tue, 24 Feb 2015 14:20:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQL1v-0006mw-CZ for guix-devel@gnu.org; Tue, 24 Feb 2015 14:20:30 -0500 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:36740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQL1v-0006mq-4x for guix-devel@gnu.org; Tue, 24 Feb 2015 14:20:27 -0500 Received: by wevk48 with SMTP id k48so27305355wev.3 for ; Tue, 24 Feb 2015 11:20:26 -0800 (PST) In-Reply-To: <20150223214542.GA2064@debian> (Andreas Enge's message of "Mon, 23 Feb 2015 22:45:42 +0100") 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: Andreas Enge Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andreas Enge writes: > On Mon, Feb 23, 2015 at 10:42:35PM +0100, Taylan Ulrich Bay=C4=B1rl=C4=B1= /Kammer wrote: >> Other than that, we could modify that file to remove that check, knowing >> that `sndfile-convert' is there, since the inputs have `libsndfile'. >> Should we go that way, how about: > > I do not know. If it is used and needed, then I think the easiest solution > would be to add "which" as a native input, with a little comment. > > Andreas OK. Will push the attached patch if nobody has objections. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0004-gnu-Add-twolame.patch Content-Description: patch >From 79a35cc12ebb07b789c08ca943465f11db3e199e 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 4/8] 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 3ed2301..44ab891 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -44,6 +44,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)) @@ -742,3 +743,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+))) -- 2.2.1 --=-=-=--