gnu: libtheora: Do not build static libraries.
[jackhill/guix/guix.git] / gnu / packages / xiph.scm
CommitLineData
6a06172b 1;;; GNU Guix --- Functional package management for GNU
707d3e24 2;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
1f5ec939 3;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
15e82fb2 4;;; Copyright © 2013 David Thompson <dthompson2@worcester.edu>
a7f904fd 5;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
c9a010db 6;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
a7aa4e2a 7;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
c531fad7 8;;; Copyright © 2015, 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
c2734ff8 9;;; Copyright © 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
7824fbf8 10;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
ce08d54c 11;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
6a06172b
AE
12;;;
13;;; This file is part of GNU Guix.
14;;;
15;;; GNU Guix is free software; you can redistribute it and/or modify it
16;;; under the terms of the GNU General Public License as published by
17;;; the Free Software Foundation; either version 3 of the License, or (at
18;;; your option) any later version.
19;;;
20;;; GNU Guix is distributed in the hope that it will be useful, but
21;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23;;; GNU General Public License for more details.
24;;;
25;;; You should have received a copy of the GNU General Public License
26;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
27
54ff0b7d 28(define-module (gnu packages xiph)
dc2e4b0e 29 #:use-module (gnu packages)
c2734ff8 30 #:use-module (gnu packages autotools)
dc2e4b0e
AE
31 #:use-module (gnu packages bison)
32 #:use-module (gnu packages compression)
1f73d3b4 33 #:use-module (gnu packages curl)
99828fa7 34 #:use-module (gnu packages documentation)
e55354b8 35 #:use-module (gnu packages image)
76e38f0d 36 #:use-module (gnu packages pkg-config)
dc2e4b0e 37 #:use-module (gnu packages python)
ba04571a 38 #:use-module (gnu packages linux)
5ccca004 39 #:use-module (gnu packages pulseaudio)
cc2b77df 40 #:use-module (gnu packages tls)
6ef1c223 41 #:use-module (gnu packages xml)
b5b73a82 42 #:use-module ((guix licenses) #:prefix license:)
6a06172b
AE
43 #:use-module (guix packages)
44 #:use-module (guix download)
c2734ff8 45 #:use-module (guix git-download)
cfc8261c
LC
46 #:use-module (guix build-system gnu)
47 #:export (libogg
48 libvorbis
15e82fb2 49 libtheora
cfc8261c 50 speex
01229cbe 51 speexdsp
cfc8261c
LC
52 ao
53 flac
54 libkate
a7f904fd 55 vorbis-tools
a886404f 56 opus
a7aa4e2a 57 opusfile
a886404f 58 opus-tools))
6a06172b 59
cfc8261c 60(define libogg
6a06172b
AE
61 (package
62 (name "libogg")
3572b390 63 (version "1.3.4")
6a06172b
AE
64 (source (origin
65 (method url-fetch)
a89f731b 66 (uri (string-append "https://downloads.xiph.org/releases/ogg/libogg-"
6a06172b
AE
67 version ".tar.xz"))
68 (sha256
69 (base32
3572b390 70 "1zlk33vxvxr0l9lhkbhkdwvylw96d2n0fnd3d8dl031hph9bqqy1"))))
6a06172b 71 (build-system gnu-build-system)
542432e8
MB
72 (arguments
73 '(#:configure-flags '("--disable-static")))
35b9e423 74 (synopsis "Library for manipulating the ogg multimedia format")
6a06172b
AE
75 (description
76 "The libogg library allows to manipulate the ogg multimedia container
77format, which encapsulates raw compressed data and allows the interleaving of
35b9e423 78audio and video data. In addition to encapsulation and interleaving of
6a06172b
AE
79multiple data streams, ogg provides packet framing, error detection, and
80periodic timestamps for seeking.")
166191b3 81 (license (license:non-copyleft "file://COPYING"
dc2e4b0e 82 "See COPYING in the distribution."))
2e33e6b1 83 (home-page "https://xiph.org/ogg/")))
6a06172b 84
cfc8261c 85(define libvorbis
6a06172b
AE
86 (package
87 (name "libvorbis")
96c7fde7 88 (version "1.3.6")
6a06172b
AE
89 (source (origin
90 (method url-fetch)
a89f731b 91 (uri (string-append "https://downloads.xiph.org/releases/vorbis/"
35b9e423 92 "libvorbis-" version ".tar.xz"))
6a06172b
AE
93 (sha256
94 (base32
96c7fde7 95 "05dlzjkdpv46zb837wysxqyn8l636x3dw8v8ymlrwz2fg1dbn05g"))))
6a06172b 96 (build-system gnu-build-system)
bad312e3 97 (propagated-inputs `(("libogg" ,libogg)))
b134c7ba
MB
98 (arguments `(#:configure-flags '("LDFLAGS=-lm"
99 "--disable-static")
f0cfe3c4 100 #:parallel-tests? #f))
35b9e423 101 (synopsis "Library implementing the vorbis audio format")
6a06172b
AE
102 (description
103 "The libvorbis library implements the ogg vorbis audio format,
104a fully open, non-proprietary, patent-and-royalty-free, general-purpose
105compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit,
106polyphonic) audio and music at fixed and variable bitrates from 16 to
107128 kbps/channel.")
166191b3 108 (license (license:non-copyleft "file://COPYING"
dc2e4b0e 109 "See COPYING in the distribution."))
2e33e6b1 110 (home-page "https://xiph.org/vorbis/")))
6a06172b 111
15e82fb2
DT
112(define libtheora
113 (package
114 (name "libtheora")
115 (version "1.1.1")
116 (source (origin
117 (method url-fetch)
a89f731b 118 (uri (string-append "https://downloads.xiph.org/releases/theora/"
35b9e423 119 "libtheora-" version ".tar.xz"))
15e82fb2
DT
120 (sha256
121 (base32
46acd054 122 "0q8wark9ribij57dciym5vdikg2464p8q2mgqvfb78ksjh4s8vgk"))
fc1adab1 123 (patches (search-patches "libtheora-config-guess.patch"))))
15e82fb2 124 (build-system gnu-build-system)
5c1f0272
MB
125 (arguments
126 '(#:configure-flags '("--disable-static")))
15e82fb2
DT
127 (inputs `(("libvorbis" ,libvorbis)))
128 ;; The .pc files refer to libogg.
129 (propagated-inputs `(("libogg" ,libogg)))
130 (synopsis "Library implementing the Theora video format")
131 (description
132 "The libtheora library implements the ogg theora video format,
133a fully open, non-proprietary, patent-and-royalty-free, general-purpose
134compressed video format.")
135 (license license:bsd-3)
2e33e6b1 136 (home-page "https://xiph.org/theora/")))
15e82fb2 137
cfc8261c 138(define speex
1f5ec939
NK
139 (package
140 (name "speex")
8efd10cd 141 (version "1.2.0")
1f5ec939
NK
142 (source
143 (origin
144 (method url-fetch)
a89f731b 145 (uri (string-append "https://downloads.xiph.org/releases/speex/speex-"
1f5ec939
NK
146 version ".tar.gz"))
147 (sha256
148 (base32
8efd10cd 149 "150047wnllz4r94whb9r73l5qf0z5z3rlhy98bawfbblmkq8mbpa"))))
1f5ec939 150 (build-system gnu-build-system)
29256cbe
MB
151 (arguments
152 '(#:configure-flags '("--disable-static")))
b79813a1
SB
153 (native-inputs
154 `(("pkg-config" ,pkg-config)))
155 (inputs
156 `(("libogg" ,libogg)
157 ("speexdsp" ,speexdsp)))
1f5ec939 158 (home-page "https://gnu.org/software/speex")
f50d2669 159 (synopsis "Library for patent-free audio compression format")
1f5ec939 160 (description
79c311b8
LC
161 "GNU Speex is a patent-free audio compression codec specially designed
162for speech. It is well-adapted to internet applications, such as VoIP. It
a22dc0c4
LC
163features compression of different bands in the same bitstream, intensity
164stereo encoding, and voice activity detection.")
1f5ec939 165 ;; 'src/getopt.c' is under LGPLv2+
166191b3 166 (license (license:non-copyleft "file://COPYING"
dc2e4b0e 167 "See COPYING in the distribution."))))
1f5ec939 168
01229cbe
MB
169(define speexdsp
170 (package
171 (name "speexdsp")
4e8284f0 172 (version "1.2.0")
01229cbe
MB
173 (source (origin
174 (method url-fetch)
a89f731b 175 (uri (string-append "https://downloads.xiph.org/releases/speex/"
01229cbe
MB
176 "speexdsp-" version ".tar.gz"))
177 (sha256
178 (base32
4e8284f0 179 "0wa7sqpk3x61zz99m7lwkgr6yv62ml6lfgs5xja65vlvdzy44838"))))
01229cbe 180 (build-system gnu-build-system)
f71ce282
EF
181 (arguments
182 `(#:configure-flags '(,@(if (string=? "aarch64-linux"
183 (%current-system))
184 '("--enable-neon=no") ; neon defaults to armv7-a
185 '()))))
01229cbe
MB
186 (home-page "https://speex.org/")
187 (synopsis "Speex processing library")
188 (description
189 "SpeexDSP is a @dfn{DSP} (Digital Signal Processing) library based on
190work from the @code{speex} codec.")
191 (license (license:non-copyleft "file://COPYING"
192 "See COPYING in the distribution."))))
193
cfc8261c 194(define ao
76e38f0d
AE
195 (package
196 (name "ao")
c2734ff8
MB
197 ;; We need a few commits on top of 1.2.2 to fix CVE-2017-11548.
198 (version "1.2.2-5-g20dc8ed")
199 (source (origin
200 (method git-fetch)
201 (uri (git-reference
202 (url "https://git.xiph.org/libao.git")
203 (commit version)))
204 (file-name (git-file-name name version))
205 (sha256
206 (base32
207 "1d1b3g2a7jd43c32242yq6nfysqsmp7rjslhvbrmpgk119l5fnbj"))))
76e38f0d
AE
208 (build-system gnu-build-system)
209 ;; FIXME: Add further backends, see the summary printed after configure.
5ccca004
LC
210 ;; XXX: Should back-ends be pushed to different outputs? For instance,
211 ;; "out" would include only the ALSA back-end, while "pulse" would
54ff0b7d 212 ;; contain 'lib/ao/plugins-4/libpulse.*'.
d4fe27fe
ML
213 (inputs
214 `(("alsa-lib" ,alsa-lib)
215 ("pulseaudio" ,pulseaudio)))
216 (native-inputs
c2734ff8
MB
217 `(("pkg-config" ,pkg-config)
218 ("autoconf" ,autoconf)
219 ("automake" ,automake)
220 ("libtool" ,libtool)))
ba04571a 221 (synopsis "Cross platform audio library")
76e38f0d
AE
222 (description
223 "Libao is a cross-platform audio library that allows programs to
224output audio using a simple API on a wide variety of platforms.
225It currently supports:
2df092a9 226@enumerate
55f4b4e0
JD
227@item Null output (handy for testing without a sound device),
228@item WAV files,
229@item AU files,
230@item RAW files,
231@item OSS (Open Sound System, used on Linux and FreeBSD),
232@item ALSA (Advanced Linux Sound Architecture),
233@item aRts (Analog RealTime Synth, used by KDE),
234@item PulseAudio (next generation GNOME sound server),
235@item esd (EsounD or Enlightened Sound Daemon),
236@item Mac OS X,
237@item Windows (98 and later),
238@item AIX,
239@item Sun/NetBSD/OpenBSD,
240@item IRIX,
241@item NAS (Network Audio Server),
242@item RoarAudio (Modern, multi-OS, networked Sound System),
243@item OpenBSD's sndio.
2df092a9 244@end enumerate
55f4b4e0 245")
dc2e4b0e 246 (license license:gpl2+)
c7adcb7c 247 (properties '((cpe-name . "libao")))
2e33e6b1 248 (home-page "https://www.xiph.org/ao/")))
76e38f0d 249
cfc8261c 250(define flac
9ae7865e
AE
251 (package
252 (name "flac")
4668464f 253 (version "1.3.3")
9ae7865e
AE
254 (source (origin
255 (method url-fetch)
a89f731b 256 (uri (string-append "https://downloads.xiph.org/releases/flac/flac-"
399fdcf7 257 version ".tar.xz"))
9ae7865e
AE
258 (sha256
259 (base32
4668464f 260 "0j0p9sf56a2fm2hkjnf7x3py5ir49jyavg4q5zdyd7bcf6yq4gi1"))))
9ae7865e
AE
261 (build-system gnu-build-system)
262 (arguments
9b1bf330 263 `(#:parallel-tests? #f))
9ae7865e 264 ;; FIXME: configure also looks for xmms, input could be added once it exists
d529b91b 265 (propagated-inputs `(("libogg" ,libogg))) ; required by flac.pc
35b9e423 266 (synopsis "Free lossless audio codec")
9ae7865e
AE
267 (description
268"FLAC stands for Free Lossless Audio Codec, an audio format that is lossless,
269meaning that audio is compressed in FLAC without any loss in quality.")
166191b3 270 (license (license:non-copyleft "file://COPYING"
dc2e4b0e 271 "See COPYING in the distribution.")) ; and LGPL and GPL
2e33e6b1 272 (home-page "https://xiph.org/flac/")))
9ae7865e 273
cfc8261c 274(define libkate
dc2e4b0e
AE
275 (package
276 (name "libkate")
277 (version "0.4.1")
278 (source (origin
279 (method url-fetch)
a89f731b 280 (uri (string-append "https://downloads.xiph.org/releases/kate/"
7acc2a3e 281 "libkate-" version ".tar.gz"))
dc2e4b0e
AE
282 (sha256
283 (base32
284 "0s3vr2nxfxlf1k75iqpp4l78yf4gil3f0v778kvlngbchvaq23n4"))))
285 (build-system gnu-build-system)
707d3e24
AE
286 (native-inputs `(("doxygen" ,doxygen)
287 ("pkg-config" ,pkg-config)))
288 ;; FIXME: Add optional input liboggz
dc2e4b0e
AE
289 (inputs `(("bison" ,bison)
290 ("libogg" ,libogg)
291 ("libpng" ,libpng)
7acc2a3e 292 ("python" ,python-wrapper)
dc2e4b0e 293 ("zlib" ,zlib)))
35b9e423 294 (synopsis "Karaoke and text codec for embedding in ogg")
dc2e4b0e
AE
295 (description
296 "Kate is an overlay codec, originally designed for karaoke and text,
35b9e423
EB
297that can be multiplixed in Ogg. Text and images can be carried by a Kate
298stream, and animated. Most of the time, this would be multiplexed with
dc2e4b0e
AE
299audio/video to carry subtitles, song lyrics (with or without karaoke data),
300etc., but doesn't have to be.
301
302Series of curves (splines, segments, etc.) may be attached to various
303properties (text position, font size, etc.) to create animated overlays.
35b9e423 304This allows scrolling or fading text to be defined. This can even be used
dc2e4b0e
AE
305to draw arbitrary shapes, so hand drawing can also be represented by a
306Kate stream.")
307 (license license:bsd-3)
7acc2a3e 308 (home-page "https://wiki.xiph.org/OggKate")))
dc2e4b0e 309
cfc8261c 310(define vorbis-tools
6a06172b
AE
311 (package
312 (name "vorbis-tools")
313 (version "1.4.0")
314 (source (origin
315 (method url-fetch)
a89f731b 316 (uri (string-append "https://downloads.xiph.org/releases/vorbis/"
35b9e423 317 "vorbis-tools-" version ".tar.gz"))
6a06172b
AE
318 (sha256
319 (base32
ef0f0d5f 320 "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3"))
b3d20b82
EF
321 (patches (search-patches
322 "vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch"
323 "vorbis-tools-CVE-2014-9640.patch"
324 "vorbis-tools-CVE-2015-6749.patch"))))
6a06172b 325 (build-system gnu-build-system)
1f73d3b4
AE
326 (inputs `(("ao" ,ao)
327 ("curl" ,curl)
dc2e4b0e
AE
328 ("flac" ,flac)
329 ("libkate" ,libkate)
1f73d3b4 330 ("libogg" ,libogg)
1f5ec939
NK
331 ("libvorbis" ,libvorbis)
332 ("speex" ,speex)))
41eb1198 333 (native-inputs `(("pkg-config" ,pkg-config)))
35b9e423 334 (synopsis "Ogg vorbis tools")
6a06172b
AE
335 (description
336 "Ogg vorbis is a non-proprietary, patent-and-royalty-free,
337general-purpose compressed audio format.
338
339The package vorbis-tools contains
340ogg123, an ogg vorbis command line audio player;
341oggenc, the ogg vorbis encoder;
342oggdec, a simple, portable command line decoder (to wav and raw);
343ogginfo, to obtain information (tags, bitrate, length, etc.) about
344 an ogg vorbis file.")
dc2e4b0e 345 (license license:gpl2)
2e33e6b1 346 (home-page "https://xiph.org/vorbis/")))
a7f904fd
SHT
347
348(define opus
349 (package
350 (name "opus")
57e839a2 351 (version "1.3.1")
a7f904fd
SHT
352 (source (origin
353 (method url-fetch)
fce8285e
LF
354 (uri (string-append "https://archive.mozilla.org/pub/opus/opus-"
355 version ".tar.gz"))
a7f904fd
SHT
356 (sha256
357 (base32
57e839a2 358 "17gz8kxs4i7icsc1gj713gadiapyklynlwqlf0ai98dj4lg8xdb5"))))
a7f904fd 359 (build-system gnu-build-system)
e500b9d9
MB
360 (arguments
361 '(#:configure-flags '("--disable-static")))
35b9e423 362 (synopsis "Versatile audio codec")
a7f904fd 363 (description
35b9e423 364 "Opus is a totally open, royalty-free, highly versatile audio codec. Opus
a7f904fd 365is unmatched for interactive speech and music transmission over the Internet,
35b9e423 366but is also intended for storage and streaming applications. It is
a7f904fd
SHT
367standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which
368incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
369 (license license:bsd-3)
a8bcc5ff 370 (home-page "https://www.opus-codec.org")))
a886404f
JD
371
372(define opus-tools
373 (package
374 (name "opus-tools")
d0ff383e 375 (version "0.2")
a886404f
JD
376 (source (origin
377 (method url-fetch)
378 (uri (string-append
a89f731b 379 "https://downloads.xiph.org/releases/opus/opus-tools-"
a886404f
JD
380 version ".tar.gz"))
381 (sha256
e881752c 382 (base32
d0ff383e 383 "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl"))))
a886404f
JD
384 (build-system gnu-build-system)
385 (arguments
386 ;; The package developers misuse pkg-config such that it doesn't work
e881752c 387 ;; when cross compiling. Therefore we avoid it completly and set the
a886404f
JD
388 ;; necessary flags ourselves.
389 `(#:configure-flags (list (string-append "CFLAGS=-I"
390 (assoc-ref %build-inputs "libogg")
391 "/include -I"
392 (assoc-ref %build-inputs "opus")
393 "/include/opus"))))
d0ff383e
LF
394 (native-inputs
395 `(("pkg-config" ,pkg-config)))
396 (inputs
397 `(("libopusenc" ,libopusenc)
398 ("opusfile" ,opusfile)
399 ("flac" ,flac)))
e881752c
AK
400 (synopsis
401 "Command line utilities to encode, inspect, and decode .opus files")
a886404f
JD
402 (description "Opus is a royalty-free, highly versatile audio codec.
403Opus-tools provide command line utilities for creating, inspecting and
e881752c 404decoding .opus files.")
a886404f 405 (license license:bsd-3)
99d8b079 406 (home-page "https://www.opus-codec.org")))
6ef1c223 407
a7aa4e2a
PW
408(define opusfile
409 (package
410 (name "opusfile")
4eb16196 411 (version "0.11")
a7aa4e2a
PW
412 (source (origin
413 (method url-fetch)
414 (uri (string-append
a89f731b 415 "https://downloads.xiph.org/releases/opus/opusfile-" version
a7aa4e2a
PW
416 ".tar.gz"))
417 (sha256
418 (base32
4eb16196 419 "1gq3aszzl5glgbajw5p1f5a1kdyf23w5vjdmwwrk246syin9pkkl"))))
a7aa4e2a 420 (build-system gnu-build-system)
844b3272 421 ;; Required by opusfile.pc and opusurl.pc.
a7aa4e2a 422 (propagated-inputs
844b3272
LF
423 `(("libogg" ,libogg)
424 ("openssl" ,openssl)
425 ("opus" ,opus)))
a7aa4e2a
PW
426 (native-inputs
427 `(("pkg-config" ,pkg-config)))
a7aa4e2a
PW
428 (synopsis "Versatile audio codec")
429 (description
430 "The opusfile library provides seeking, decode, and playback of Opus
431streams in the Ogg container (.opus files) including over http(s) on posix and
432windows systems.")
433 (license license:bsd-3)
2e33e6b1 434 (home-page "https://www.opus-codec.org")))
a7aa4e2a 435
ce08d54c
LF
436(define-public libopusenc
437 (package
438 (name "libopusenc")
439 (version "0.2.1")
440 (source (origin
441 (method url-fetch)
442 (uri (string-append "https://archive.mozilla.org/pub/opus/"
443 "libopusenc-" version ".tar.gz"))
444 (sha256
445 (base32
446 "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642"))))
447 (build-system gnu-build-system)
448 (native-inputs
449 `(("pkg-config" ,pkg-config)))
450 (propagated-inputs
451 `(("opus" ,opus)))
452 (synopsis "Library for encoding Opus audio files and streams ")
453 (description "The libopusenc libraries provide a high-level API for
454encoding Opus files and streams.")
455 (home-page "https://www.opus-codec.org/")
456 (license license:bsd-3)))
457
6ef1c223
DT
458(define-public icecast
459 (package
460 (name "icecast")
361dd8a5 461 (version "2.4.4")
6ef1c223
DT
462 (source (origin
463 (method url-fetch)
464 (uri (string-append
a89f731b 465 "https://downloads.xiph.org/releases/icecast/icecast-"
6ef1c223
DT
466 version ".tar.gz"))
467 (sha256
468 (base32
361dd8a5 469 "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9"))))
6ef1c223
DT
470 (build-system gnu-build-system)
471 (native-inputs
472 `(("pkg-config" ,pkg-config)))
473 (inputs
474 `(("libxslt" ,libxslt)
475 ("libxml2" ,libxml2)
476 ("openssl" ,openssl)
477 ("curl" ,curl)
478 ("libogg" ,libogg)
479 ("libvorbis" ,libvorbis)
480 ("libtheora" ,libtheora)
481 ("speex" ,speex)))
482 (synopsis "Streaming media server")
483 (description "Icecast is a streaming media server which currently supports
484Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams. It can be used to
485create an Internet radio station or a privately running jukebox and many
486things in between.")
2e33e6b1 487 (home-page "https://icecast.org/")
6ef1c223 488 (license license:gpl2)))
9d44ab95
SB
489
490(define-public libshout
491 (package
492 (name "libshout")
e1746995 493 (version "2.4.2")
9d44ab95
SB
494 (source (origin
495 (method url-fetch)
496 (uri (string-append
a89f731b 497 "https://downloads.xiph.org/releases/libshout/"
7824fbf8 498 "libshout-" version ".tar.gz"))
9d44ab95
SB
499 (sha256
500 (base32
e1746995 501 "0qgwarqp2p6jy3zadds6dzj8z1jfb2mbwc3lsdlidf527h0a86ym"))))
9d44ab95
SB
502 (build-system gnu-build-system)
503 (native-inputs
504 `(("pkg-config" ,pkg-config)))
505 (propagated-inputs
506 ;; shout.pc refers to all these.
507 `(("libtheora" ,libtheora)
508 ("libvorbis" ,libvorbis)
509 ("speex" ,speex)))
a89f731b 510 (home-page "https://icecast.org/")
9d44ab95
SB
511 (synopsis "Audio streaming library for icecast encoders")
512 (description
513 "Libshout is a library for communicating with and sending data to an
514icecast server. It handles the socket connection, the timing of the data,
515and prevents bad data from getting to the icecast server.")
516 (license license:gpl2+)))