mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 04:40:56 +02:00
qtserialport: fix bug that makes no sense with a dirty dirty hack
This commit is contained in:
parent
1998d167e7
commit
f4747eee82
2 changed files with 33 additions and 0 deletions
1
dev-qt/qtserialport/Manifest
Normal file
1
dev-qt/qtserialport/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST qtserialport-everywhere-src-5.11.1.tar.xz 301692 BLAKE2B 8d57503dbd16d142ac72dbc496218d57ff92212b44e8a504f3b6ba27b2bdb295061705c1318000d50c2383ce815c8420b056ea66720f62338a1b98785d37c5f4 SHA512 2f13122438dfe91c6885534e4470e119abf1c7134b1d344e9c0700661c002566f483aa2bcdde53e4860df349fff4ff8ef05bfafb0aa1bb4484d3e5d07c989404
|
||||
32
dev-qt/qtserialport/qtserialport-5.11.1.ebuild
Normal file
32
dev-qt/qtserialport/qtserialport-5.11.1.ebuild
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
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}"
|
||||
|
||||
src_prepare() {
|
||||
# make sure we link against libudev
|
||||
sed -i -e 's/:qtConfig(libudev)//' \
|
||||
src/serialport/serialport-lib.pri || die
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
#this is an unacceptable hack due to some broken handling in whatever creates the Makefile failing to find -ludev
|
||||
src_compile() {
|
||||
SUBLIBS="-ludev" qt5-build_src_compile
|
||||
}
|
||||
Loading…
Reference in a new issue