diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-18 13:57:50 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-18 13:58:29 +0100 |
commit | 14f33668f77134e9d2a4121bcbab3bdd8a15d303 (patch) | |
tree | 0908182155d3a0b97ffcd46e57c931b13de8ecab /dev-qt/qtgamepad/qtgamepad-5.14.0.ebuild | |
parent | media-gfx/digikam: 6.4.0 version bump (diff) | |
download | gentoo-14f33668f77134e9d2a4121bcbab3bdd8a15d303.tar.gz gentoo-14f33668f77134e9d2a4121bcbab3bdd8a15d303.tar.bz2 gentoo-14f33668f77134e9d2a4121bcbab3bdd8a15d303.zip |
dev-qt: Add Qt 5.14.0
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtgamepad/qtgamepad-5.14.0.ebuild')
-rw-r--r-- | dev-qt/qtgamepad/qtgamepad-5.14.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/qtgamepad-5.14.0.ebuild b/dev-qt/qtgamepad/qtgamepad-5.14.0.ebuild new file mode 100644 index 000000000000..01e34bd9064e --- /dev/null +++ b/dev-qt/qtgamepad/qtgamepad-5.14.0.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 ~arm64 ~x86" +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 +} |