From eaac22aaf385e846bbf207886498302405f91208 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Fri, 18 Jan 2013 02:06:35 +0000 Subject: [PATCH] gnu: Add GNU Speex. * gnu/packages/speex.scm: New file. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + gnu/packages/speex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 gnu/packages/speex.scm diff --git a/Makefile.am b/Makefile.am index 3ac2379..68ca350 100644 --- a/Makefile.am +++ b/Makefile.am @@ -112,6 +112,7 @@ MODULES = \ gnu/packages/rsync.scm \ gnu/packages/scheme.scm \ gnu/packages/shishi.scm \ + gnu/packages/speex.scm \ gnu/packages/system.scm \ gnu/packages/tcl.scm \ gnu/packages/texinfo.scm \ diff --git a/gnu/packages/speex.scm b/gnu/packages/speex.scm new file mode 100644 index 0000000..6792f9f --- /dev/null +++ b/gnu/packages/speex.scm @@ -0,0 +1,48 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Nikita Karetnikov +;;; +;;; 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 . + +(define-module (gnu packages speex) + #:use-module ((guix licenses) #:select (bsd-3)) + #:use-module (gnu packages libogg) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public speex + (package + (name "speex") + (version "1.2rc1") + (source + (origin + (method url-fetch) + (uri (string-append "http://downloads.xiph.org/releases/speex/speex-" + version ".tar.gz")) + (sha256 + (base32 + "19mpkhbz3s08snvndn0h1dk2j139max6b0rr86nnsjmxazf30brl")))) + (build-system gnu-build-system) + (inputs `(("libogg" ,libogg))) + (home-page "https://gnu.org/software/speex") + (synopsis + "GNU Speex, a patent-free voice codec") + (description + "GNU Speex is a patent-free voice codec. It is designed to +compress voice at bitrates in the 2--45 kbps range. Possible +applications include VoIP, internet audio streaming, archiving of speech +data (e.g., voice mail), and audio books.") + (license bsd-3))) ; 'src/getopt.c' is under LGPLv2+ \ No newline at end of file -- 1.7.5.4