guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add XJackFreak.


From: Ricardo Wurmus
Subject: [PATCH] Add XJackFreak.
Date: Sat, 19 Sep 2015 13:17:27 +0200

>From e2a9d5bd613da81a050875af5f580da87dfa08b9 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Sat, 19 Sep 2015 13:16:38 +0200
Subject: [PATCH] gnu: Add XJackFreak.

* gnu/packages/audio.scm (xjackfreak): New variable.
---
 gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 65351ea..a4e5a55 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -60,6 +60,7 @@
   #:use-module (gnu packages readline)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
   #:use-module (gnu packages zip)
   #:use-module (srfi srfi-1))
 
@@ -1737,6 +1738,47 @@ directly to a different computer on your LAN network.  
It is an audio daemon
 with a much different focus than most other audio daemons.")
     (license license:gpl3+)))
 
+(define-public xjackfreak
+  (package
+    (name "xjackfreak")
+    (version "1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/johnhldavis/xjackfreak/archive/v";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0chpcvniqvyhn4kcfxgyp1gvvf979lr79f9bfmz291jnay82zgf3"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list (string-append "docdir=" (assoc-ref %outputs "out")
+                            "/share/doc/"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after
+          'unpack 'patch-prefix
+          (lambda* (#:key outputs #:allow-other-keys)
+            (substitute* "src/xjackfreak1.c"
+              (("/usr/local") (assoc-ref outputs "out")))
+            #t)))))
+    (inputs
+     `(("jack" ,jack-1)
+       ("libx11" ,libx11)
+       ("libxt" ,libxt)
+       ("libxext" ,libxext)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/johnhldavis/xjackfreak";)
+    (synopsis "JACK audio frequency analyzer and display")
+    (description
+     "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
+Connection Kit.  It can display the FFT of any input, modify it and output the
+result.")
+    (license license:gpl3+)))
+
 (define-public zita-convolver
   (package
     (name "zita-convolver")
-- 
2.5.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]