diff options
-rw-r--r-- | net-im/profanity/metadata.xml | 1 | ||||
-rw-r--r-- | net-im/profanity/profanity-9999.ebuild | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/net-im/profanity/metadata.xml b/net-im/profanity/metadata.xml index 72e46ed..1405273 100644 --- a/net-im/profanity/metadata.xml +++ b/net-im/profanity/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name='libnotify'>Enable desktop notifications support</flag> + <flag name='otr'>Enable Off-the-Record support (encryption)</flag> <flag name='xml'>Link with libxml2 instead of expat</flag> <flag name='xscreensaver'>Use x11-libs/libXScrnSaver for checking idle time</flag> </use> diff --git a/net-im/profanity/profanity-9999.ebuild b/net-im/profanity/profanity-9999.ebuild index ff5ac32..ed05c31 100644 --- a/net-im/profanity/profanity-9999.ebuild +++ b/net-im/profanity/profanity-9999.ebuild @@ -14,13 +14,14 @@ HOMEPAGE="http://www.profanity.im/" LICENSE="GPL-3+" SLOT="0" KEYWORDS="" -IUSE="libnotify xml xscreensaver" +IUSE="libnotify otr xml xscreensaver" RDEPEND="dev-libs/glib:2 >=dev-libs/libstrophe-0.8-r1[xml=] dev-libs/openssl net-misc/curl sys-libs/ncurses + otr? ( net-libs/libotr ) xscreensaver? ( x11-libs/libXScrnSaver ) libnotify? ( x11-libs/libnotify )" DEPEND="${RDEPEND}" @@ -34,6 +35,14 @@ src_prepare() { src_configure() { econf \ $(use_enable libnotify notifications) \ + $(use_enable otr) \ $(use_with xml libxml2) \ $(use_with xscreensaver) } + +pkg_postinst() { + elog + elog "User guide is available online:" + elog " http://www.profanity.im/userguide.html" + elog +} |