Add Vorbis Tools.

svn path=/nixpkgs/trunk/; revision=10628
This commit is contained in:
Ludovic Courtès 2008-02-11 22:39:54 +00:00
parent 06ea94a471
commit 8eb419d667
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{stdenv, fetchurl, libogg, libvorbis, libao, pkgconfig, curl, glibc
, speex, flac}:
# FIXME: We'd need `libOggFLAC' too.
stdenv.mkDerivation {
name = "vorbis-tools-1.1.1";
src = fetchurl {
url = http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.1.1.tar.gz;
sha256 = "617b4aa69e600c215b34fa3fd5764bc1d9d205d9d7d9fe7812bde7ec956fcaad";
};
buildInputs = [ libogg libvorbis libao pkgconfig curl speex flac glibc ];
configureFlagsArray = [
("--with-curl=" + curl)
("--with-curl-libraries=" + curl + "/lib")
("--with-curl-includes=" + curl + "/include")
];
meta = {
description = ''A set of command-line tools to manipulate Ogg Vorbis
audio files, notably the `ogg123' player and the
`oggenc' encoder.'';
homepage = http://xiph.org/vorbis/;
license = "GPLv2";
};
}

View File

@ -5212,6 +5212,11 @@ rec {
alsa = alsaLib;
};
vorbisTools = import ../applications/audio/vorbis-tools {
inherit fetchurl stdenv libogg libvorbis libao pkgconfig curl glibc
speex flac;
};
w3m = import ../applications/networking/browsers/w3m {
inherit fetchurl stdenv ncurses openssl boehmgc gettext zlib;
graphicsSupport = false;