Subject: [PATCH] gnu: a2jmidid: Update to 12, change source and homepage
From: Andrew Wong <[email-masked]>
To: [email-masked]
Cc: Andrew Wong <[email-masked]>
Date: Tue, 22 Apr 2025 19:28:25 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/music.scm (a2jmidid): Update to 12.
[source]: Switch to new, maintained source and tarballs.
[home-page]: Switch to new homepage.

Change-Id: Ida0f3b82225b3b1395b06dbfc298fa6e8a98a205
---
 gnu/packages/music.scm | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0759c3d3c1..5d5cb9bdb5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -7715,22 +7715,13 @@ (define-public shiru-lv2
 (define-public a2jmidid
   (package
     (name "a2jmidid")
-    (version "9")
+    (version "12")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/jackaudio/a2jmidid")
-                    (commit version)))
-              (modules '((guix build utils)))
-              (snippet
-               ;; Fix build for for riscv64-linux, same as:
-               ;;   https://github.com/jackaudio/a2jmidid/pull/18
-               '(substitute* "sigsegv.c"
-                  (("!defined[(]__aarch64__[)]")
-                   "!defined(__arch64__) && !defined(__riscv)")))
+              (method url-fetch)
+              (uri (string-append "https://dl.ladish.org/a2jmidid/a2jmidid-"
+                                  version ".tar.bz2"))
               (sha256
-               (base32 "1x6rcl3f4nklnx4p5jln9a7fpj9y7agjxs9rw7cccmwnski7pnsq"))
-              (file-name (git-file-name name version))))
+               (base32 "1m05kbxkfw992pl23vfbg4s4rlhailkh04fa7bjdhr39j32q4qjk"))))
     (arguments
      (list #:tests? #f      ; No tests.
            #:phases
@@ -7756,7 +7747,7 @@ (define-public a2jmidid
     (description
      "@code{a2jmidid} is a daemon that implements automatic bridging of ALSA
 midi devices to JACK midi devices.")
-    (home-page "https://github.com/jackaudio/a2jmidid")
+    (home-page "https://a2jmidid.ladish.org/")
     (license license:gpl2)))
 
 (define-public opustags

base-commit: f7c41ab31f5023023385500f6eb9083d23dd1ccb
-- 
2.49.0