From 16ff417792dfd29700c68aa537db67deb2f8233c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 17 Aug 2023 14:33:31 +0200 Subject: [PATCH] net-im/profanity: fix deps Signed-off-by: Florian Schmaus --- 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 619a19eb9612b..615f8cd4c2ef7 100644 --- a/net-im/profanity/metadata.xml +++ b/net-im/profanity/metadata.xml @@ -16,6 +16,7 @@ Enable OpenPGP encryption Enable OMEMO encryption + Enable exchanging OMEMO information via QR code Enable encrypted conversations using Off-The-Records messaging diff --git a/net-im/profanity/profanity-0.14.0.ebuild b/net-im/profanity/profanity-0.14.0.ebuild index 4f49c0eba437d..f9b478c96344f 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)