commit:     16ff417792dfd29700c68aa537db67deb2f8233c
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 12:33:31 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 12:35:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ff4177

net-im/profanity: fix deps

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-im/profanity/metadata.xml            |  1 +
 net-im/profanity/profanity-0.14.0.ebuild | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-im/profanity/metadata.xml b/net-im/profanity/metadata.xml
index 619a19eb9612..615f8cd4c2ef 100644
--- a/net-im/profanity/metadata.xml
+++ b/net-im/profanity/metadata.xml
@@ -16,6 +16,7 @@
        <use>
                <flag name="gpg">Enable OpenPGP encryption</flag>
                <flag name="omemo">Enable OMEMO encryption</flag>
+               <flag name="omemo-qrcode">Enable exchanging OMEMO information 
via QR code</flag>
                <flag name="otr">Enable encrypted conversations using 
Off-The-Records messaging</flag>
        </use>
        <upstream>

diff --git a/net-im/profanity/profanity-0.14.0.ebuild 
b/net-im/profanity/profanity-0.14.0.ebuild
index 4f49c0eba437..f9b478c96344 100644
--- a/net-im/profanity/profanity-0.14.0.ebuild
+++ b/net-im/profanity/profanity-0.14.0.ebuild
@@ -10,15 +10,14 @@ 
SRC_URI="https://github.com/profanity-im/profanity/releases/download/${PV}/${P}.
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
-IUSE="libnotify omemo otr gpg test xscreensaver"
+IUSE="libnotify omemo omemo-qrcode otr gpg test xscreensaver"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="omemo-qrcode? ( omemo )"
 
 RDEPEND="
+       >=app-accessibility/at-spi2-core-2.46.0
        dev-db/sqlite:3
-       || ( app-accessibility/at-spi2-core:2 dev-libs/atk )
        dev-libs/glib:2
-       dev-libs/libassuan
-       dev-libs/libgpg-error
        >=dev-libs/libstrophe-0.12.3:=
        media-libs/harfbuzz:=
        net-misc/curl
@@ -29,13 +28,13 @@ RDEPEND="
        x11-libs/gtk+:3
        x11-libs/pango
        x11-misc/shared-mime-info
-       virtual/libcrypt:=
        gpg? ( app-crypt/gpgme:= )
        libnotify? ( x11-libs/libnotify )
        omemo? (
                dev-libs/libgcrypt:=
                net-libs/libsignal-protocol-c
        )
+       omemo-qrcode? ( media-gfx/qrencode:= )
        otr? ( net-libs/libotr )
        xscreensaver? (
                x11-libs/libXScrnSaver
@@ -52,6 +51,7 @@ src_configure() {
                --enable-gdk-pixbuf
                $(use_enable libnotify notifications)
                $(use_enable omemo)
+               $(use_enable omemo-qrcode)
                $(use_enable otr)
                $(use_enable gpg pgp)
                $(use_with xscreensaver)

Reply via email to