evolution: Remove X dependency through libcanberra
This commit is contained in:
parent
4a534407e5
commit
c2cff0e123
1 changed files with 16 additions and 0 deletions
|
@ -57,6 +57,22 @@ in genAttrs [
|
||||||
zstdSupport = true;
|
zstdSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
evolution = prev.evolution.overrideAttrs (prevAttrs: {
|
||||||
|
buildInputs = prevAttrs.buildInputs or [ ]
|
||||||
|
|> removePackages [ "libcanberra" ];
|
||||||
|
|
||||||
|
cmakeFlags = prevAttrs.cmakeFlags or [ ]
|
||||||
|
++ [ "-DENABLE_CANBERRA:BOOL=OFF" ];
|
||||||
|
});
|
||||||
|
|
||||||
|
evolution-data-server = prev.evolution-data-server.overrideAttrs (prevAttrs: {
|
||||||
|
buildInputs = prevAttrs.buildInputs or [ ]
|
||||||
|
|> removePackages [ "libcanberra" ];
|
||||||
|
|
||||||
|
cmakeFlags = prevAttrs.cmakeFlags or [ ]
|
||||||
|
|> substituteFlags { "-DENABLE_CANBERRA[:=].*" = "-DENABLE_CANBERRA:BOOL=OFF"; };
|
||||||
|
});
|
||||||
|
|
||||||
ffmpeg = prev.ffmpeg.override {
|
ffmpeg = prev.ffmpeg.override {
|
||||||
ffmpegVariant = "headless";
|
ffmpegVariant = "headless";
|
||||||
withAlsa = false;
|
withAlsa = false;
|
||||||
|
|
Loading…
Reference in a new issue