qtserialport: minor sync with Gentoo

This commit is contained in:
Anton Bolshakov 2021-11-09 08:37:37 +08:00
parent e1a5b80ee8
commit 4c40553fbc
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 3 additions and 33 deletions

View file

@ -1,2 +1 @@
DIST qtserialport-everywhere-src-5.15.1.tar.xz 321472 BLAKE2B 6aa086b8ec8d79abbf1f428913800a67e1a48fb8629c10058fc464b913f3840a9dc06084bf181749b543f4795400b93f133ffe74cbc546986bf48e01317bb883 SHA512 5d2e9742d1c5f784375b3d0bf05e227abf1f358f4ba60e66044378b60ac256dda2ab5ecced07c68ca8d93fe894617050821654200e1faa12f4cca112a4fbd2a4
DIST qtserialport-everywhere-src-5.15.2.tar.xz 321496 BLAKE2B 1a2d1a925a1f8224de6babad131efa9bb2e417574be939be35edf3a3b9f34a7fb12cc282f94ee2d8e52178cec7679caf1402f5a45a14bb15a546023fed494907 SHA512 353cc5f708367d646bd312f7d675b417bad4df44356f1dfc8b6ce846a86fd6d5955ec4d26f943e50f4a7b94cc6389fe658959e90bbb5ab3cdaefed0efe6ae72b

View file

@ -1,30 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt5-build
DESCRIPTION="Serial port abstraction library for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi
IUSE=""
DEPEND="
~dev-qt/qtcore-${PV}
virtual/libudev:=
"
RDEPEND="${DEPEND}"
#this is an unacceptable hack due to some broken handling,
#https://bugs.gentoo.org/673532
src_prepare() {
# make sure we link against libudev
sed -i -e 's/:qtConfig(libudev)//' \
-e 's/$$QMAKE_LIBS_LIBUDEV/-ludev/' \
src/serialport/serialport-lib.pri || die
qt5-build_src_prepare
}

View file

@ -2,18 +2,19 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt5-build
DESCRIPTION="Serial port abstraction library for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86"
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
fi
IUSE=""
DEPEND="
~dev-qt/qtcore-${PV}
=dev-qt/qtcore-${QT5_PV}*
virtual/libudev:=
"
RDEPEND="${DEPEND}"