From c4ef03719ee47a41eab2ea32a11ffda7926b02ab Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sun, 9 Nov 2025 12:47:15 +0530 Subject: [PATCH] gnu: libpd: Update to 0.15.0. * gnu/packages/music.scm (libpd): Update to 0.15.0. [arguments]: Switch to gexp. <#:make-flags>: Replace the value of "CC" with cc-for-target. [home-page]: Use HTTPS URI. Change-Id: I42aa705a10e3fa79999efcf1646be12eb8aec745 --- gnu/packages/music.scm | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index fa68fa1782ac2e30bfb741e8fc834d9a1c93c1ca..7cfc35aa9d702291d5507d9f974d5d92e8336190 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -3055,7 +3055,7 @@ projects.") (define-public libpd (package (name "libpd") - (version "0.14.1") + (version "0.15.0") (source (origin (method git-fetch) (uri (git-reference @@ -3065,23 +3065,24 @@ projects.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1bc1bqwviqddhh44cp2y2v2i6dnj92hwx8ld7bwcxgyp2zmlhiaz")))) + "0r7dic18csr9651lzrvmdvx4wvzhbzqc5x8six7v78cnla5pfnng")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; no tests - #:make-flags '("CC=gcc") - #:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (invoke "make" "install" - (string-append "prefix=" out) - ;; XXX: Fix the last 2 lines of 'install' target. - "LIBPD_IMPLIB=NO" - "LIBPD_DEF=NO"))))))) - (home-page "http://libpd.cc/") + (list #:tests? #f ; no tests + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "make" "install" + (string-append "prefix=" out) + ;; XXX: Fix the last 2 lines of 'install' target. + "LIBPD_IMPLIB=NO" + "LIBPD_DEF=NO"))))))) + (home-page "https://libpd.cc/") (synopsis "Pure Data as an embeddable audio synthesis library") (description "Libpd provides Pure Data as an embeddable audio synthesis library. Its