diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-02-11 22:39:54 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-02-11 22:39:54 +0000 |
commit | 8eb419d667b6f123c1404b142b0b454c35413239 (patch) | |
tree | 5e835f1b5dd25fb66ace4a3dc56aeab58220fe95 /pkgs/applications/audio | |
parent | 06ea94a4712b7c13a6f440982bb580a77e2d2f0f (diff) |
Add Vorbis Tools.
svn path=/nixpkgs/trunk/; revision=10628
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/vorbis-tools/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/audio/vorbis-tools/default.nix b/pkgs/applications/audio/vorbis-tools/default.nix new file mode 100644 index 000000000000..13fe5a48cfaa --- /dev/null +++ b/pkgs/applications/audio/vorbis-tools/default.nix @@ -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"; + }; +} |