summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-qt/qtserialport/Manifest1
-rw-r--r--dev-qt/qtserialport/qtserialport-5.15.9.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-qt/qtserialport/Manifest b/dev-qt/qtserialport/Manifest
index b8c08ee65ca0..b522fbab7918 100644
--- a/dev-qt/qtserialport/Manifest
+++ b/dev-qt/qtserialport/Manifest
@@ -1,2 +1,3 @@
DIST qtserialport-everywhere-opensource-src-5.15.8.tar.xz 323200 BLAKE2B 30d0620c7101a38fe2253ee13845eec7a78dfad8d597d6798235c82ca2a916647b23e0ac9395530c53ab22dc9cdf5ee6a59bfe1a0b689152cf11602a131526fd SHA512 974ae97ec9bdbb4bcecc80a07c343efe4ed686c968810e76fb0e4cd62165949c30d57a37035ac08916850cc2d207fabc0aa09e593184e65fc6d74b36bfbdc444
+DIST qtserialport-everywhere-opensource-src-5.15.9.tar.xz 323496 BLAKE2B e471854a2aac5143f7b6aa5ad452ed5c38dc7e021decee920b71fcc9f9b574af89a89c166a737e604f6778024cceb822acc19b82ab1ea07cb34d687b7d0280a6 SHA512 e22d20a0b20d0dc8c6bce3dcf1137b2cce28e370df9d0250f2a777dd73153d0156b0c6cfe88bc4257cdc209fbf640c8a06fada147d40ee638deb716148812da3
DIST qtserialport-everywhere-src-6.4.3.tar.xz 319400 BLAKE2B bfdaf61f1cd7dcb3d931a5c06e21575d38f5e265746998227459193638a4a285c6138ce78fa0766f84a9030fc807edb390de85d530980406d04ff083af8fa62a SHA512 4871035b714732e7a40579c9a31b0cd955ec9360a996bbffeb16781a89b8df55d9be4408947832f2c6c39646f4d3b64cfb0bf91a83fc73e1808defd108048cd4
diff --git a/dev-qt/qtserialport/qtserialport-5.15.9.ebuild b/dev-qt/qtserialport/qtserialport-5.15.9.ebuild
new file mode 100644
index 000000000000..33c11cea1984
--- /dev/null
+++ b/dev-qt/qtserialport/qtserialport-5.15.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+IUSE=""
+
+DEPEND="
+ =dev-qt/qtcore-${QT5_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
+}