summary refs log tree commit diff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-03-24 11:51:21 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-03-24 11:54:03 +0100
commitd3e7f1eeacf3c852b8997c30f4d8e87df87162ae (patch)
tree5eb763a926102126eeb273f47e187364f2fcf35e /gnu/packages/radio.scm
parent083809229bf199399c33b072056be77dbfd75555 (diff)
downloadguix-d3e7f1eeacf3c852b8997c30f4d8e87df87162ae.tar.gz
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.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 233af9c287..e2e96afbe2 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -52,6 +52,7 @@
   #: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 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
     (native-inputs
      `(("doxygen" ,doxygen)
        ("ghostscript" ,ghostscript)
+       ("js-mathjax" ,js-mathjax)
        ("orc" ,orc)
        ("pkg-config" ,pkg-config)
        ("pybind11" ,pybind11)
@@ -325,6 +327,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
        ("gsm" ,gsm)
        ("gtk+" ,gtk+)
        ("jack" ,jack-1)
+       ("libsndfile" ,libsndfile)
        ("log4cpp" ,log4cpp)
        ("pango" ,pango)
        ("portaudio" ,portaudio)
@@ -351,6 +354,10 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
        #: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