aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/openal-soft
diff options
context:
space:
mode:
authorSiarhei Zirukin <ftrvxmtrx@gmail.com>2015-02-21 00:43:40 +0100
committerSiarhei Zirukin <ftrvxmtrx@gmail.com>2015-02-21 00:44:18 +0100
commit61b8aa26f217c752f502c908a4e7209cc14bcb50 (patch)
treeee2bb8c0bf5173a911e495e4eb440e35cafcae8b /pkgs/development/libraries/openal-soft
parent1aed33f68b055180d0d52ff04699b0ca0ab05257 (diff)
openal-soft 1.15.1 -> 1.16.0
Diffstat (limited to 'pkgs/development/libraries/openal-soft')
-rw-r--r--pkgs/development/libraries/openal-soft/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/openal-soft/default.nix b/pkgs/development/libraries/openal-soft/default.nix
index 48f5bfc71e52..eedc9e9ff93f 100644
--- a/pkgs/development/libraries/openal-soft/default.nix
+++ b/pkgs/development/libraries/openal-soft/default.nix
@@ -3,29 +3,32 @@
, pulseSupport ? true, pulseaudio ? null
}:
+with stdenv.lib;
+
assert alsaSupport -> alsaLib != null;
assert pulseSupport -> pulseaudio != null;
stdenv.mkDerivation rec {
- version = "1.15.1";
+ version = "1.16.0";
name = "openal-soft-${version}";
src = fetchurl {
url = "http://kcat.strangesoft.net/openal-releases/${name}.tar.bz2";
- sha256 = "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f";
+ sha256 = "0pqdykdclycfnk66v166srjrry936y39d1dz9wl92qz27wqwsg9g";
};
buildInputs = [ cmake ]
- ++ stdenv.lib.optional alsaSupport alsaLib
- ++ stdenv.lib.optional pulseSupport pulseaudio;
+ ++ optional alsaSupport alsaLib
+ ++ optional pulseSupport pulseaudio;
NIX_LDFLAGS = []
- ++ stdenv.lib.optional alsaSupport "-lasound"
- ++ stdenv.lib.optional pulseSupport "-lpulse";
+ ++ optional alsaSupport "-lasound"
+ ++ optional pulseSupport "-lpulse";
meta = {
description = "OpenAL alternative";
homepage = http://kcat.strangesoft.net/openal.html;
- license = stdenv.lib.licenses.gpl2;
+ license = licenses.lgpl2;
+ maintainers = with maintainers; [ftrvxmtrx];
};
}