Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/
Date: Mon, 26 Sep 2022 08:03:08
Message-Id: 1664179382.7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8.xgqt@gentoo
1 commit: 7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8
2 Author: マリウス <marius <AT> xn--gckvb8fzb <DOT> com>
3 AuthorDate: Mon Sep 26 00:37:49 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 08:03:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e53d4a9
7
8 app-admin/keepassxc: Add X USE flag
9
10 Signed-off-by: マリウス <marius <AT> xn--gckvb8fzb.com>
11 Closes: https://github.com/gentoo/gentoo/pull/27462
12 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
13
14 app-admin/keepassxc/keepassxc-9999.ebuild | 6 ++++--
15 1 file changed, 4 insertions(+), 2 deletions(-)
16
17 diff --git a/app-admin/keepassxc/keepassxc-9999.ebuild b/app-admin/keepassxc/keepassxc-9999.ebuild
18 index 04056497dec9..985aebc0d678 100644
19 --- a/app-admin/keepassxc/keepassxc-9999.ebuild
20 +++ b/app-admin/keepassxc/keepassxc-9999.ebuild
21 @@ -25,9 +25,10 @@ fi
22
23 LICENSE="LGPL-2.1 GPL-2 GPL-3"
24 SLOT="0"
25 -IUSE="autotype browser doc keeshare +network test yubikey"
26 +IUSE="X autotype browser doc keeshare +network test yubikey"
27
28 RESTRICT="!test? ( test )"
29 +REQUIRED_USE="autotype? ( X )"
30
31 RDEPEND="
32 app-crypt/argon2:=
33 @@ -39,10 +40,10 @@ RDEPEND="
34 dev-qt/qtnetwork:5
35 dev-qt/qtsvg:5
36 dev-qt/qtwidgets:5
37 - dev-qt/qtx11extras:5
38 media-gfx/qrencode:=
39 sys-libs/readline:0=
40 sys-libs/zlib:=
41 + X? ( dev-qt/qtx11extras:5 )
42 autotype? (
43 x11-libs/libX11
44 x11-libs/libXtst
45 @@ -88,6 +89,7 @@ src_configure() {
46 -DWITH_XC_SSHAGENT=ON
47 -DWITH_XC_UPDATECHECK=OFF
48 -DWITH_XC_YUBIKEY="$(usex yubikey)"
49 + -DWITH_XC_X11="$(usex X)"
50 )
51 if [[ "${PV}" == *_beta* ]] ; then
52 mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )