summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-25 14:56:58 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-25 18:01:59 +0100
commit086518ddf3302cd3c3ab801101b1016f4818a846 (patch)
treea1e0ed61106cc779de341d7994cd321e77dd3fca /gnu
parent0ae332d3ef463ab8a6caec991724e8c930e0bcec (diff)
gnu: Add TagLib.
* gnu/packages/mp3.scm (taglib): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mp3.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index bb0549ea642..17e50f9a4b4 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -36,7 +36,8 @@
36 #:select (alsa-lib)) 36 #:select (alsa-lib))
37 #:use-module (guix packages) 37 #:use-module (guix packages)
38 #:use-module (guix download) 38 #:use-module (guix download)
39 #:use-module (guix build-system gnu)) 39 #:use-module (guix build-system gnu)
40 #:use-module (guix build-system cmake))
40 41
41(define-public libmad 42(define-public libmad
42 (package 43 (package
@@ -131,6 +132,31 @@ a highly stable and efficient implementation.")
131 (license license:lgpl2.0+) 132 (license license:lgpl2.0+)
132 (home-page "http://id3lib.sourceforge.net/"))) 133 (home-page "http://id3lib.sourceforge.net/")))
133 134
135(define-public taglib
136 (package
137 (name "taglib")
138 (version "1.9.1")
139 (source (origin
140 (method url-fetch)
141 (uri (string-append "http://taglib.github.io/releases/taglib-"
142 version ".tar.gz"))
143 (sha256
144 (base32
145 "06n7gnbcqa3r6c9gv00y0y1r48dyyazm6yj403i7ma0r2k6p3lvj"))))
146 (build-system cmake-build-system)
147 (arguments '(#:tests? #f)) ;no 'test' target
148 (inputs `(("zlib" ,zlib)))
149 (home-page "http://developer.kde.org/~wheeler/taglib.html")
150 (synopsis "Library to access audio file meta-data")
151 (description
152 "TagLib is a C++ library for reading and editing the meta-data of several
153popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3
154files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC,
155Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.")
156
157 ;; Dual-licensed: user may choose between LGPLv2.1 or MPLv1.1.
158 (license (list license:lgpl2.1 license:mpl1.1))))
159
134(define-public mp3info 160(define-public mp3info
135 (package 161 (package
136 (name "mp3info") 162 (name "mp3info")