public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benoît Dufour" <benoit.dufour@mail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/abaddon/
Date: Tue, 31 Oct 2023 20:32:18 +0000 (UTC)	[thread overview]
Message-ID: <1698784109.5e25ad243cfe11adb330376deb646b85f8bd356c.benoit.dufour@gentoo> (raw)

commit:     5e25ad243cfe11adb330376deb646b85f8bd356c
Author:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Tue Oct 31 20:28:29 2023 +0000
Commit:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
CommitDate: Tue Oct 31 20:28:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e25ad24

net-im/abaddon: Add USE flag to enable QR Code login and add dependencies on media-libs/qrcodegen::guru

Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>

 .../abaddon/{abaddon-0.1.12.ebuild => abaddon-0.1.12-r1.ebuild}  | 9 +++++----
 net-im/abaddon/abaddon-9999.ebuild                               | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-im/abaddon/abaddon-0.1.12.ebuild b/net-im/abaddon/abaddon-0.1.12-r1.ebuild
similarity index 83%
rename from net-im/abaddon/abaddon-0.1.12.ebuild
rename to net-im/abaddon/abaddon-0.1.12-r1.ebuild
index 3c1ff56c4f..6c184160eb 100644
--- a/net-im/abaddon/abaddon-0.1.12.ebuild
+++ b/net-im/abaddon/abaddon-0.1.12-r1.ebuild
@@ -20,7 +20,8 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="+libhandy +rnnoise"
+# Disable qrcodegen by default. Only the ones who really want it should enable it.
+IUSE="+libhandy +rnnoise -qrcodegen"
 
 RDEPEND="
 	>=net-libs/ixwebsocket-11.0.8
@@ -31,6 +32,7 @@ RDEPEND="
 	sys-libs/zlib:=
 	libhandy? ( gui-libs/libhandy:= )
 	rnnoise? ( media-libs/rnnoise )
+    qrcodegen ( dev-libs/qrcodegen )
 "
 DEPEND="
 	${RDEPEND}
@@ -40,12 +42,11 @@ DEPEND="
 src_configure() {
 	# Disable keychain because there's currently
 	# no package for it in ::guru or ::gentoo
-	# also disable QRCODE, for the same reason
 	local mycmakeargs=(
 		-DUSE_LIBHANDY="$(usex libhandy)"
 		-DENABLE_RNNOISE="$(usex rnnoise)"
-	  -DUSE_KEYCHAIN="no"
-		-DENABLE_QRCODE_LOGIN="no"
+	    -DUSE_KEYCHAIN="no"
+		-DENABLE_QRCODE_LOGIN="$(usex qrcodegen)"
 	)
 	cmake_src_configure
 }

diff --git a/net-im/abaddon/abaddon-9999.ebuild b/net-im/abaddon/abaddon-9999.ebuild
index 3c1ff56c4f..6c184160eb 100644
--- a/net-im/abaddon/abaddon-9999.ebuild
+++ b/net-im/abaddon/abaddon-9999.ebuild
@@ -20,7 +20,8 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="+libhandy +rnnoise"
+# Disable qrcodegen by default. Only the ones who really want it should enable it.
+IUSE="+libhandy +rnnoise -qrcodegen"
 
 RDEPEND="
 	>=net-libs/ixwebsocket-11.0.8
@@ -31,6 +32,7 @@ RDEPEND="
 	sys-libs/zlib:=
 	libhandy? ( gui-libs/libhandy:= )
 	rnnoise? ( media-libs/rnnoise )
+    qrcodegen ( dev-libs/qrcodegen )
 "
 DEPEND="
 	${RDEPEND}
@@ -40,12 +42,11 @@ DEPEND="
 src_configure() {
 	# Disable keychain because there's currently
 	# no package for it in ::guru or ::gentoo
-	# also disable QRCODE, for the same reason
 	local mycmakeargs=(
 		-DUSE_LIBHANDY="$(usex libhandy)"
 		-DENABLE_RNNOISE="$(usex rnnoise)"
-	  -DUSE_KEYCHAIN="no"
-		-DENABLE_QRCODE_LOGIN="no"
+	    -DUSE_KEYCHAIN="no"
+		-DENABLE_QRCODE_LOGIN="$(usex qrcodegen)"
 	)
 	cmake_src_configure
 }


             reply	other threads:[~2023-10-31 20:32 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 20:32 Benoît Dufour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-16 17:51 [gentoo-commits] repo/proj/guru:dev commit in: net-im/abaddon/ Takuya Wakazono
2024-11-02  9:22 Takuya Wakazono
2024-06-15  0:35 Benoît Dufour
2024-02-25 15:52 Remigiusz Micielski
2024-02-24 10:38 Remigiusz Micielski
2024-02-23 13:01 Remigiusz Micielski
2023-11-26  8:39 Remigiusz Micielski
2023-11-01 19:20 Leonardo Hernandez
2023-11-01 19:20 Leonardo Hernandez
2023-11-01 19:20 Leonardo Hernandez
2023-10-31 20:39 Benoît Dufour
2023-10-02 12:20 Remigiusz Micielski
2023-10-02 12:19 Remigiusz Micielski
2023-10-02  8:49 Adrian Schollmeyer
2023-10-01 14:17 Remigiusz Micielski
2023-09-30 14:56 Remigiusz Micielski
2022-10-19 14:26 Adrian Schollmeyer
2022-10-19 14:24 Adrian Schollmeyer
2022-08-16  8:10 Adrian Schollmeyer
2022-08-16  8:10 Adrian Schollmeyer
2022-05-23 12:58 Adrian Schollmeyer
2022-05-23 12:58 Adrian Schollmeyer
2022-04-09 13:15 Adrian Schollmeyer
2022-02-27 12:32 Adrian Schollmeyer
2021-12-13 21:22 Adrian Schollmeyer
2021-09-20 19:06 [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2021-09-20 19:03 ` [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2021-09-20 14:34 Adrian Schollmeyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698784109.5e25ad243cfe11adb330376deb646b85f8bd356c.benoit.dufour@gentoo \
    --to=benoit.dufour@mail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox