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