app-leechcraft/lc-secman: add a USE flag for the contents display

Closes: https://github.com/gentoo/gentoo/pull/4791
This commit is contained in:
0xd34df00d
2017-05-28 20:34:49 +02:00
committed by Michał Górny
parent 9941e84f44
commit 2febfbb0a7
2 changed files with 5 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ DESCRIPTION="Security and personal data manager for LeechCraft"
SLOT="0"
KEYWORDS=""
IUSE="debug crypt"
IUSE="debug crypt exposecontents"
DEPEND="~app-leechcraft/lc-core-${PV}
crypt? ( dev-libs/openssl:0 )
@@ -20,6 +20,7 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_SECMAN_SECURESTORAGE=$(usex crypt)
-DWITH_SECMAN_EXPOSE_CONTENTSDISPLAY=$(usex exposecontents)
)
cmake-utils_src_configure

View File

@@ -9,4 +9,7 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="exposecontents">Build the GUI for viewing the stored data.</flag>
</use>
</pkgmetadata>