From 57c8c6a8613ffe1e96587e21b34249133e54e4d2 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 23 Feb 2018 16:00:56 +0300 Subject: qt 5.10 scm from qt repo --- dev-qt/qtgamepad/metadata.xml | 21 +++++++++++++++++ dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild | 35 +++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-qt/qtgamepad/metadata.xml create mode 100644 dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild (limited to 'dev-qt/qtgamepad') 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 @@ + + + + + qt@gentoo.org + Gentoo Qt Project + + + Enable support for input devices via evdev + Build QML bindings + + + https://bugreports.qt.io/ + https://doc.qt.io/ + + + + Must only be used by packages that are known to use private parts of the Qt API. + + + 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 +} -- cgit v1.2.3