summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-09 22:00:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-09 23:36:28 +0200
commit56acf9bac388533631838ff019e20eb41af0bbe0 (patch)
treec07a708b057f14c3743b759772c8fb0d82704201 /dev-qt/qtgamepad
parentqt5-build.eclass: Drop obsolete in-source build workaround for >=5.14.2 (diff)
downloadgentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.gz
gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.bz2
gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.zip
dev-qt: Add Qt 5.14.2
Closes: https://bugs.gentoo.org/669994 Closes: https://bugs.gentoo.org/710866 Closes: https://bugs.gentoo.org/713722 Closes: https://bugs.gentoo.org/716754 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtgamepad')
-rw-r--r--dev-qt/qtgamepad/Manifest1
-rw-r--r--dev-qt/qtgamepad/qtgamepad-5.14.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest
index 571c1e0ad88c..87b7964c8030 100644
--- a/dev-qt/qtgamepad/Manifest
+++ b/dev-qt/qtgamepad/Manifest
@@ -1 +1,2 @@
DIST qtgamepad-everywhere-src-5.14.1.tar.xz 386892 BLAKE2B 2d50180001529278c72dabeb581f9fadbe87bfd55eb4380c5c345e327531580d78be8b65e6ce4a9a92efcceb370a14bcf36ae2eaa0e9efa5039a65a80a8e2d97 SHA512 d3c84f85cd47cd0a8117820d425c524c04a84262e052d4646de611c61e29a74d5b3a27418b9f5b2cffa06fc30a3f5d7c57a7af80e68b30f01945140d0caa16da
+DIST qtgamepad-everywhere-src-5.14.2.tar.xz 386940 BLAKE2B e1f9312f5007eea0f8126bd1145be603958a6e0833e74f2fe116595d7afa07ba7868d4dce91281440755ce7ff98445bdb38fc09e54ef35ec57dd156fadcaf23e SHA512 23971fae9b1626afc005dccae3bb715f719695bf5e24a1711b3e7049ce49ef5c72097e1eb702464ab7663d41750bf4103e4ed78ee7954269921e3064b79f4c05
diff --git a/dev-qt/qtgamepad/qtgamepad-5.14.2.ebuild b/dev-qt/qtgamepad/qtgamepad-5.14.2.ebuild
new file mode 100644
index 000000000000..afe615251d28
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.14.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit qt5-build
+
+DESCRIPTION="Qt module to support gamepad hardware"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+IUSE="evdev qml sdl"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtgui-${PV}[evdev?]
+ evdev? ( virtual/libudev:= )
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
+ sdl? ( media-libs/libsdl )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod qml quick \
+ src/src.pro
+
+ qt_use_disable_config evdev evdev \
+ src/plugins/gamepads/gamepads.pro
+
+ qt_use_disable_config sdl sdl2 \
+ src/plugins/gamepads/gamepads.pro
+
+ qt5-build_src_prepare
+}