Сравнение qtimageformats-5.15.10 с qtimageformats-6.5.2

/usr/portage/dev-qt/qtimageformats/qtimageformats-6.5.2.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 ~hppa ~loong ppc64 ~riscv ~sparc x86"
9
fi
10

  
11
inherit qt5-build
6
inherit qt6-build
12 7

  
13 8
DESCRIPTION="Additional format plugins for the Qt image I/O system"
14 9

  
10
if [[ ${QT6_BUILD_TYPE} == release ]]; then
11
	KEYWORDS="amd64"
12
fi
13

  
15 14
IUSE="mng"
16 15

  
17
DEPEND="
18
	=dev-qt/qtcore-${QT5_PV}*
19
	=dev-qt/qtgui-${QT5_PV}*
16
RDEPEND="
17
	~dev-qt/qtbase-${PV}:6[gui]
20 18
	media-libs/libwebp:=
21 19
	media-libs/tiff:=
22 20
	mng? ( media-libs/libmng:= )
23 21
"
24
RDEPEND="${DEPEND}"
22
DEPEND="${RDEPEND}"
25 23

  
26 24
src_configure() {
27
	sed -e 's/qtConfig(jasper)/false:/' \
28
		-i src/plugins/imageformats/imageformats.pro || die
29
	qt_use_disable_config mng mng src/plugins/imageformats/imageformats.pro
25
	local mycmakeargs=(
26
		-DQT_FEATURE_jasper=OFF
27
		$(qt_feature mng)
28
		-DQT_FEATURE_tiff=ON
29
		-DQT_FEATURE_webp=ON
30
		-DQT_FEATURE_system_tiff=ON
31
		-DQT_FEATURE_system_webp=ON
32
	)
30 33

  
31
	qt5-build_src_configure
34
	qt6-build_src_configure
32 35
}
Спасибо!