Browse Source

gnu: Add libogg, libvorbis and vorbis-tools.

* gnu/packages/oggvorbis.scm: New file.
* (MODULES): Add it.
Andreas Enge 9 years ago
2 changed files with 109 additions and 0 deletions
  1. +1
  2. +108

+ 1
- 0 View File

@ -102,6 +102,7 @@ MODULES = \
gnu/packages/ncurses.scm \
gnu/packages/nettle.scm \
gnu/packages/openssl.scm \
gnu/packages/oggvorbis.scm \
gnu/packages/perl.scm \
gnu/packages/pkg-config.scm \
gnu/packages/pth.scm \

+ 108
- 0
gnu/packages/oggvorbis.scm View File

@ -0,0 +1,108 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <>
;;; 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
;;; 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 <>.
(define-module (gnu packages oggvorbis)
#:use-module (gnu packages)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public libogg
(name "libogg")
(version "1.3.0")
(source (origin
(method url-fetch)
(uri (string-append ""
version ".tar.xz"))
(build-system gnu-build-system)
(synopsis "libogg, a library for manipulating the ogg multimedia format")
"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.")
(license (bsd-style "file://COPYING"
"See COPYING in the distribution."))
(home-page "")))
(define-public libvorbis
(name "libvorbis")
(version "1.3.3")
(source (origin
(method url-fetch)
(uri (string-append ""
version ".tar.xz"))
(build-system gnu-build-system)
(inputs `(("libogg" ,libogg)))
(arguments `(#:configure-flags '("LDFLAGS=-lm")))
(synopsis "libvorbis, a library implementing the vorbis audio format")
"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.")
(license (bsd-style "file://COPYING"
"See COPYING in the distribution."))
(home-page "")))
(define-public vorbis-tools
(name "vorbis-tools")
(version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append ""
version ".tar.gz"))
(build-system gnu-build-system)
(inputs `(("libogg" ,libogg)
("libvorbis" ,libvorbis)))
;; FIXME: Add more inputs, see the documentation:
;; All of the tools require libogg and libvorbis to be installed (along
;; with the header files). Additionally, ogg123 requires libao, libcurl,
;; and a POSIX-compatible thread library. Ogg123 can optionally compiled
;; to use libFLAC, and libspeex. Oggenc can be optionally compiled with
;; libFLAC, and libkate. The libraries libogg, libvorbis, and libao are
;; all available at
(synopsis "ogg vorbis tools")
"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.")
(license gpl2)
(home-page "")))