Diff qtscxml-5.15.10 with a qtscxml-6.5.2-r1

/usr/portage/dev-qt/qtscxml/qtscxml-6.5.2-r1.ebuild 2023-10-09 14:52:30.412368373 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 2021-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit qt5-build
6
inherit qt6-build
7 7

  
8
DESCRIPTION="State Chart XML (SCXML) support library for the Qt5 framework"
8
DESCRIPTION="State Chart XML (SCXML) support library for the Qt6 framework"
9 9

  
10
if [[ ${QT5_BUILD_TYPE} == release ]]; then
11
	KEYWORDS="amd64 ~arm arm64 ~riscv x86"
10
if [[ ${QT6_BUILD_TYPE} == release ]]; then
11
	KEYWORDS="amd64"
12 12
fi
13 13

  
14
IUSE=""
14
IUSE="qml"
15 15

  
16
DEPEND="
17
	=dev-qt/qtcore-${QT5_PV}*
18
	=dev-qt/qtdeclarative-${QT5_PV}*
16
RDEPEND="
17
	~dev-qt/qtbase-${PV}:6[gui]
18
	qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
19 19
"
20
RDEPEND="${DEPEND}"
20
DEPEND="${RDEPEND}"
21

  
22
CMAKE_SKIP_TESTS=(
23
	# may fail with pid-sandbox, or at least musl/hardened+gcc (exact
24
	# conditions unknown but passes without pid, considering this flaky)
25
	tst_qstatemachine
26
)
27

  
28
src_configure() {
29
	local mycmakeargs=(
30
		$(cmake_use_find_package qml Qt6Qml)
31
	)
32

  
33
	qt6-build_src_configure
34
}
Thank you!