Сравнение qtwebchannel-5.15.10 с qtwebchannel-6.5.2-r2

/usr/portage/dev-qt/qtwebchannel/qtwebchannel-6.5.2-r2.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
if [[ ${PV} != *9999* ]]; then
7
	QT5_KDEPATCHSET_REV=1
8
	KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
9
fi
6
inherit qt6-build
10 7

  
11
inherit qt5-build
8
DESCRIPTION="Qt WebChannel"
12 9

  
13
DESCRIPTION="Qt5 module for integrating C++ and QML applications with HTML/JavaScript clients"
10
if [[ ${QT6_BUILD_TYPE} == release ]]; then
11
	KEYWORDS="amd64"
12
fi
14 13

  
15 14
IUSE="qml"
16 15

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

  
23
src_prepare() {
24
	qt_use_disable_mod qml quick src/src.pro
25
	qt_use_disable_mod qml qml src/webchannel/webchannel.pro
22
src_configure() {
23
	has_version ">=dev-qt/qtdeclarative-${PV}:6" && #913692
24
		local mycmakeargs=( $(cmake_use_find_package qml Qt6Qml) )
26 25

  
27
	qt5-build_src_prepare
26
	qt6-build_src_configure
28 27
}
Спасибо!