summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-10-08 17:05:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-10-08 17:47:30 +0200
commitdd8457f73abf0feec1d1fb12b4ee0a471fe2403c (patch)
tree07af206b10fb87b1816bc0e899d22c1cac96b91c /dev-qt/qtgamepad
parentdev-qt/qtdeclarative: add 5.15.11 (diff)
downloadgentoo-dd8457f73abf0feec1d1fb12b4ee0a471fe2403c.tar.gz
gentoo-dd8457f73abf0feec1d1fb12b4ee0a471fe2403c.tar.bz2
gentoo-dd8457f73abf0feec1d1fb12b4ee0a471fe2403c.zip
dev-qt/qtgamepad: add 5.15.11
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.15.11.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest
index 96ffd9534b68..7cf111a167e5 100644
--- a/dev-qt/qtgamepad/Manifest
+++ b/dev-qt/qtgamepad/Manifest
@@ -1 +1,2 @@
DIST qtgamepad-everywhere-opensource-src-5.15.10.tar.xz 389844 BLAKE2B 4b492f74e45e98227a8e5ff59a7b1fe4299e8e9951231b2f2f8bf5d9fa9d9a99404261ec98ab073d621bf9c57b50e5137790d432cbe33ea2c451d839770d9897 SHA512 20f06a11b8e7057e11b2f061ba088f1721cf94a20bed21e52eb0d7c6e20cd8f74ae2d0fe47748466c4a3dd63f9843afc94f74fb3076849e80ad8e71017fb3605
+DIST qtgamepad-everywhere-opensource-src-5.15.11.tar.xz 389848 BLAKE2B b06ed900ec45979c91203892e60453be12f86d88e0b693306a573d78bde9742b54f66d06a21193f5fb1965879ae93f9fdb6737c4237240fc654ac40eb6f8c190 SHA512 4aa21aa51d854edd365e21e6f8f195c70998223c2a70603518b00a0efbeddf5ed9c60c33e665c1bb2dbed73e3d9b113b7fbf47287789ea54ba2a1d5c65b72c33
diff --git a/dev-qt/qtgamepad/qtgamepad-5.15.11.ebuild b/dev-qt/qtgamepad/qtgamepad-5.15.11.ebuild
new file mode 100644
index 000000000000..acfeaccfaf54
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.15.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 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
+}