mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: yoshimi: Update to 1.4.1.
* gnu/packages/music.scm (yoshimi): Update to 1.4.1. [arguments]: Add build phase "find-ncurses".
This commit is contained in:
parent
9602e3cce9
commit
7fd30d1be4
1 changed files with 13 additions and 3 deletions
|
@ -1457,7 +1457,7 @@ (define-public zynaddsubfx
|
||||||
(define-public yoshimi
|
(define-public yoshimi
|
||||||
(package
|
(package
|
||||||
(name "yoshimi")
|
(name "yoshimi")
|
||||||
(version "1.3.8.2")
|
(version "1.4.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/yoshimi/"
|
(uri (string-append "mirror://sourceforge/yoshimi/"
|
||||||
|
@ -1465,7 +1465,7 @@ (define-public yoshimi
|
||||||
"/yoshimi-" version ".tar.bz2"))
|
"/yoshimi-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0wl4ln6v1nkkx56kfah23chyrhga2vi93i82g0s200c4s4184xr8"))))
|
"133sx42wb66g803pcrgdwph40wh94knvab3yfqkgm0001jv4v14y"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; there are no tests
|
`(#:tests? #f ; there are no tests
|
||||||
|
@ -1485,7 +1485,17 @@ (define-public yoshimi
|
||||||
(("-msse -msse2 -mfpmath=sse") "")
|
(("-msse -msse2 -mfpmath=sse") "")
|
||||||
(("-march=(athlon64|core2)" flag)
|
(("-march=(athlon64|core2)" flag)
|
||||||
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
||||||
#t)))))
|
#t))
|
||||||
|
;; Yoshimi tries to find ncurses with pkg-config, but our ncurses
|
||||||
|
;; package does not install .pc files.
|
||||||
|
(add-after 'unpack 'find-ncurses
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/CMakeLists.txt"
|
||||||
|
(("LIBNCURSES REQUIRED") "LIBNCURSES")
|
||||||
|
(("NCURSES REQUIRED") "NCURSES")
|
||||||
|
(("FATAL_ERROR \"libncurses") "STATUS \"libncurses")
|
||||||
|
(("\\$\\{NCURSES_LIBRARIES\\}") "ncurses"))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
("fftwf" ,fftwf)
|
("fftwf" ,fftwf)
|
||||||
|
|
Loading…
Reference in a new issue