summaryrefslogtreecommitdiff
path: root/dev-qt/qtgamepad
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtgamepad')
-rw-r--r--dev-qt/qtgamepad/Manifest3
-rw-r--r--dev-qt/qtgamepad/metadata.xml21
-rw-r--r--dev-qt/qtgamepad/qtgamepad-5.12.5.ebuild35
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest
new file mode 100644
index 000000000000..aa17f83a5bca
--- /dev/null
+++ b/dev-qt/qtgamepad/Manifest
@@ -0,0 +1,3 @@
+DIST qtgamepad-everywhere-src-5.12.5.tar.xz 385864 BLAKE2B 65e6536beecab590685f4678066d5ecb3eae0f82bd4fc000a327a4e9ab90c13311b644fff7329cd96291da726e215f107c49b634d00f13941780c9dccfa5f9a2 SHA512 bc4148bb75de53dd0885fc25ce7d679d7a5426a23ce9c93482fd11e8d6003cebe4c958fc07f17817a43f1d4449756deff24c0350fd33e100aeb2c302c650ae33
+EBUILD qtgamepad-5.12.5.ebuild 685 BLAKE2B 7f3ad26aeb7bbf8a682ad294c6d9501a129924d678c07cdfc385a8d1c5eb16396f2c2ea6d7a90adcb7cfa26e34dab00356349f8470be13d6af4e371cc7fe9217 SHA512 ad9a41e2b30aca0ce1d3d778497551e5c74455d1c60a9044a6232e35a9b192e94b7dbb44a462a214ba5e7d62e3ddc7a7e2d4d722d12878262f5498f52ef932b7
+MISC metadata.xml 612 BLAKE2B 9f8eb8c418b79633ebe1df1ba6423de74232787ae4eadea6fb217657fc2dd3ece81e73294ba21f2c0c57596a43e918a812670a5dda271dd7f2721ea0600445b5 SHA512 8593354f9a345ddaedcf0f962877ee7b40db413123226804ef5ea3664c98cc14d7d7f60d63911166e06e3e4fe5b907b1e2ae7a3dc4df527a975f92051b504f8c
diff --git a/dev-qt/qtgamepad/metadata.xml b/dev-qt/qtgamepad/metadata.xml
new file mode 100644
index 000000000000..2b9a633c286b
--- /dev/null
+++ b/dev-qt/qtgamepad/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <use>
+ <flag name="evdev">Enable support for input devices via evdev</flag>
+ <flag name="qml">Build QML bindings</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://bugreports.qt.io/</bugs-to>
+ <doc>https://doc.qt.io/</doc>
+ </upstream>
+ <slots>
+ <subslots>
+ Must only be used by packages that are known to use private parts of the Qt API.
+ </subslots>
+ </slots>
+</pkgmetadata>
diff --git a/dev-qt/qtgamepad/qtgamepad-5.12.5.ebuild b/dev-qt/qtgamepad/qtgamepad-5.12.5.ebuild
new file mode 100644
index 000000000000..cf981234f3df
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.12.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 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"
+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
+}