summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorマリウス <marius@xn--gckvb8fzb.com>2022-09-25 19:37:49 -0500
committerMaciej Barć <xgqt@gentoo.org>2022-09-26 10:03:02 +0200
commit7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8 (patch)
treecf62f529591238b358fe0897765d7ee7aadafc12 /app-admin/keepassxc
parentgames-strategy/seven-kingdoms: stabilize 2.15.5 for amd64, x86 (diff)
downloadgentoo-7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8.tar.gz
gentoo-7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8.tar.bz2
gentoo-7e53d4a92ff5cbaa2e339037585e8ac9f6de50b8.zip
app-admin/keepassxc: Add X USE flag
Signed-off-by: マリウス <marius@xn--gckvb8fzb.com> Closes: https://github.com/gentoo/gentoo/pull/27462 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-admin/keepassxc')
-rw-r--r--app-admin/keepassxc/keepassxc-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
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/_/-}" )