summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-14 12:07:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-14 12:07:46 +0100
commita9785c54e739ae93259430b606cf3fc87e492c11 (patch)
tree4a0366b4d4392fbffaffe1a0898ea9ace3256f40
parente8f17a482b1ec8c3ca6b3768db79ffe6085a0b0d (diff)
dev-qt/qtserialport : import from gentoo tree, make it use our eclass, increase revision to beat gentoo
-rw-r--r--dev-qt/qtserialport/Manifest1
-rw-r--r--dev-qt/qtserialport/qtserialport-5.9.5-r1000.ebuild27
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
+}