summaryrefslogtreecommitdiff
path: root/gnu/packages/mp3.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-02-06 22:47:58 +0100
committerAndreas Enge <andreas@enge.fr>2013-02-06 22:47:58 +0100
commitc23e9e48b734b9d28480e76e6265bc342f78e650 (patch)
treea9849feaf5608eb724d4247cce0605835363f7a7 /gnu/packages/mp3.scm
parent431f35f05154d9e8ab6e9729f78bbbb88d28977a (diff)
downloadpatches-c23e9e48b734b9d28480e76e6265bc342f78e650.tar
patches-c23e9e48b734b9d28480e76e6265bc342f78e650.tar.gz
gnu: Add libmp3splt and mp3splt.
* gnu/packages/mp3.scm (libmp3split, mp3splt): New variables.
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r--gnu/packages/mp3.scm60
1 files changed, 60 insertions, 0 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index 7eb34a615f..313f1abf39 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -22,6 +22,8 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages oggvorbis)
+ #:use-module (gnu packages pcre)
+ #:use-module (gnu packages pkg-config)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -81,3 +83,61 @@ versions of ID3v2")
(license license:gpl2+)
(home-page "http://www.underbit.com/products/mad/")))
+(define-public libmp3splt
+ (package
+ (name "libmp3splt")
+ (version "0.8.1a")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/mp3splt/libmp3splt/"
+ version "/libmp3splt-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0d20r1bd4fgp9kp7w3qixjgll34czck9dgw59mx2kbhb0mhh00d8"))))
+ (build-system gnu-build-system)
+ (inputs `(("libid3tag" ,libid3tag)
+ ("libmad" ,libmad)
+ ("libogg" ,libogg)
+ ("libtool" ,libtool)
+ ("libvorbid" ,libvorbis)
+ ("pkg-config" ,pkg-config)
+ ("pcre" ,pcre)))
+ (synopsis "libmp3splt, a library for splitting mp3 and ogg vorbis files")
+ (description
+ "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
+and an end time position, without decoding. For splitting an album, one may
+select split points and filenames manually or obtain them automatically from
+CDDB (internet or a local file) or from .cue files. The tool also supports
+automatic silence split, that can be used also to adjust cddb/cue splitpoints.
+
+This package contains the library.")
+ (license license:gpl2+)
+ (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
+
+(define-public mp3splt
+ (package
+ (name "mp3splt")
+ (version "2.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/mp3splt/mp3splt/"
+ version "/mp3splt-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "106dnka56prlc9nsfh300f8841am2lmkwlzgl9lkr25mgnc35wwh"))))
+ (build-system gnu-build-system)
+ (inputs `(("libmp3splt" ,libmp3splt)))
+ (synopsis "mp3splt, a utiliy for splitting mp3 and ogg vorbis files")
+ (description
+ "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
+and an end time position, without decoding. For splitting an album, one may
+select split points and filenames manually or obtain them automatically from
+CDDB (internet or a local file) or from .cue files. The tool also supports
+automatic silence split, that can be used also to adjust cddb/cue splitpoints.
+
+This package contains the binary.")
+ (license license:gpl2+)
+ (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
+