gnu: Have python paths set automatically..
[jackhill/guix/guix.git] / gnu / packages / mp3.scm
CommitLineData
d464e725
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages mp3)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (gnu packages autotools)
8cc9c0da 23 #:use-module (gnu packages compression)
d464e725 24 #:use-module (gnu packages oggvorbis)
c23e9e48
AE
25 #:use-module (gnu packages pcre)
26 #:use-module (gnu packages pkg-config)
d464e725
AE
27 #:use-module (guix packages)
28 #:use-module (guix download)
29 #:use-module (guix build-system gnu))
30
31(define-public libmad
32 (package
33 (name "libmad")
34 (version "0.15.1b")
35 (source (origin
36 (method url-fetch)
37 (uri (string-append "mirror://sourceforge/mad/libmad/"
38 version "/libmad-"
39 version ".tar.gz"))
40 (sha256
41 (base32
42 "14460zhacxhswnzb36qfpd1f2wbk10qvksvm6wyq5hpvdgnw7ymv"))))
43 (build-system gnu-build-system)
44 (arguments
45 `(#:phases
46 (alist-replace
47 'configure
48 (lambda* (#:key #:allow-other-keys #:rest args)
49 (let ((configure (assoc-ref %standard-phases 'configure)))
50 ;; remove option that is not supported by gcc any more
51 (substitute* "configure" ((" -fforce-mem") ""))
52 (apply configure args)))
53 %standard-phases)))
54 (synopsis "libmad, an MPEG audio decoder")
55 (description
56 "MAD (MPEG Audio Decoder) supports MPEG-1 and the MPEG-2 extension to
57lower sampling frequencies, as well as the de facto MPEG 2.5 format.
58All three audio layers — Layer I, Layer II, and Layer III (i.e. MP3) — are
59fully implemented.
60
61This package contains the library.")
62 (license license:gpl2+)
63 (home-page "http://www.underbit.com/products/mad/")))
64
8cc9c0da
AE
65(define-public libid3tag
66 (package
67 (name "libid3tag")
68 (version "0.15.1b")
69 (source (origin
70 (method url-fetch)
71 (uri (string-append "mirror://sourceforge/mad/libid3tag/"
72 version "/libid3tag-"
73 version ".tar.gz"))
74 (sha256
75 (base32
76 "0lb1w883dc46dajbdvnia5870brl5lvnlk7g7y58y9wpg5p4znk3"))))
77 (build-system gnu-build-system)
78 (inputs `(("zlib" ,zlib)))
79 (synopsis "libid3tag, a library for reading ID3 tags")
80 (description
81 "libid3tag is a library for reading ID3 tags, both ID3v1 and the various
82versions of ID3v2")
83 (license license:gpl2+)
84 (home-page "http://www.underbit.com/products/mad/")))
85
c23e9e48
AE
86(define-public libmp3splt
87 (package
88 (name "libmp3splt")
89 (version "0.8.1a")
90 (source (origin
91 (method url-fetch)
92 (uri (string-append "mirror://sourceforge/mp3splt/libmp3splt/"
93 version "/libmp3splt-"
94 version ".tar.gz"))
95 (sha256
96 (base32
97 "0d20r1bd4fgp9kp7w3qixjgll34czck9dgw59mx2kbhb0mhh00d8"))))
98 (build-system gnu-build-system)
99 (inputs `(("libid3tag" ,libid3tag)
100 ("libmad" ,libmad)
101 ("libogg" ,libogg)
102 ("libtool" ,libtool)
103 ("libvorbid" ,libvorbis)
104 ("pkg-config" ,pkg-config)
105 ("pcre" ,pcre)))
106 (synopsis "libmp3splt, a library for splitting mp3 and ogg vorbis files")
107 (description
108 "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
109and an end time position, without decoding. For splitting an album, one may
110select split points and filenames manually or obtain them automatically from
111CDDB (internet or a local file) or from .cue files. The tool also supports
112automatic silence split, that can be used also to adjust cddb/cue splitpoints.
113
114This package contains the library.")
115 (license license:gpl2+)
116 (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
117
118(define-public mp3splt
119 (package
120 (name "mp3splt")
121 (version "2.5.1")
122 (source (origin
123 (method url-fetch)
124 (uri (string-append "mirror://sourceforge/mp3splt/mp3splt/"
125 version "/mp3splt-"
126 version ".tar.gz"))
127 (sha256
128 (base32
129 "106dnka56prlc9nsfh300f8841am2lmkwlzgl9lkr25mgnc35wwh"))))
130 (build-system gnu-build-system)
131 (inputs `(("libmp3splt" ,libmp3splt)))
132 (synopsis "mp3splt, a utiliy for splitting mp3 and ogg vorbis files")
133 (description
134 "Mp3splt is a utility to split mp3 and ogg vorbis files selecting a begin
135and an end time position, without decoding. For splitting an album, one may
136select split points and filenames manually or obtain them automatically from
137CDDB (internet or a local file) or from .cue files. The tool also supports
138automatic silence split, that can be used also to adjust cddb/cue splitpoints.
139
140This package contains the binary.")
141 (license license:gpl2+)
142 (home-page "http://mp3splt.sourceforge.net/mp3splt_page/home.php")))
143