diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-03-29 22:40:30 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-03-29 22:40:30 +0200 |
commit | 80808d678a8fb8ec99b048c916a10f2cde080cb8 (patch) | |
tree | d309fdf1c553328c363363062ef658f71032d46e /gnu/packages/music.scm | |
parent | 9f1ac4fa4918cd976ba40bdcfbb85e54b7119018 (diff) | |
download | guix-80808d678a8fb8ec99b048c916a10f2cde080cb8.tar.gz |
gnu: hydrogen: Update to 1.0.0-beta1.
* gnu/packages/music.scm (hydrogen): Update to 1.0.0-beta1. [source]: Fetch from git. [arguments]: Add phase to fix installation directory for pixmaps. [inputs]: Remove qt-4; add qtbase and qtxmlpatterns.
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r-- | gnu/packages/music.scm | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index f7e9ad132b..9949e8e38f 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -435,19 +435,28 @@ background while you work.") (define-public hydrogen (package (name "hydrogen") - (version "0.9.7") + (version "1.0.0-beta1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/hydrogen-music/hydrogen/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/hydrogen-music/hydrogen.git") + (commit version))) + (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy")))) + "0nv83l70j5bjz2wd6n3a8cq3bmgrvdvg6g2hjhc1g5h6xnbqsh9x")))) (build-system cmake-build-system) (arguments - `(#:test-target "tests")) + `(#:test-target "tests" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-data-directory + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "CMakeLists.txt" + (("/usr/share/pixmaps") + (string-append (assoc-ref outputs "out") + "/share/pixmaps"))) + #t))))) (native-inputs `(("cppunit" ,cppunit) ("pkg-config" ,pkg-config))) @@ -460,7 +469,8 @@ background while you work.") ("libsndfile" ,libsndfile) ("libtar" ,libtar) ("lrdf" ,lrdf) - ("qt" ,qt-4) + ("qtbase" ,qtbase) + ("qtxmlpatterns" ,qtxmlpatterns) ("zlib" ,zlib))) (home-page "http://www.hydrogen-music.org") (synopsis "Drum machine") |