profanity: enable tray icon support
Profanity can show a tray icon, e.g. showing that messages were received. This enables support for the feature.
This commit is contained in:
parent
69901f16c9
commit
55f0f9e1a4
@ -3,10 +3,12 @@
|
|||||||
|
|
||||||
, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null
|
, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null
|
||||||
, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null
|
, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null
|
||||||
|
, traySupport ? false, gnome2 ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null;
|
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null;
|
||||||
assert notifySupport -> libnotify != null && gdk_pixbuf != null;
|
assert notifySupport -> libnotify != null && gdk_pixbuf != null;
|
||||||
|
assert traySupport -> gnome2 != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -23,7 +25,8 @@ stdenv.mkDerivation rec {
|
|||||||
pkgconfig readline libuuid libmesode
|
pkgconfig readline libuuid libmesode
|
||||||
glib openssl expat ncurses libotr curl
|
glib openssl expat ncurses libotr curl
|
||||||
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
|
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
|
||||||
++ optionals notifySupport [ libnotify gdk_pixbuf ];
|
++ optionals notifySupport [ libnotify gdk_pixbuf ]
|
||||||
|
++ optionals traySupport [ gnome2.gtk ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A console based XMPP client";
|
description = "A console based XMPP client";
|
||||||
|
@ -15482,6 +15482,7 @@ with pkgs;
|
|||||||
|
|
||||||
profanity = callPackage ../applications/networking/instant-messengers/profanity {
|
profanity = callPackage ../applications/networking/instant-messengers/profanity {
|
||||||
notifySupport = config.profanity.notifySupport or true;
|
notifySupport = config.profanity.notifySupport or true;
|
||||||
|
traySupport = config.profanity.traySupport or true;
|
||||||
autoAwaySupport = config.profanity.autoAwaySupport or true;
|
autoAwaySupport = config.profanity.autoAwaySupport or true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user