Merge pull request #6487 from ftrvxmtrx/openal-soft-1.16.0
openal-soft 1.15.1 -> 1.16.0
This commit is contained in:
commit
8887ad850f
|
@ -3,29 +3,32 @@
|
||||||
, pulseSupport ? true, pulseaudio ? null
|
, pulseSupport ? true, pulseaudio ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
assert alsaSupport -> alsaLib != null;
|
assert alsaSupport -> alsaLib != null;
|
||||||
assert pulseSupport -> pulseaudio != null;
|
assert pulseSupport -> pulseaudio != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.15.1";
|
version = "1.16.0";
|
||||||
name = "openal-soft-${version}";
|
name = "openal-soft-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://kcat.strangesoft.net/openal-releases/${name}.tar.bz2";
|
url = "http://kcat.strangesoft.net/openal-releases/${name}.tar.bz2";
|
||||||
sha256 = "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f";
|
sha256 = "0pqdykdclycfnk66v166srjrry936y39d1dz9wl92qz27wqwsg9g";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake ]
|
buildInputs = [ cmake ]
|
||||||
++ stdenv.lib.optional alsaSupport alsaLib
|
++ optional alsaSupport alsaLib
|
||||||
++ stdenv.lib.optional pulseSupport pulseaudio;
|
++ optional pulseSupport pulseaudio;
|
||||||
|
|
||||||
NIX_LDFLAGS = []
|
NIX_LDFLAGS = []
|
||||||
++ stdenv.lib.optional alsaSupport "-lasound"
|
++ optional alsaSupport "-lasound"
|
||||||
++ stdenv.lib.optional pulseSupport "-lpulse";
|
++ optional pulseSupport "-lpulse";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "OpenAL alternative";
|
description = "OpenAL alternative";
|
||||||
homepage = http://kcat.strangesoft.net/openal.html;
|
homepage = http://kcat.strangesoft.net/openal.html;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.lgpl2;
|
||||||
|
maintainers = with maintainers; [ftrvxmtrx];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue