From 0a56fadb60d703a12316febdf277471b9931bb05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 9 Jun 2013 23:57:52 +0200 Subject: [PATCH] gnu: Add mpg321. * gnu/packages/mp3.scm (mpg321): New variable. --- gnu/packages/mp3.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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)))