gnu: gnuradio: Add missing inputs.

* gnu/packages/radio.scm (gnuradio)[native-inputs]: Add js-mathjax.
  [inputs]: Add libsndfile.
  [arguments]: Add 'configure-flags' to find mathjax.
This commit is contained in:
Guillaume Le Vaillant 2021-03-24 11:51:21 +01:00
parent 083809229b
commit d3e7f1eeac
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -52,6 +52,7 @@ (define-module (gnu packages radio)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages javascript)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages logging)
@ -300,6 +301,7 @@ (define-public gnuradio
(native-inputs
`(("doxygen" ,doxygen)
("ghostscript" ,ghostscript)
("js-mathjax" ,js-mathjax)
("orc" ,orc)
("pkg-config" ,pkg-config)
("pybind11" ,pybind11)
@ -325,6 +327,7 @@ (define-public gnuradio
("gsm" ,gsm)
("gtk+" ,gtk+)
("jack" ,jack-1)
("libsndfile" ,libsndfile)
("log4cpp" ,log4cpp)
("pango" ,pango)
("portaudio" ,portaudio)
@ -351,6 +354,10 @@ (define-public gnuradio
#:imported-modules (,@%cmake-build-system-modules
(guix build glib-or-gtk-build-system)
(guix build python-build-system))
#:configure-flags
(list (string-append "-DMATHJAX2_ROOT="
(assoc-ref %build-inputs "js-mathjax")
"/share/javascript/mathjax"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths