scream: 3.6 -> 3.7
This commit is contained in:
parent
4f3bc6aa7f
commit
aee94b0981
|
@ -1,26 +1,29 @@
|
||||||
{ stdenv, lib, config, fetchFromGitHub, cmake, pkg-config
|
{ stdenv, lib, config, fetchFromGitHub, cmake, pkg-config
|
||||||
, alsaSupport ? stdenv.isLinux, alsa-lib
|
, alsaSupport ? stdenv.isLinux, alsa-lib
|
||||||
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio
|
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio
|
||||||
|
, jackSupport ? false, libjack2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "scream";
|
pname = "scream";
|
||||||
version = "3.6";
|
version = "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "duncanthrax";
|
owner = "duncanthrax";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "01k2zhfb781gfj3apmcjqbm5m05m6pvnh7fb5k81zwvqibai000v";
|
sha256 = "0d9abrw62cd08lcg4il415b7ap89iggbljvbl5jqv2y23il0pvyz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optional pulseSupport libpulseaudio
|
buildInputs = lib.optional pulseSupport libpulseaudio
|
||||||
|
++ lib.optional jackSupport libjack2
|
||||||
++ lib.optional alsaSupport alsa-lib;
|
++ lib.optional alsaSupport alsa-lib;
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DPULSEAUDIO_ENABLE=${if pulseSupport then "ON" else "OFF"}"
|
"-DPULSEAUDIO_ENABLE=${if pulseSupport then "ON" else "OFF"}"
|
||||||
"-DALSA_ENABLE=${if alsaSupport then "ON" else "OFF"}"
|
"-DALSA_ENABLE=${if alsaSupport then "ON" else "OFF"}"
|
||||||
|
"-DJACK_ENABLE=${if jackSupport then "ON" else "OFF"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeDir = "../Receivers/unix";
|
cmakeDir = "../Receivers/unix";
|
||||||
|
|
Loading…
Reference in a new issue