net-im/profanity: enable optional OMEMO support
authorAndrey Utkin <andrey_utkin@gentoo.org>
Mon, 14 Oct 2019 18:10:13 +0000 (19:10 +0100)
committerAndrey Utkin <andrey_utkin@gentoo.org>
Mon, 14 Oct 2019 18:38:53 +0000 (19:38 +0100)
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>
net-im/profanity/metadata.xml
net-im/profanity/profanity-0.7.1.ebuild

index d2349017e1a3a34d79a7409d17c9d8d6bc52e577..7b1cc59ac055dcb2fa5cd7f5e3fce7d77b0c0f6d 100644 (file)
@@ -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>
index 1e3e1435fe18e67ebf2a97988579011003d43ac8..faaf4beb3402eea2248b3c11743d532972c695a8 100644 (file)
@@ -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)