Diff qtserialport-5.15.10 with a qtserialport-6.5.2

/usr/portage/dev-qt/qtserialport/qtserialport-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
inherit qt5-build
6
inherit qt6-build
7 7

  
8
DESCRIPTION="Serial port abstraction library for the Qt5 framework"
8
DESCRIPTION="Serial port abstraction library for the Qt6 framework"
9 9

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

  
14
IUSE=""
15

  
16
DEPEND="
17
	=dev-qt/qtcore-${QT5_PV}*
14
RDEPEND="
15
	~dev-qt/qtbase-${PV}:6
18 16
	virtual/libudev:=
19 17
"
20
RDEPEND="${DEPEND}"
21

  
22
src_prepare() {
23
	# make sure we link against libudev
24
	sed -i -e 's/:qtConfig(libudev)//' \
25
		src/serialport/serialport-lib.pri || die
26

  
27
	qt5-build_src_prepare
28
}
18
DEPEND="${RDEPEND}"
Thank you!