Skip to content
Snippets Groups Projects
Commit e5f8da39 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/qt5-qtgamepad: apply latest KDE patches

parent 9376424f
No related branches found
No related tags found
1 merge request!20286community/qt5-qt*: apply latest KDE patches
# Contributor: Diaz Devera Victor <vitronic2@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtgamepad
pkgver=5.15.2
pkgrel=1
pkgver=5.15.3_git20201028
pkgrel=0
_commit="64afa18a0a1e9588060e2e6d917bb01ccdd48a81"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://doc.qt.io/qt-5/qtgamepad-index.html"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
......@@ -10,14 +11,22 @@ pkgdesc="Adds support for getting events from gamepad devices"
depends_dev="qt5-qtdeclarative-dev eudev-dev sdl2-dev"
makedepends="$depends_dev qt5-qtbase-dev"
subpackages="$pkgname-dev"
builddir="$srcdir/qtgamepad-everywhere-src-$pkgver"
builddir="$srcdir/qtgamepad-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtgamepad-everywhere-src-$pkgver.tar.xz"
source="https://invent.kde.org/qt/qt/qtgamepad/-/archive/$_commit/qtgamepad-$_commit.tar.gz"
prepare() {
default_prepare
# We need to make the build system think we're running in a git repository
# so it correctly symlinks during the build
mkdir .git
}
build() {
qmake-qt5
......@@ -39,4 +48,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
sha512sums="67f299d36f70ac3205a136117bec7f983f889b6a1f7d0ff97eb03925f4789d9d90a7197f5e186a6d04aa486880c60f0f623ab56a8bd78e4682e84c7ff6cc9fe1 qtgamepad-everywhere-src-5.15.2.tar.xz"
sha512sums="2e6cec5d93ae39c39638b00d22491e91b043f4c819b66a0d95d0b05cee66f82dd8e440efc2afc193dc1a7d2c3979d1d9711d3ff0c7a384ac5c1cb27ca7995b78 qtgamepad-64afa18a0a1e9588060e2e6d917bb01ccdd48a81.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment