From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: New package recipe: libopus-1.1 Date: Wed, 22 Jan 2014 16:29:33 +0100 Message-ID: <52DFE3DD.1020005@gmail.com> References: <52DFE285.2010206@totakura.in> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5zln-0004tY-QQ for guix-devel@gnu.org; Wed, 22 Jan 2014 10:31:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5zli-0005mQ-TN for guix-devel@gnu.org; Wed, 22 Jan 2014 10:31:11 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:52451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5zli-0005m6-Is for guix-devel@gnu.org; Wed, 22 Jan 2014 10:31:06 -0500 Received: by mail-we0-f174.google.com with SMTP id x55so427326wes.5 for ; Wed, 22 Jan 2014 07:31:05 -0800 (PST) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id ux5sm15573142wjc.6.2014.01.22.07.31.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 07:31:03 -0800 (PST) In-Reply-To: <52DFE285.2010206@totakura.in> 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 On 01/22/2014 04:23 PM, Sree Harsha Totakura wrote: > Hi, Hello, > > Attached is a recipe for libopus-1.1. Please include it. > Comments inlined. > Thank you, > Sree > > > 0001-new-package-libopus-1.1.patch > > > From eafeaed576eccd20e108f62dc61d89d2c4be353b Mon Sep 17 00:00:00 2001 > From: Sree Harsha Totakura > Date: Wed, 22 Jan 2014 16:17:18 +0100 > Subject: [PATCH] new package: libopus-1.1 > > > Signed-off-by: Sree Harsha Totakura > --- > gnu/packages/opus.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 gnu/packages/opus.scm > > diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm > new file mode 100644 > index 0000000..2102b59 > --- /dev/null > +++ b/gnu/packages/opus.scm > @@ -0,0 +1,50 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright © 2013 Andreas Enge > +;;; Please use the right Copyright... > +;;; This file is part of GNU Guix. > +;;; > +;;; GNU Guix is free software; you can redistribute it and/or modify it > +;;; under the terms of the GNU General Public License as published by > +;;; the Free Software Foundation; either version 3 of the License, or (at > +;;; your option) any later version. > +;;; > +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +;;; GNU General Public License for more details. > +;;; > +;;; You should have received a copy of the GNU General Public License > +;;; along with GNU Guix. If not, see. > + > +;; Author: Sree Harsha Totakura > + ... and remove this. > +(define-module (gnu packages opus) > + #:use-module (gnu packages) > + #:use-module ((guix licenses) > + #:renamer (symbol-prefix-proc 'license:)) I do not think you need a #:renamer here. > + #:use-module (guix packages) > + #:use-module (guix download) > + #:use-module (guix build-system gnu)) > + > +(define-public libopus > + (package > + (name "libopus") > + (version "1.1") > + (source (origin > + (method url-fetch) > + (uri (string-append > +"http://downloads.xiph.org/releases/opus/opus-" version > + ".tar.gz")) > + (sha256 > + (base32 > + "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr")))) > + (build-system gnu-build-system) > + (synopsis "Libopus - hightly versatile audio codec") s/hightly/highly/ > + (description "Opus is a totally open, royalty-free, highly versatile audio > +codec. Opus is unmatched for interactive speech and music transmission over > +the Internet, but is also intended for storage and streaming applications. It > +is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 > +which incorporated technology from Skype's SILK codec and Xiph.Org's CELT > +codec.") > + (license license:bsd-3) 'bsd-3' should be enough. > + (home-page"http://www.opus-codec.org/"))) > \ No newline at end of file > -- 1.7.10.4 Also, please add the new file to gnu-system.am. Thanks! Cyril Roelandt.