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.
This commit is contained in:
parent
9f1ac4fa49
commit
80808d678a
|
@ -435,19 +435,28 @@ background while you work.")
|
||||||
(define-public hydrogen
|
(define-public hydrogen
|
||||||
(package
|
(package
|
||||||
(name "hydrogen")
|
(name "hydrogen")
|
||||||
(version "0.9.7")
|
(version "1.0.0-beta1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/hydrogen-music/hydrogen/archive/"
|
(url "https://github.com/hydrogen-music/hydrogen.git")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"))))
|
"0nv83l70j5bjz2wd6n3a8cq3bmgrvdvg6g2hjhc1g5h6xnbqsh9x"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(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
|
(native-inputs
|
||||||
`(("cppunit" ,cppunit)
|
`(("cppunit" ,cppunit)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
|
@ -460,7 +469,8 @@ background while you work.")
|
||||||
("libsndfile" ,libsndfile)
|
("libsndfile" ,libsndfile)
|
||||||
("libtar" ,libtar)
|
("libtar" ,libtar)
|
||||||
("lrdf" ,lrdf)
|
("lrdf" ,lrdf)
|
||||||
("qt" ,qt-4)
|
("qtbase" ,qtbase)
|
||||||
|
("qtxmlpatterns" ,qtxmlpatterns)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(home-page "http://www.hydrogen-music.org")
|
(home-page "http://www.hydrogen-music.org")
|
||||||
(synopsis "Drum machine")
|
(synopsis "Drum machine")
|
||||||
|
|
Loading…
Reference in New Issue