app-text/klogg: fix building tests

Closes: https://bugs.gentoo.org/786219

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Anton Filimonov <anton.filimonov@gmail.com>
This commit is contained in:
Anton Filimonov
2021-04-28 10:45:48 +03:00
parent 1f9b8e0d76
commit 2b4d9a6848

View File

@@ -12,7 +12,7 @@ SRC_URI="https://github.com/variar/klogg/archive/refs/tags/v${PV}.tar.gz -> ${P}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+sentry lto"
IUSE="+sentry lto test"
DEPEND="
dev-qt/qtcore:5
@@ -26,6 +26,9 @@ RDEPEND="
${DEPEND}
x11-themes/hicolor-icon-theme
"
BDEPEND="
test? ( dev-qt/qttest:5 )
"
QA_PREBUILT="usr/bin/klogg_minidump_dump"
@@ -40,6 +43,7 @@ src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=ON
-DKLOGG_USE_SENTRY=$(usex sentry)
-DBUILD_TESTS=$(usex test)
-DUSE_LTO=$(usex lto)
-DWARNINGS_AS_ERRORS=OFF
)