mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: zita-resampler: Update to 1.6.2.
* gnu/packages/audio.scm (zita-resampler): Update to 1.6.2. [source]: Adjust for upstream changes. [arguments]: Same. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
ad020ee2a8
commit
a35cd75216
1 changed files with 8 additions and 6 deletions
|
@ -3203,7 +3203,7 @@ (define-public zita-convolver
|
||||||
(define-public zita-resampler
|
(define-public zita-resampler
|
||||||
(package
|
(package
|
||||||
(name "zita-resampler")
|
(name "zita-resampler")
|
||||||
(version "1.3.0")
|
(version "1.6.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -3213,26 +3213,28 @@ (define-public zita-resampler
|
||||||
(snippet
|
(snippet
|
||||||
;; Don't optimize for a specific processor architecture.
|
;; Don't optimize for a specific processor architecture.
|
||||||
'(begin
|
'(begin
|
||||||
(substitute* '("apps/Makefile" "libs/Makefile")
|
(substitute* '("apps/Makefile" "source/Makefile")
|
||||||
(("^CXXFLAGS \\+= -march=native") ""))
|
(("^CXXFLAGS \\+= -march=native") ""))
|
||||||
#t))
|
#t))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
|
"1my5k2dh2dkvjp6xjnf9qy6i7s28z13kw1n9pwa4a2cpwbzawfr3"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no "check" target
|
`(#:tests? #f ; no "check" target
|
||||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
#:make-flags
|
||||||
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
(string-append "SUFFIX="))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after
|
(add-after
|
||||||
'unpack 'patch-makefile-and-enter-directory
|
'unpack 'patch-makefile-and-enter-directory
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "libs/Makefile"
|
(substitute* "source/Makefile"
|
||||||
(("ldconfig") "true")
|
(("ldconfig") "true")
|
||||||
(("^LIBDIR =.*") "LIBDIR = lib\n"))
|
(("^LIBDIR =.*") "LIBDIR = lib\n"))
|
||||||
(chdir "libs")
|
(chdir "source")
|
||||||
#t))
|
#t))
|
||||||
(add-after
|
(add-after
|
||||||
'install 'install-symlink
|
'install 'install-symlink
|
||||||
|
|
Loading…
Reference in a new issue