summary refs log tree commit diff
path: root/pkgs/servers/pulseaudio
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-12-19 14:56:37 +0000
committerLudovic Courtès <ludo@gnu.org>2008-12-19 14:56:37 +0000
commit2887933c8b0a97866bb3c02aa4ed995dda74bbd1 (patch)
treea9ac0428775db6c2c8e76b499607f23e8029caf1 /pkgs/servers/pulseaudio
parent9ba80ff346c5a206b1f20b3776a6c20a11aa5cfd (diff)
downloadnixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar.gz
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar.bz2
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar.lz
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar.xz
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.tar.zst
nixlib-2887933c8b0a97866bb3c02aa4ed995dda74bbd1.zip
Add PulseAudio, an audio server.
svn path=/nixpkgs/trunk/; revision=13659
Diffstat (limited to 'pkgs/servers/pulseaudio')
-rw-r--r--pkgs/servers/pulseaudio/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
new file mode 100644
index 000000000000..7244eac46318
--- /dev/null
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchurl, pkgconfig, gnum4, gdbm, libtool, glib, dbus, hal, avahi
+, gconf, liboil, intltool, gettext
+, libsamplerate, libsndfile, speex }:
+
+stdenv.mkDerivation rec {
+  name = "pulseaudio-0.9.13";
+
+  src = fetchurl {
+    url = "http://0pointer.de/lennart/projects/pulseaudio/${name}.tar.gz";
+    sha256 = "0lwd5rcppyvcvy9n2j074k5mydgqszfvw6fnsjlz46gkda9vgydq";
+  };
+
+  buildInputs = [
+    pkgconfig gnum4 gdbm libtool glib dbus hal avahi gconf liboil
+    libsamplerate libsndfile speex
+    intltool gettext
+  ];
+
+  configureFlags = ''
+    --disable-solaris --disable-jack --disable-bluez --disable-polkit
+  '';
+
+  meta = {
+    description = "PulseAudio, a sound server for POSIX and Win32 systems";
+
+    longDescription = ''
+      PulseAudio is a sound server for POSIX and Win32 systems.  A
+      sound server is basically a proxy for your sound applications.
+      It allows you to do advanced operations on your sound data as it
+      passes between your application and your hardware.  Things like
+      transferring the audio to a different machine, changing the
+      sample format or channel count and mixing several sounds into
+      one are easily achieved using a sound server.
+    '';
+
+    homepage = http://www.pulseaudio.org/;
+
+    # Note: Practically, the server is under the GPL due to the
+    # dependency on `libsamplerate'.  See `LICENSE' for details.
+    licenses = "LGPLv2+";
+  };
+}