commit:     dac2c02b343907c2e2f1b69780e0f710060b7447
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 13:05:41 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 13:08:09 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=dac2c02b

dev-qt/qtgamepad: new package

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-qt/qtgamepad/Manifest                   |  1 +
 dev-qt/qtgamepad/metadata.xml               | 21 +++++++++++++++++
 dev-qt/qtgamepad/qtgamepad-5.10.1.ebuild    | 35 +++++++++++++++++++++++++++++
 dev-qt/qtgamepad/qtgamepad-5.10.9999.ebuild | 35 +++++++++++++++++++++++++++++
 dev-qt/qtgamepad/qtgamepad-5.11.9999.ebuild | 35 +++++++++++++++++++++++++++++
 dev-qt/qtgamepad/qtgamepad-5.9.9999.ebuild  | 35 +++++++++++++++++++++++++++++
 6 files changed, 162 insertions(+)

diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest
new file mode 100644
index 00000000..c00f1b70
--- /dev/null
+++ b/dev-qt/qtgamepad/Manifest
@@ -0,0 +1 @@
+DIST qtgamepad-everywhere-src-5.10.1.tar.xz 385472 BLAKE2B 
0ebd5c6e92a40af176d029b69b122eae9f793bff2931c7f7930a80a2e729ddfd2bc2a487f0f6ece7b1a2e990324e46c4dfa60dbd771b0a2b92a5011c5b3ace5d
 SHA512 
d3a58a6675f87b0966483f942d2c317bb9e774f823039585b6c71a63425738e90595f0d1d755ab3c4b23ace9e2c38f5f9438251fa8da55bf1a183e749d440535

diff --git a/dev-qt/qtgamepad/metadata.xml b/dev-qt/qtgamepad/metadata.xml
new file mode 100644
index 00000000..2b9a633c
--- /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>q...@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.1.ebuild 
b/dev-qt/qtgamepad/qtgamepad-5.10.1.ebuild
new file mode 100644
index 00000000..a7c4b576
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.10.1.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
+}

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 00000000..a7c4b576
--- /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
+}

diff --git a/dev-qt/qtgamepad/qtgamepad-5.11.9999.ebuild 
b/dev-qt/qtgamepad/qtgamepad-5.11.9999.ebuild
new file mode 100644
index 00000000..a7c4b576
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.11.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
+}

diff --git a/dev-qt/qtgamepad/qtgamepad-5.9.9999.ebuild 
b/dev-qt/qtgamepad/qtgamepad-5.9.9999.ebuild
new file mode 100644
index 00000000..a7c4b576
--- /dev/null
+++ b/dev-qt/qtgamepad/qtgamepad-5.9.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
+}

Reply via email to