# Contributor: Diaz Devera Victor # Maintainer: Díaz Urbaneja Diego pkgname=qt5-qtgamepad _realname=qtgamepad pkgver=5.12.4 _qtver=5.12 pkgrel=0 pkgdesc="Adds support for getting events from gamepad devices" url="https://doc.qt.io/qt-5/qtgamepad-index.html" arch="all" license="GPL-3.0-or-later" depends="sdl2 qt5-qtbase qt5-qtdeclarative libevdev" makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev libevdev eudev-dev" subpackages="$pkgname-dev" options="!check" #no testsuite source="https://download.qt.io/official_releases/qt/$_qtver/$pkgver/submodules/$_realname-everywhere-src-$pkgver.tar.xz" builddir="$srcdir/$_realname-everywhere-src-$pkgver" prepare() { mkdir -p build } build() { cd "$builddir"/build qmake-qt5 .. make } package() { cd "$builddir"/build make INSTALL_ROOT="$pkgdir" install } sha512sums="e84e637e3b2ced01e92ceb2b54b829a1e2346a4c96b15044f59bcc9764a24c91df6fcd0165f454143cfad87c05471b7d84567d9c6ea8fd3b4c753e5e771e8947 qtgamepad-everywhere-src-5.12.4.tar.xz"