diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
commit | 57c8c6a8613ffe1e96587e21b34249133e54e4d2 (patch) | |
tree | a95832bfa28a57a4dd7df2a86fc33a19d98fe4cc /dev-qt/qtgamepad | |
parent | abbc99af90c96d4f50084e29633b32594b9bbfec (diff) |
qt 5.10 scm from qt repo
Diffstat (limited to 'dev-qt/qtgamepad')
-rw-r--r-- | dev-qt/qtgamepad/metadata.xml | 21 | ||||
-rw-r--r-- | dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild | 35 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/metadata.xml b/dev-qt/qtgamepad/metadata.xml new file mode 100644 index 0000000..2b9a633 --- /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.10.9999.ebuild b/dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild new file mode 100644 index 0000000..a7c4b57 --- /dev/null +++ b/dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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:= ) + sdl? ( media-libs/libsdl ) + qml? ( ~dev-qt/qtdeclarative-${PV} ) +" +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 +} |