2013-01-18 11:02:26 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2013-01-19 01:35:23 +01:00
|
|
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
2013-01-18 11:02:26 +01:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages oggvorbis)
|
2013-01-31 22:47:25 +01:00
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
#:use-module (gnu packages compression)
|
2013-01-30 23:46:39 +01:00
|
|
|
#:use-module (gnu packages curl)
|
2013-01-31 22:47:25 +01:00
|
|
|
#:use-module (gnu packages libpng)
|
2013-01-30 23:32:13 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-01-31 22:47:25 +01:00
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module ((guix licenses)
|
|
|
|
#:renamer (symbol-prefix-proc 'license:))
|
2013-01-18 11:02:26 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public libogg
|
|
|
|
(package
|
|
|
|
(name "libogg")
|
|
|
|
(version "1.3.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/ogg/libogg-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jy79ffkl34vycnwfsj4svqsdg1lwy2l1rr49y8r4d44kh12a5r3"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(synopsis "libogg, a library for manipulating the ogg multimedia format")
|
|
|
|
(description
|
|
|
|
"The libogg library allows to manipulate the ogg multimedia container
|
|
|
|
format, which encapsulates raw compressed data and allows the interleaving of
|
|
|
|
audio and video data. In addition to encapsulation and interleaving of
|
|
|
|
multiple data streams, ogg provides packet framing, error detection, and
|
|
|
|
periodic timestamps for seeking.")
|
2013-01-31 22:47:25 +01:00
|
|
|
(license (license:bsd-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))
|
2013-01-18 11:02:26 +01:00
|
|
|
(home-page "http://xiph.org/ogg/")))
|
|
|
|
|
|
|
|
(define-public libvorbis
|
|
|
|
(package
|
|
|
|
(name "libvorbis")
|
|
|
|
(version "1.3.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/vorbis/libvorbis-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1gby6hapz9njx4l9g0pndyk4q83z5fgrgc30mfwfgx7bllspsk43"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("libogg" ,libogg)))
|
|
|
|
(arguments `(#:configure-flags '("LDFLAGS=-lm")))
|
|
|
|
(synopsis "libvorbis, a library implementing the vorbis audio format")
|
|
|
|
(description
|
|
|
|
"The libvorbis library implements the ogg vorbis audio format,
|
|
|
|
a fully open, non-proprietary, patent-and-royalty-free, general-purpose
|
|
|
|
compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit,
|
|
|
|
polyphonic) audio and music at fixed and variable bitrates from 16 to
|
|
|
|
128 kbps/channel.")
|
2013-01-31 22:47:25 +01:00
|
|
|
(license (license:bsd-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))
|
2013-01-18 11:02:26 +01:00
|
|
|
(home-page "http://xiph.org/vorbis/")))
|
|
|
|
|
2013-01-19 01:35:23 +01:00
|
|
|
(define-public speex
|
|
|
|
(package
|
|
|
|
(name "speex")
|
|
|
|
(version "1.2rc1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/speex/speex-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"19mpkhbz3s08snvndn0h1dk2j139max6b0rr86nnsjmxazf30brl"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("libogg" ,libogg)))
|
|
|
|
(home-page "https://gnu.org/software/speex")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
(synopsis "Library for patent-free audio compression format")
|
2013-01-19 01:35:23 +01:00
|
|
|
(description
|
|
|
|
"GNU Speex is a patent-free voice codec. It is designed to
|
|
|
|
compress voice at bitrates in the 2--45 kbps range. Possible
|
|
|
|
applications include VoIP, internet audio streaming, archiving of speech
|
|
|
|
data (e.g., voice mail), and audio books.")
|
|
|
|
;; 'src/getopt.c' is under LGPLv2+
|
2013-01-31 22:47:25 +01:00
|
|
|
(license (license:bsd-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))))
|
2013-01-19 01:35:23 +01:00
|
|
|
|
2013-01-30 23:32:13 +01:00
|
|
|
(define-public ao
|
|
|
|
(package
|
|
|
|
(name "ao")
|
|
|
|
(version "1.1.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/ao/libao-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1m0v2y6bhr4iwsgdkc7b3y0qgpvpv1ifbxsy8n8ahsvjn6wmppi9"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
;; FIXME: Add further backends, see the summary printed after configure.
|
|
|
|
(inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(synopsis
|
|
|
|
"libao, a cross platform audio library")
|
|
|
|
(description
|
|
|
|
"Libao is a cross-platform audio library that allows programs to
|
|
|
|
output audio using a simple API on a wide variety of platforms.
|
|
|
|
It currently supports:
|
|
|
|
Null output (handy for testing without a sound device),
|
|
|
|
WAV files,
|
|
|
|
AU files,
|
|
|
|
RAW files,
|
|
|
|
OSS (Open Sound System, used on Linux and FreeBSD),
|
|
|
|
ALSA (Advanced Linux Sound Architecture),
|
|
|
|
aRts (Analog RealTime Synth, used by KDE),
|
|
|
|
PulseAudio (next generation GNOME sound server),
|
|
|
|
esd (EsounD or Enlightened Sound Daemon),
|
|
|
|
Mac OS X,
|
|
|
|
Windows (98 and later),
|
|
|
|
AIX,
|
|
|
|
Sun/NetBSD/OpenBSD,
|
|
|
|
IRIX,
|
|
|
|
NAS (Network Audio Server),
|
|
|
|
RoarAudio (Modern, multi-OS, networked Sound System),
|
|
|
|
OpenBSD's sndio.")
|
2013-01-31 22:47:25 +01:00
|
|
|
(license license:gpl2+)
|
2013-01-30 23:32:13 +01:00
|
|
|
(home-page "http://www.xiph.org/ao/")))
|
|
|
|
|
2013-01-31 22:18:47 +01:00
|
|
|
(define-public flac
|
|
|
|
(package
|
|
|
|
(name "flac")
|
|
|
|
(version "1.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/flac/flac-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1pry5lgzfg57pga1zbazzdd55fkgk3v5qy4axvrbny5lrr5s8dcn"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f
|
|
|
|
#:patches (list (assoc-ref %build-inputs
|
|
|
|
"patch/memcmp"))))
|
|
|
|
;; FIXME: configure also looks for xmms, input could be added once it exists
|
|
|
|
(inputs `(("libogg" ,libogg)
|
|
|
|
("patch/memcmp"
|
|
|
|
,(search-patch "flac-fix-memcmp-not-declared.patch"))))
|
|
|
|
(synopsis "flac free lossless audio codec")
|
|
|
|
(description
|
|
|
|
"FLAC stands for Free Lossless Audio Codec, an audio format that is lossless,
|
|
|
|
meaning that audio is compressed in FLAC without any loss in quality.")
|
2013-01-31 22:47:25 +01:00
|
|
|
(license (license:bsd-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution.")) ; and LGPL and GPL
|
2013-01-31 22:18:47 +01:00
|
|
|
(home-page "http://xiph.org/flac/")))
|
|
|
|
|
2013-01-31 22:47:25 +01:00
|
|
|
(define-public libkate
|
|
|
|
(package
|
|
|
|
(name "libkate")
|
|
|
|
(version "0.4.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://libkate.googlecode.com/files/libkate-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0s3vr2nxfxlf1k75iqpp4l78yf4gil3f0v778kvlngbchvaq23n4"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
;; FIXME: Add optional inputs doxygen (for documentation) and liboggz
|
|
|
|
(inputs `(("bison" ,bison)
|
|
|
|
("libogg" ,libogg)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python" ,python)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(synopsis "kate, a karaoke and text codec for embedding in ogg")
|
|
|
|
(description
|
|
|
|
"Kate is an overlay codec, originally designed for karaoke and text,
|
|
|
|
that can be multiplixed in Ogg. Text and images can be carried by a Kate
|
|
|
|
stream, and animated. Most of the time, this would be multiplexed with
|
|
|
|
audio/video to carry subtitles, song lyrics (with or without karaoke data),
|
|
|
|
etc., but doesn't have to be.
|
|
|
|
|
|
|
|
Series of curves (splines, segments, etc.) may be attached to various
|
|
|
|
properties (text position, font size, etc.) to create animated overlays.
|
|
|
|
This allows scrolling or fading text to be defined. This can even be used
|
|
|
|
to draw arbitrary shapes, so hand drawing can also be represented by a
|
|
|
|
Kate stream.")
|
|
|
|
(license license:bsd-3)
|
|
|
|
(home-page "http://code.google.com/p/libkate/")))
|
|
|
|
|
2013-01-18 11:02:26 +01:00
|
|
|
(define-public vorbis-tools
|
|
|
|
(package
|
|
|
|
(name "vorbis-tools")
|
|
|
|
(version "1.4.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://downloads.xiph.org/releases/vorbis/vorbis-tools-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3"))))
|
|
|
|
(build-system gnu-build-system)
|
2013-01-30 23:46:39 +01:00
|
|
|
(inputs `(("ao" ,ao)
|
|
|
|
("curl" ,curl)
|
2013-01-31 22:47:25 +01:00
|
|
|
("flac" ,flac)
|
|
|
|
("libkate" ,libkate)
|
2013-01-30 23:46:39 +01:00
|
|
|
("libogg" ,libogg)
|
2013-01-19 01:35:23 +01:00
|
|
|
("libvorbis" ,libvorbis)
|
2013-01-30 23:46:39 +01:00
|
|
|
("pkg-config" ,pkg-config)
|
2013-01-19 01:35:23 +01:00
|
|
|
("speex" ,speex)))
|
2013-01-18 11:02:26 +01:00
|
|
|
(synopsis "ogg vorbis tools")
|
|
|
|
(description
|
|
|
|
"Ogg vorbis is a non-proprietary, patent-and-royalty-free,
|
|
|
|
general-purpose compressed audio format.
|
|
|
|
|
|
|
|
The package vorbis-tools contains
|
|
|
|
ogg123, an ogg vorbis command line audio player;
|
|
|
|
oggenc, the ogg vorbis encoder;
|
|
|
|
oggdec, a simple, portable command line decoder (to wav and raw);
|
|
|
|
ogginfo, to obtain information (tags, bitrate, length, etc.) about
|
|
|
|
an ogg vorbis file.")
|
2013-01-31 22:47:25 +01:00
|
|
|
(license license:gpl2)
|
2013-01-18 11:02:26 +01:00
|
|
|
(home-page "http://xiph.org/vorbis/")))
|