aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2014-03-19 19:44:34 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2014-03-19 19:44:34 +0200
commitacf346594ed0025c41b1adeb305c7497af7b6bad (patch)
treeea9492c7b9fcc3d516495032017387074f564f7e
parentbd6750a4b2b92f30f1311d16df7f8417c1b14ffe (diff)
downloadprofanity-acf346594ed0025c41b1adeb305c7497af7b6bad.tar.gz
profanity-acf346594ed0025c41b1adeb305c7497af7b6bad.tar.xz
net-im/profanity: otr support in the upstream
-rw-r--r--net-im/profanity/metadata.xml1
-rw-r--r--net-im/profanity/profanity-9999.ebuild11
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
+}