gajim: Optional support for notifications.

Actually, Gajim can use notifications through dbus if notification-daemon is
available. Otherwise it falls back to notify-python, which is why I disabled it
by default, especially because upstream support of that Python library isn't
especially awesome ;-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-05-27 10:09:24 +02:00
parent f4174f7df6
commit 2ad7c40a66
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -6,6 +6,7 @@
, enableE2E ? true , enableE2E ? true
, enableRST ? true , enableRST ? true
, enableSpelling ? true, gtkspell ? null , enableSpelling ? true, gtkspell ? null
, enableNotifications ? false
, enableLaTeX ? false, texLive ? null , enableLaTeX ? false, texLive ? null
}: }:
@ -14,6 +15,7 @@ assert enableJingle -> farstream != null && gst_plugins_bad != null
assert enableE2E -> pythonPackages.pycrypto != null; assert enableE2E -> pythonPackages.pycrypto != null;
assert enableRST -> pythonPackages.docutils != null; assert enableRST -> pythonPackages.docutils != null;
assert enableSpelling -> gtkspell != null; assert enableSpelling -> gtkspell != null;
assert enableNotifications -> pythonPackages.notify != null;
assert enableLaTeX -> texLive != null; assert enableLaTeX -> texLive != null;
with stdenv.lib; with stdenv.lib;
@ -71,6 +73,7 @@ stdenv.mkDerivation rec {
] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ] ] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
++ optional enableE2E pythonPackages.pycrypto ++ optional enableE2E pythonPackages.pycrypto
++ optional enableRST pythonPackages.docutils ++ optional enableRST pythonPackages.docutils
++ optional enableNotifications pythonPackages.notify
++ optional enableLaTeX texLive; ++ optional enableLaTeX texLive;
postInstall = '' postInstall = ''