This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new c955797f0b gnu: Add mp3cat.
c955797f0b is described below

commit c955797f0b18571f3e0b44f4f4849367d50a1df8
Author: Isidor Zeuner <[email protected]>
AuthorDate: Wed Oct 8 22:19:10 2025 +0200

    gnu: Add mp3cat.
    
    * gnu/packages/audio.scm (mp3cat): New variable.
    
    Signed-off-by: Sughosha <[email protected]>
---
 gnu/packages/audio.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b03d2d4fe5..634ca92990 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -57,6 +57,7 @@
 ;;; Copyright © 2025 Kjartan Oli Agustsson <[email protected]>
 ;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2025 Antoine Côté <[email protected]>
+;;; Copyright © 2025 Isidor Zeuner <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5623,6 +5624,42 @@ encoder used for an MPEG Layer III (MP3) file, as well 
as scan any MPEG audio
 file (any layer) and print a lot of useful information.")
     (license license:lgpl2.1+)))
 
+(define-public mp3cat
+  (package
+    (name "mp3cat")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tomclegg/mp3cat";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0n6hjg2wgd06m561zc3ib5w2m3pwpf74njv2b2w4sqqh5md2ymfr"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #f ;upstream defines no tests
+      #:make-flags
+      #~(list (string-append "PREFIX="
+                             #$output))
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (add-before 'build 'patch-makefile
+            (lambda _args
+              (substitute* "Makefile"
+                (("cc")
+                 #$(cc-for-target))))))))
+    (home-page "http://tomclegg.net/mp3cat";)
+    (synopsis "MP3 stream copier and concatenator")
+    (description
+     "Copies a stream, skipping everything except MP3 frames with valid
+headers.  This can be used to copy and concatenate streams, even if
+they contain extra garbage.")
+    (license license:gpl2+)))
+
 (define-public shntool
   (package
     (name "shntool")

Reply via email to