goldendict: remove with statements
This commit is contained in:
parent
b4eeedc00b
commit
6ecdcc651c
@ -44,15 +44,15 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optionals withFFmpeg [ libao ffmpeg ]
|
||||
++ lib.optional withZim zstd;
|
||||
|
||||
qmakeFlags = with lib; [
|
||||
qmakeFlags = [
|
||||
"goldendict.pro"
|
||||
(optional withCC "CONFIG+=chinese_conversion_support")
|
||||
(optional (!withCC) "CONFIG+=no_chinese_conversion_support")
|
||||
(optional (!withEpwing) "CONFIG+=no_epwing_support")
|
||||
(optional (!withExtraTiff) "CONFIG+=no_extra_tiff_handler")
|
||||
(optional (!withFFmpeg) "CONFIG+=no_ffmpeg_player")
|
||||
(optional (!withMultimedia)"CONFIG+=no_qtmultimedia_player")
|
||||
(optional withZim "CONFIG+=zim_support")
|
||||
(lib.optional withCC "CONFIG+=chinese_conversion_support")
|
||||
(lib.optional (!withCC) "CONFIG+=no_chinese_conversion_support")
|
||||
(lib.optional (!withEpwing) "CONFIG+=no_epwing_support")
|
||||
(lib.optional (!withExtraTiff) "CONFIG+=no_extra_tiff_handler")
|
||||
(lib.optional (!withFFmpeg) "CONFIG+=no_ffmpeg_player")
|
||||
(lib.optional (!withMultimedia)"CONFIG+=no_qtmultimedia_player")
|
||||
(lib.optional withZim "CONFIG+=zim_support")
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user