summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2019-10-14 19:10:13 +0100
committerAndrey Utkin <andrey_utkin@gentoo.org>2019-10-14 19:38:53 +0100
commit3101e0ee400532f7825fd330794262358bb69a12 (patch)
tree62ece0cb4b7a1b4fbc26b28ed0c91f723b189eef /net-im
parentnet-im/profanity: add 0.7.1 ebuild (diff)
downloadgentoo-3101e0ee400532f7825fd330794262358bb69a12.tar.gz
gentoo-3101e0ee400532f7825fd330794262358bb69a12.tar.bz2
gentoo-3101e0ee400532f7825fd330794262358bb69a12.zip
net-im/profanity: enable optional OMEMO support
Bug: https://bugs.gentoo.org/697644 Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/profanity/metadata.xml1
-rw-r--r--net-im/profanity/profanity-0.7.1.ebuild7
2 files changed, 7 insertions, 1 deletions
diff --git a/net-im/profanity/metadata.xml b/net-im/profanity/metadata.xml
index d2349017e1a..7b1cc59ac05 100644
--- a/net-im/profanity/metadata.xml
+++ b/net-im/profanity/metadata.xml
@@ -11,6 +11,7 @@
</longdescription>
<use>
<flag name="gpg">Enable OpenPGP encryption</flag>
+ <flag name="omemo">Enable OMEMO encryption</flag>
<flag name="otr">Enable encrypted conversations using Off-The-Records messaging</flag>
</use>
</pkgmetadata>
diff --git a/net-im/profanity/profanity-0.7.1.ebuild b/net-im/profanity/profanity-0.7.1.ebuild
index 1e3e1435fe1..faaf4beb340 100644
--- a/net-im/profanity/profanity-0.7.1.ebuild
+++ b/net-im/profanity/profanity-0.7.1.ebuild
@@ -11,7 +11,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="libnotify otr gpg xscreensaver"
+IUSE="libnotify omemo otr gpg xscreensaver"
DEPEND="
dev-libs/expat
@@ -23,6 +23,10 @@ DEPEND="
sys-libs/ncurses:=[unicode]
gpg? ( app-crypt/gpgme:= )
libnotify? ( x11-libs/libnotify )
+ omemo? (
+ net-libs/libsignal-protocol-c
+ dev-libs/libgcrypt
+ )
otr? ( net-libs/libotr )
xscreensaver? (
x11-libs/libXScrnSaver
@@ -33,6 +37,7 @@ RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable libnotify notifications) \
+ $(use_enable omemo) \
$(use_enable otr) \
$(use_enable gpg pgp) \
$(use_with xscreensaver)