diff options
-rw-r--r-- | dev-qt/qtserialport/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtserialport/qtserialport-5.9.5-r1000.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-qt/qtserialport/Manifest b/dev-qt/qtserialport/Manifest new file mode 100644 index 00000000..ecc316f1 --- /dev/null +++ b/dev-qt/qtserialport/Manifest @@ -0,0 +1 @@ +DIST qtserialport-opensource-src-5.9.5.tar.xz 268296 BLAKE2B 77d78a651e54b04ad5ca2e816a4f2577d1830250fa199f53b1b9b7fba1418800e42a8a970bc5d2a0025dd4cb41d1fef0c1a1dd238893d8621a4bc943a514c65f SHA512 53b0f5002f72a6ffbf2c1cb076823e4b7b2de560d17b6c5af6f8320d755cdeb860e537f39abab22e892edda5e6b2b4e3e10cf5315550c54ad20b66e2b749a88a diff --git a/dev-qt/qtserialport/qtserialport-5.9.5-r1000.ebuild b/dev-qt/qtserialport/qtserialport-5.9.5-r1000.ebuild new file mode 100644 index 00000000..4aac7d90 --- /dev/null +++ b/dev-qt/qtserialport/qtserialport-5.9.5-r1000.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit qt5-build-r10000 + +DESCRIPTION="Serial port abstraction library for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="amd64" +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-r10000_src_prepare +} |