app-metrics/prometheus: add 3.1.0
[gentoo/gentoo.git] / kde-frameworks / kcrash / kcrash-6.10.0.ebuild
blob77f588b0acbfc5ea235f518de012ab49bc538e29
1 # Copyright 1999-2025 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 ECM_TEST="forceoptional"
7 QTMIN=6.7.2
8 inherit ecm frameworks.kde.org
10 DESCRIPTION="Framework for intercepting and handling application crashes"
12 LICENSE="LGPL-2+"
13 KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
14 IUSE="X"
16 # requires running Plasma environment
17 RESTRICT="test"
19 RDEPEND="
20         >=dev-qt/qtbase-${QTMIN}:6[gui,opengl]
21         =kde-frameworks/kcoreaddons-${KDE_CATV}*:6
22         X? ( x11-libs/libX11 )
24 DEPEND="${RDEPEND}
25         X? ( x11-base/xorg-proto )
26         test? ( >=dev-qt/qtbase-${QTMIN}:6[widgets] )
28 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
30 src_configure() {
31         local mycmakeargs=(
32                 -DWITH_X11=$(usex X)
33         )
34         ecm_src_configure