diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-05-03 18:17:33 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-05-07 18:16:59 +0200 |
commit | 9a2251fb5a86806381a5297f8245d8ec8b4e2980 (patch) | |
tree | ecd28de0296cef65bc3036131d56400fc254ed10 /gnu/packages/radio.scm | |
parent | 82b72a7d795f308ed35b5d7018bb30a09c92c31a (diff) | |
download | guix-9a2251fb5a86806381a5297f8245d8ec8b4e2980.tar.gz |
gnu: Add libdab.
* gnu/packages/radio.scm (libdab): New variable.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r-- | gnu/packages/radio.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index aebdf58cb4..8af4149c69 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1668,3 +1668,37 @@ based devices in packet mode over a serial link.") "This is a C++ library implementing fast GF(256) Cauchy MDS Block Erasure Codec.") (license license:gpl3+))) + +(define-public libdab + ;; No release since 2017, use commit directly. + (let ((commit "b578d02eda60f613d35bab5d762ae7c9a27758d8") + (revision "1")) + (package + (name "libdab") + (version (git-version "0.8" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JvanKatwijk/dab-cmdline") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0j339kx3n2plgfw7ikpp7b81h5n68wmsgflwljbh2sy8j62faik9")))) + (build-system cmake-build-system) + (inputs + `(("faad2" ,faad2) + ("fftwf" ,fftwf) + ("zlib" ,zlib))) + (arguments + `(#:tests? #f ; No test suite. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'enter-sources-directory + (lambda _ + (chdir "library")))))) + (home-page "https://github.com/JvanKatwijk/dab-cmdline") + (synopsis "DAB decoding library") + (description "This is a library to decode @acronym{DAB/DAB+, Digital +Audio Broadcasting}.") + (license license:gpl2+)))) |