diff options
Diffstat (limited to 'dev-qt/qtgamepad')
-rw-r--r-- | dev-qt/qtgamepad/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtgamepad/qtgamepad-5.15.7.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qtgamepad/Manifest b/dev-qt/qtgamepad/Manifest index 71db61faaad5..e54a1ca64e9a 100644 --- a/dev-qt/qtgamepad/Manifest +++ b/dev-qt/qtgamepad/Manifest @@ -1 +1,2 @@ DIST qtgamepad-everywhere-opensource-src-5.15.5.tar.xz 388708 BLAKE2B c82aefceaab363096c0f43096b70ac18ac1cfe9c793f3d214f08b5ad3471b71485b49423a77129802d84f54f3b86618636a6edd057df1507ec31a7b5efda1343 SHA512 504a2fc4c6b764c10af1641b8e3d3c36372ebc41efe95714c7928ae2a0b1a11c3f274e7c85ad4b7b0afeb7e309e5f1237913993a7c30345fa305f6f7ea320f3b +DIST qtgamepad-everywhere-opensource-src-5.15.7.tar.xz 388800 BLAKE2B dfc8802399d590172adbe08555596b3f64e97e004617480f8df29acf406721e5c2e9bf8ba0fca7685ee471d8cad90efbfb88502f6c456e3f5f05d57f92795e2b SHA512 e7269096dbbb3238d7009f5a5e686bce02987a81cef4282d7aa52848916cec67c73c4dfb16cf48a9f46fa9f3c509a789d5622bdf9823df299f1a8c7c67d5b27f diff --git a/dev-qt/qtgamepad/qtgamepad-5.15.7.ebuild b/dev-qt/qtgamepad/qtgamepad-5.15.7.ebuild new file mode 100644 index 000000000000..23b8279f774e --- /dev/null +++ b/dev-qt/qtgamepad/qtgamepad-5.15.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt5-build + +DESCRIPTION="Qt module to support gamepad hardware" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +IUSE="evdev qml sdl" + +DEPEND=" + =dev-qt/qtcore-${QT5_PV}* + =dev-qt/qtgui-${QT5_PV}*[evdev?] + evdev? ( virtual/libudev:= ) + qml? ( =dev-qt/qtdeclarative-${QT5_PV}* ) + sdl? ( media-libs/libsdl2 ) +" +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 +} |