From 7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8 Mon Sep 17 00:00:00 2001 From: マリウス Date: Sun, 25 Sep 2022 19:37:49 -0500 Subject: app-admin/keepassxc: Add X USE flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: マリウス Closes: https://github.com/gentoo/gentoo/pull/27462 Signed-off-by: Maciej Barć --- app-admin/keepassxc/keepassxc-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app-admin') diff --git a/app-admin/keepassxc/keepassxc-9999.ebuild b/app-admin/keepassxc/keepassxc-9999.ebuild index 04056497dec9..985aebc0d678 100644 --- a/app-admin/keepassxc/keepassxc-9999.ebuild +++ b/app-admin/keepassxc/keepassxc-9999.ebuild @@ -25,9 +25,10 @@ fi LICENSE="LGPL-2.1 GPL-2 GPL-3" SLOT="0" -IUSE="autotype browser doc keeshare +network test yubikey" +IUSE="X autotype browser doc keeshare +network test yubikey" RESTRICT="!test? ( test )" +REQUIRED_USE="autotype? ( X )" RDEPEND=" app-crypt/argon2:= @@ -39,10 +40,10 @@ RDEPEND=" dev-qt/qtnetwork:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 media-gfx/qrencode:= sys-libs/readline:0= sys-libs/zlib:= + X? ( dev-qt/qtx11extras:5 ) autotype? ( x11-libs/libX11 x11-libs/libXtst @@ -88,6 +89,7 @@ src_configure() { -DWITH_XC_SSHAGENT=ON -DWITH_XC_UPDATECHECK=OFF -DWITH_XC_YUBIKEY="$(usex yubikey)" + -DWITH_XC_X11="$(usex X)" ) if [[ "${PV}" == *_beta* ]] ; then mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" ) -- cgit v1.2.3-65-gdbad