Merge pull request #24851 from laMudri/thunderbird-calendar

thunderbird: add option to enable calendar
This commit is contained in:
Eelco Dolstra 2017-04-12 20:30:05 +02:00 committed by GitHub
commit 75f1a55fbe

View File

@ -7,6 +7,7 @@
, autoconf213, which, m4 , autoconf213, which, m4
, writeScript, xidel, common-updater-scripts, coreutils, gnused, gnugrep, curl , writeScript, xidel, common-updater-scripts, coreutils, gnused, gnugrep, curl
, enableGTK3 ? false, gtk3, wrapGAppsHook , enableGTK3 ? false, gtk3, wrapGAppsHook
, enableCalendar ? true
, debugBuild ? false , debugBuild ? false
, # If you want the resulting program to call itself "Thunderbird" instead , # If you want the resulting program to call itself "Thunderbird" instead
# of "Earlybird" or whatever, enable this option. However, those # of "Earlybird" or whatever, enable this option. However, those
@ -77,6 +78,7 @@ stdenv.mkDerivation rec {
"--disable-gconf" "--disable-gconf"
"--enable-default-toolkit=cairo-gtk${if enableGTK3 then "3" else "2"}" "--enable-default-toolkit=cairo-gtk${if enableGTK3 then "3" else "2"}"
] ]
++ lib.optional enableCalendar "--enable-calendar"
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
else [ "--disable-debug" "--enable-release" else [ "--disable-debug" "--enable-release"
"--disable-debug-symbols" "--disable-debug-symbols"