summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-30 12:19:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-30 14:34:23 +0200
commit2a59ad85130fef601e1fec2d6706ea1e5077e9b5 (patch)
tree8046e80fe9288366b09f67602f582ac4a7ea4407 /dev-qt
parentdev-qt/qtdiag: add 5.15.14 (diff)
downloadgentoo-2a59ad85130fef601e1fec2d6706ea1e5077e9b5.tar.gz
gentoo-2a59ad85130fef601e1fec2d6706ea1e5077e9b5.tar.bz2
gentoo-2a59ad85130fef601e1fec2d6706ea1e5077e9b5.zip
dev-qt/qtgamepad: add 5.15.14
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtgamepad/Manifest1
-rw-r--r--dev-qt/qtgamepad/qtgamepad-5.15.14.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest
index a8f1d909359b..fde4d054aed4 100644
--- a/dev-qt/qtgamepad/Manifest
+++ b/dev-qt/qtgamepad/Manifest
@@ -1 +1,2 @@
DIST qtgamepad-everywhere-opensource-src-5.15.13.tar.xz 389840 BLAKE2B f6308286594c0adb2542244d921b17c9d3454935813015aa16cbd9ac47e6d6131f8bdea00a6be748bc47d20a478812fbc7bb2a267e19ac3c9cdf4d2f54679fad SHA512 03f403c0f966c95b0c64286c047c54bc09e49ad7029de8476d792cc240d0d8b78a426f98e6358376cfc2abcaefb2500ff2182414bd8c2244541b065220780f63
+DIST qtgamepad-everywhere-opensource-src-5.15.14.tar.xz 380932 BLAKE2B 0129f5e5f3f58df132ecc1bdfde5901509dfee5ba2a99a35d125094d4116196cc613d38cd738edc26ce7b197e82365135700d137b1a1be29845c3476a8bd2766 SHA512 a6fffbf01fd9e022949c99e926c9f877e9802b61e9517f36a574e90b60c3cb045061907114c6aaed1da0d2d068758617931ca123facd79ead9bae3b445174e26
diff --git a/dev-qt/qtgamepad/qtgamepad-5.15.14.ebuild b/dev-qt/qtgamepad/qtgamepad-5.15.14.ebuild
new file mode 100644
index 000000000000..ba18af1f321a
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.15.14.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt5-build
+
+DESCRIPTION="Qt module to support gamepad hardware"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+IUSE="evdev qml sdl"
+
+DEPEND="
+ =dev-qt/qtcore-${QT5_PV}*
+ =dev-qt/qtgui-${QT5_PV}*[evdev?]
+ evdev? ( virtual/libudev:= )
+ qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
+ sdl? ( media-libs/libsdl2 )
+"
+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
+}