mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: helm: fix not finding Factory Presets
* gnu/packages/music.scm (helm): Fix not finding Factory Presets. This change fixes hardcoded paths so that Factory Presets can be found. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
d231651696
commit
6db22e5262
1 changed files with 18 additions and 13 deletions
|
@ -6109,21 +6109,21 @@ (define-public helm
|
|||
(name "helm")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/mtytel/helm")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))
|
||||
;; Apply GCC 9 fixes from https://github.com/mtytel/helm/pull/233
|
||||
(patches (search-patches "helm-fix-gcc-9-build.patch"))))
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/mtytel/helm")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))
|
||||
;; Apply GCC 9 fixes from https://github.com/mtytel/helm/pull/233
|
||||
(patches (search-patches "helm-fix-gcc-9-build.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
`(#:tests? #f ; no "check" target
|
||||
#:make-flags
|
||||
(list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
||||
"lv2" "standalone")
|
||||
|
@ -6140,6 +6140,11 @@ (define-public helm
|
|||
(substitute* "Makefile"
|
||||
(("/usr") ""))
|
||||
#t))
|
||||
(add-after 'unpack 'fix-hardcoded-paths
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* (list "src/common/load_save.cpp"
|
||||
"src/editor_sections/patch_browser.cpp")
|
||||
(("/usr") (assoc-ref outputs "out")))))
|
||||
(delete 'configure))))
|
||||
(inputs
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
|
|
Loading…
Reference in a new issue