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 | |
parent | 06ea94a4712b7c13a6f440982bb580a77e2d2f0f (diff) | |
download | nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar.gz nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar.bz2 nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar.lz nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar.xz nixlib-8eb419d667b6f123c1404b142b0b454c35413239.tar.zst nixlib-8eb419d667b6f123c1404b142b0b454c35413239.zip |
Add Vorbis Tools.
svn path=/nixpkgs/trunk/; revision=10628
-rw-r--r-- | pkgs/applications/audio/vorbis-tools/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 5 |
2 files changed, 33 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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5900d3201561..e337da8f1753 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; |