summary refs log tree commit diff
path: root/gnu/packages/mp3.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-06-09 23:57:52 +0200
committerLudovic Courtès <ludo@gnu.org>2013-06-09 23:57:52 +0200
commit0a56fadb60d703a12316febdf277471b9931bb05 (patch)
treee808137f1c4c78b7f0a33da91cd151c493bd78f5 /gnu/packages/mp3.scm
parentba04571a833e70860bb67ad9af8255b51031ea22 (diff)
downloadguix-0a56fadb60d703a12316febdf277471b9931bb05.tar.gz
gnu: Add mpg321.
* gnu/packages/mp3.scm (mpg321): New variable.
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r--gnu/packages/mp3.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index c0051ae575..73d4c267ee 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -181,3 +181,27 @@ This package contains the binary.")
    (license license:gpl2+)
    (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
 
+(define-public mpg321
+  (package
+    (name "mpg321")
+    (version "0.3.1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "mirror://sourceforge/mpg321/"
+                                 version "/mpg321-" version ".tar.gz"))
+             (sha256
+              (base32
+               "0yamsqvj15nsxxnjs9mgyslzx7krgsfk3q1hk3g6l8w9bbbj770b"))))
+    (build-system gnu-build-system)
+    (arguments '(#:configure-flags '("--disable-alsa")))
+    (inputs
+     `(("zlib" ,zlib)
+       ("libmad" ,libmad)
+       ("libid3tag" ,libid3tag)
+       ("libao" ,ao)))
+    (home-page "http://mpg321.sourceforge.net/")
+    (synopsis "Command-line MP3 player")
+    (description "mpg321 is a command-line mp3 player.  mpg321 is used for
+frontends, as an mp3 player and as an mp3 to wave file decoder (primarily for
+use with CD-recording software).")
+    (license license:gpl2)))