[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add codec2.
From: |
guix-commits |
Subject: |
02/07: gnu: Add codec2. |
Date: |
Thu, 9 Apr 2020 17:18:24 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 7cd2609e3fcb94db28ac261d1dbcc6e4bc85f66f
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Thu Apr 9 16:03:03 2020 +0200
gnu: Add codec2.
* gnu/packages/audio.scm (codec2): New variable.
---
gnu/packages/audio.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e602b00..bf16e09 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2019 Hartmt Goebel <address@hidden>
;;; Copyright © 2019 Nicolas Goaziou <address@hidden>
;;; Copyright © 2020 Vincent Legoll <address@hidden>
+;;; Copyright © 2020 Guillaume Le Vaillant <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -99,6 +100,7 @@
#:use-module (gnu packages telephony)
#:use-module (gnu packages linphone)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
#:use-module (gnu packages vim) ;xxd
#:use-module (gnu packages webkit)
@@ -4206,3 +4208,37 @@ minimum.")
`(("librsvg" ,librsvg)
,@(package-inputs ztoolkit)))
(synopsis "ZToolkit with SVG support")))
+
+(define-public codec2
+ (package
+ (name "codec2")
+ (version "0.9.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/drowe67/codec2.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("bc" ,bc)
+ ("octave" ,octave)
+ ("valgrind" ,valgrind)))
+ (arguments
+ `(#:tests? #f ; TODO: Fix tests (paths, graphic toolkit, octave modules).
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-test-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ #t)))))
+ (synopsis "Speech codec")
+ (description
+ "Codec 2 is a speech codec designed for communications quality speech
+between 700 and 3200 bit/s. The main application is low bandwidth HF/VHF
+digital radio.")
+ (home-page "https://www.rowetel.com/?page_id=452")
+ (license license:lgpl2.1)))
- branch master updated (575a9b0 -> f76ac21), guix-commits, 2020/04/09
- 04/07: gnu: Add gnuradio-osmosdr., guix-commits, 2020/04/09
- 03/07: gnu: Add gnuradio., guix-commits, 2020/04/09
- 01/07: gnu: Add python-click-plugins., guix-commits, 2020/04/09
- 05/07: gnu: Add libosmo-dsp., guix-commits, 2020/04/09
- 06/07: gnu: Add gnuradio-iqbalance., guix-commits, 2020/04/09
- 02/07: gnu: Add codec2.,
guix-commits <=
- 07/07: gnu: Add gqrx., guix-commits, 2020/04/09