Subject: [PATCH] gnu: zita-alsa-pcmi: Update to 0.3.2.
From: Alexandros Theodotou <[email-masked]>
To: Guix patches <[email-masked]>
Date: Wed, 08 Jul 2020 21:25:58 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

This patch updates zita-alsa-pcmi. It required some tweaks.

Thanks,
Alex
From bd2b4757d4b14f5761c250f72b8a3426496682fe Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Wed, 8 Jul 2020 21:24:25 +0100
Subject: [PATCH] gnu: zita-alsa-pcmi: Update to 0.3.2.

* gnu/packages/audio.scm (zita-alsa-pcmi): Update to 0.3.2.
---
 gnu/packages/audio.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 571624a622..47cec4fea2 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3257,7 +3257,7 @@ provide high-quality sample rate conversion.")
 (define-public zita-alsa-pcmi
   (package
     (name "zita-alsa-pcmi")
-    (version "0.2.0")
+    (version "0.3.2")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -3266,19 +3266,21 @@ provide high-quality sample rate conversion.")
                     version ".tar.bz2"))
               (sha256
                (base32
-                "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
+                "12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s"))))
     (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 _
-- 
2.27.0