summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-31 08:22:18 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-31 08:23:17 +0200
commitdd98d9c3748dac5489e24d66cb8ff1ee20be9235 (patch)
treea51927c2129f613b85e996fbf3d055d045b5c267 /app-crypt/xca
parentapp-portage/elt-patches: Stabilize 20240721 sparc, #938464 (diff)
downloadgentoo-dd98d9c3748dac5489e24d66cb8ff1ee20be9235.tar.gz
gentoo-dd98d9c3748dac5489e24d66cb8ff1ee20be9235.tar.bz2
gentoo-dd98d9c3748dac5489e24d66cb8ff1ee20be9235.zip
app-crypt/xca: fix Qt USE flags
Qt is not optional, so build with qt5 by default and with qt6 when requested. Closes: https://bugs.gentoo.org/938667 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/xca-2.7.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-crypt/xca/xca-2.7.0.ebuild b/app-crypt/xca/xca-2.7.0.ebuild
index f0f3dce8d3fa..ae5b0d6dcdd0 100644
--- a/app-crypt/xca/xca-2.7.0.ebuild
+++ b/app-crypt/xca/xca-2.7.0.ebuild
@@ -17,13 +17,13 @@ IUSE="doc qt5 qt6"
RDEPEND="
dev-libs/libltdl:0=
- qt5? ( dev-qt/qthelp:5 dev-qt/qtgui:5 dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 )
+ !qt6? ( dev-qt/qthelp:5 dev-qt/qtgui:5 dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 )
qt6? ( dev-qt/qtbase:6[sqlite,widgets] dev-qt/qttools:6[assistant] )
dev-libs/openssl:*
doc? ( app-text/linuxdoc-tools )"
DEPEND="${RDEPEND}"
BDEPEND="
- qt5? ( dev-qt/linguist-tools:5 )
+ !qt6? ( dev-qt/linguist-tools:5 )
qt6? ( dev-qt/qttools:6[linguist] )
doc? ( dev-python/sphinx dev-python/sphinxcontrib-htmlhelp dev-python/sphinxcontrib-qthelp )
"
@@ -34,10 +34,10 @@ PATCHES=(
)
src_configure() {
- local qt_version=Qt6
+ local qt_version=Qt5
- if use qt5; then
- qt_version=Qt5
+ if use qt6; then
+ qt_version=Qt6
fi
local mycmakeargs=(