[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: Add libaudec.
From: |
guix-commits |
Subject: |
04/05: gnu: Add libaudec. |
Date: |
Mon, 27 Jan 2020 17:20:00 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5d703da3f7475a5f3912361edf5217d29578d9a6
Author: Alexandros Theodotou <address@hidden>
AuthorDate: Wed Jan 8 14:26:45 2020 +0000
gnu: Add libaudec.
* gnu/packages/audio.scm (libaudec): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/audio.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 95222a5..c0fb800 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2019 Rutger Helling <address@hidden>
;;; Copyright © 2019 Arun Isaac <address@hidden>
;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
-;;; Copyright © 2019 Alexandros Theodotou <address@hidden>
+;;; Copyright © 2019, 2020 Alexandros Theodotou <address@hidden>
;;; Copyright © 2019 Christopher Lemmer Webber <address@hidden>
;;; Copyright © 2019 Jan Wielkiewicz <address@hidden>
;;; Copyright © 2019 Hartmt Goebel <address@hidden>
@@ -54,6 +54,7 @@
#:use-module (guix build-system waf)
#:use-module (guix build-system trivial)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
@@ -4009,3 +4010,33 @@ in the package.")
;; (see the file 'COPYING.LGPL'). This allows writing ECI applications
;; that are not licensed under GPL.
(license (list license:gpl2 license:lgpl2.1))))
+
+(define-public libaudec
+ (package
+ (name "libaudec")
+ (version "0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.zrythm.org/git/libaudec")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0lfydvs92b0hr72z71ci3yi356rjzi162pgms8dphgg18bz8dazv"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:configure-flags `("-Denable_tests=true -Denable_ffmpeg=true")))
+ (inputs
+ `(("libsamplerate" ,libsamplerate)
+ ("libsndfile" ,libsndfile)
+ ("ffmpeg" ,ffmpeg)))
+ (native-inputs
+ `(("pkg-config", pkg-config)))
+ (synopsis "Library for reading and resampling audio files")
+ (description "libaudec is a wrapper library over ffmpeg, sndfile and
+libsamplerate for reading and resampling audio files, based on Robin Gareus'
+@code{audio_decoder} code.")
+ (home-page "https://git.zrythm.org/cgit/libaudec")
+ (license license:agpl3+)))