mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: Add dsdcc.
* gnu/packages/radio.scm (dsdcc): New variable.
This commit is contained in:
parent
f1b0d0d76f
commit
f2a94a9e26
1 changed files with 40 additions and 0 deletions
|
@ -1702,3 +1702,43 @@ (define-public libdab
|
|||
(description "This is a library to decode @acronym{DAB/DAB+, Digital
|
||||
Audio Broadcasting}.")
|
||||
(license license:gpl2+))))
|
||||
|
||||
(define-public dsdcc
|
||||
(package
|
||||
(name "dsdcc")
|
||||
(version "1.9.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/f4exb/dsdcc")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0jgzpv4d6ckd0sdq6438rjh3m6knj6gx63627fajch74hxrvclzj"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("mbelib" ,mbelib)
|
||||
("serialdv" ,serialdv)))
|
||||
(arguments
|
||||
`(#:tests? #f ; No test suite.
|
||||
#:configure-flags
|
||||
(list "-DUSE_MBELIB=ON"
|
||||
(string-append "-DLIBMBE_INCLUDE_DIR="
|
||||
(assoc-ref %build-inputs "mbelib")
|
||||
"/include")
|
||||
(string-append "-DLIBMBE_LIBRARY="
|
||||
(assoc-ref %build-inputs "mbelib")
|
||||
"/lib/libmbe.so")
|
||||
(string-append "-DLIBSERIALDV_INCLUDE_DIR="
|
||||
(assoc-ref %build-inputs "serialdv")
|
||||
"/include/serialdv")
|
||||
(string-append "-DLIBSERIALDV_LIBRARY="
|
||||
(assoc-ref %build-inputs "serialdv")
|
||||
"/lib/libserialdv.so"))))
|
||||
(home-page "https://github.com/f4exb/dsdcc")
|
||||
(synopsis "Digital speech decoder")
|
||||
(description
|
||||
"This package provides a library and a program to decode several digital
|
||||
voice formats.")
|
||||
(license license:gpl3+)))
|
||||
|
|
Loading…
Reference in a new issue