sci-libs/jkqtplotter: avoid Qt5 building

Qt checking prevents the correct use of QT_VERSION_MAJOR however defined.
If installed, jkqtplotter compiles with the unwanted Qt5.

Closes: https://bugs.gentoo.org/966047
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44619
Closes: https://github.com/gentoo/gentoo/pull/44619
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT 2025-11-13 18:33:24 +01:00 committed by Sam James
parent 740a65bdfa
commit 76e12e0335
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -39,6 +39,14 @@ BDEPEND="
)
"
src_prepare() {
# avoid Qt5 automagic, https://bugs.gentoo.org/966047
sed -e "/^ *find_package.*QT NAMES/s/Qt5 //" \
-i cmake/jkqtplotter_common_qtsettings.cmake || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON