summary refs log tree commit diff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-06-05 23:20:42 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-06-05 23:43:12 +0200
commit42639cc98091518c6bbb09db24925c2c599a0a2d (patch)
tree7fc214945422be6cf60f7d47da8ee53cf2688d5c /gnu/packages/music.scm
parentdb89d31876d2f02da1e550813b3e34d9cd605633 (diff)
downloadguix-42639cc98091518c6bbb09db24925c2c599a0a2d.tar.gz
gnu: qtractor: Update to 0.9.1.
* gnu/packages/music.scm (qtractor): Update to 0.9.1.
[arguments]: Add phase "fix-build-with-qt-5.11".
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm18
1 files changed, 15 insertions, 3 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c8eb8d7279..a19aeaf00b 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2174,16 +2174,28 @@ from the command line.")
 (define-public qtractor
   (package
     (name "qtractor")
-    (version "0.9.0")
+    (version "0.9.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://downloads.sourceforge.net/qtractor/"
                                   "qtractor-" version ".tar.gz"))
               (sha256
                (base32
-                "03892177k3jn2bsi366dhq28rcdsc1p9v5qqc0k6hg3cnrkh23na"))))
+                "07csbqr7q4m1j0pqg89kn7jdw0snd5lwna5rha0986s4plq4z1qb"))))
     (build-system gnu-build-system)
-    (arguments `(#:tests? #f)) ; no "check" target
+    (arguments
+     `(#:tests? #f  ; no "check" target
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-build-with-qt-5.11
+           (lambda _
+             (substitute* "src/qtractorMeter.h"
+               (("#include <QFrame>" m)
+                (string-append "#include <QAction>\n" m)))
+             (substitute* "src/qtractorTrackButton.h"
+               (("#include <QPushButton>" m)
+                (string-append "#include <QAction>\n" m)))
+             #t)))))
     (inputs
      `(("qt" ,qtbase)
        ("qtx11extras" ,qtx11extras)