commit:     93d123d9606b74c94b6c48744e631c0054551696
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 21:45:44 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 21:46:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d123d9

app-admin/keepassxc: Add "doc" USE flag

Bug: https://bugs.gentoo.org/782244
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-admin/keepassxc/keepassxc-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-admin/keepassxc/keepassxc-9999.ebuild 
b/app-admin/keepassxc/keepassxc-9999.ebuild
index df01dad6f39..c73aaad39c7 100644
--- a/app-admin/keepassxc/keepassxc-9999.ebuild
+++ b/app-admin/keepassxc/keepassxc-9999.ebuild
@@ -24,7 +24,7 @@ fi
 
 LICENSE="LGPL-2.1 GPL-2 GPL-3"
 SLOT="0"
-IUSE="autotype browser ccache keeshare +network test yubikey"
+IUSE="doc autotype browser ccache keeshare +network test yubikey"
 
 RESTRICT="!test? ( test )"
 
@@ -59,6 +59,7 @@ DEPEND="
 "
 BDEPEND="
        ccache? ( dev-util/ccache )
+       doc? ( dev-ruby/asciidoctor )
 "
 
 PATCHES=( "${FILESDIR}"/${PN}-2.6.4-quazip1.patch ) # pending upstream PR#5511
@@ -79,7 +80,7 @@ src_configure() {
                -DWITH_GUI_TESTS=OFF
                -DWITH_TESTS="$(usex test)"
                -DWITH_XC_AUTOTYPE="$(usex autotype)"
-               -DWITH_XC_DOCS=OFF
+               -DWITH_XC_DOCS="$(usex doc)"
                -DWITH_XC_BROWSER="$(usex browser)"
                -DWITH_XC_FDOSECRETS=ON
                -DWITH_XC_KEESHARE="$(usex keeshare)"

Reply via email to