gnu: zita-convolver: Update to 4.0.3.
* gnu/packages/audio.scm (zita-convolver): Update to 4.0.3. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
		
							parent
							
								
									12156a459c
								
							
						
					
					
						commit
						1c1ce52aa9
					
				
					 1 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
					@ -2944,7 +2944,7 @@ result.")
 | 
				
			||||||
(define-public zita-convolver
 | 
					(define-public zita-convolver
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "zita-convolver")
 | 
					    (name "zita-convolver")
 | 
				
			||||||
    (version "3.1.0")
 | 
					    (version "4.0.3")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -2954,31 +2954,33 @@ result.")
 | 
				
			||||||
              (snippet
 | 
					              (snippet
 | 
				
			||||||
               ;; Don't optimize for a specific processor architecture.
 | 
					               ;; Don't optimize for a specific processor architecture.
 | 
				
			||||||
               '(begin
 | 
					               '(begin
 | 
				
			||||||
                  (substitute* "libs/Makefile"
 | 
					                  (substitute* "source/Makefile"
 | 
				
			||||||
                    (("^CXXFLAGS \\+= -march=native") ""))
 | 
					                    (("^CXXFLAGS \\+= -march=native") ""))
 | 
				
			||||||
                  #t))
 | 
					                  #t))
 | 
				
			||||||
              (modules '((guix build utils)))
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
 | 
					                "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs"))))
 | 
				
			||||||
    (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 'unpack 'patch-makefile-and-enter-directory
 | 
					         (add-after '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 'install 'install-symlink
 | 
					         (add-after 'install 'install-symlink
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (symlink "libzita-convolver.so"
 | 
					             (symlink "libzita-convolver.so"
 | 
				
			||||||
                      (string-append (assoc-ref %outputs "out")
 | 
					                      (string-append (assoc-ref %outputs "out")
 | 
				
			||||||
                                     "/lib/libzita-convolver.so.3"))
 | 
					                                     "/lib/libzita-convolver.so.4"))
 | 
				
			||||||
             #t))
 | 
					             #t))
 | 
				
			||||||
         ;; no configure script
 | 
					         ;; no configure script
 | 
				
			||||||
         (delete 'configure))))
 | 
					         (delete 'configure))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue