From: Alexandros Theodotou <alex@zrythm.org>
To: 42274@debbugs.gnu.org
Subject: [bug#42274] [PATCH] gnu: zita-resampler: Update to 1.6.2.
Date: Wed, 08 Jul 2020 21:21:17 +0100 [thread overview]
Message-ID: <efafd308ab274119a6304225b7c77b12b2a0a93a.camel@zrythm.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
Hi,
This patch updates zita-resampler. The structure of the source code
changed so it required a few tweaks.
Thanks,
Alex
[-- Attachment #2: 0001-gnu-zita-resampler-Update-to-1.6.2.patch --]
[-- Type: text/x-patch, Size: 2708 bytes --]
From 53defb93bb80435e41b297b68cc1efd896060b8d Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Wed, 8 Jul 2020 21:19:09 +0100
Subject: [PATCH] gnu: zita-resampler: Update to 1.6.2.
* gnu/packages/audio.scm (zita-resampler): Update to 1.6.2.
---
gnu/packages/audio.scm | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index c96476857f..571624a622 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3203,7 +3203,7 @@ engine.")
(define-public zita-resampler
(package
(name "zita-resampler")
- (version "1.3.0")
+ (version "1.6.2")
(source (origin
(method url-fetch)
(uri (string-append
@@ -3213,33 +3213,36 @@ engine.")
(snippet
;; Don't optimize for a specific processor architecture.
'(begin
- (substitute* '("apps/Makefile" "libs/Makefile")
+ (substitute* '("apps/Makefile" "source/Makefile")
(("^CXXFLAGS \\+= -march=native") ""))
#t))
(modules '((guix build utils)))
(sha256
(base32
- "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
+ "1my5k2dh2dkvjp6xjnf9qy6i7s28z13kw1n9pwa4a2cpwbzawfr3"))))
(build-system gnu-build-system)
(arguments
`(#: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
(modify-phases %standard-phases
(add-after
'unpack 'patch-makefile-and-enter-directory
(lambda _
- (substitute* "libs/Makefile"
- (("ldconfig") "true")
- (("^LIBDIR =.*") "LIBDIR = lib\n"))
- (chdir "libs")
+ (substitute* "source/Makefile"
+ (("ldconfig") "true")
+ (("^LIBDIR =.*") "LIBDIR = lib\n"))
+ (chdir "source")
#t))
(add-after
'install 'install-symlink
(lambda _
(symlink "libzita-resampler.so"
- (string-append (assoc-ref %outputs "out")
- "/lib/libzita-resampler.so.1"))
+ (string-append
+ (assoc-ref %outputs "out")
+ "/lib/libzita-resampler.so.1"))
#t))
;; no configure script
(delete 'configure))))
--
2.27.0
next reply other threads:[~2020-07-08 20:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 20:21 Alexandros Theodotou [this message]
2020-07-12 18:35 ` bug#42274: [PATCH] gnu: zita-resampler: Update to 1.6.2 Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=efafd308ab274119a6304225b7c77b12b2a0a93a.camel@zrythm.org \
--to=alex@zrythm.org \
--cc=42274@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.