git » qt5-virtualkeyboard.git » commit 6b99995

Don't log all keypresses by default

author Antonio Rojas
2018-11-14 19:49:13 UTC
committer Antonio Rojas
2018-11-14 19:49:13 UTC
parent 90ff761d973588e6a3f9a44949db4faa4e14282a

Don't log all keypresses by default

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index d698d38..4c7c36f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=qt5-virtualkeyboard
 _qtver=5.11.2
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3')
@@ -13,11 +13,16 @@ depends=('qt5-declarative' 'qt5-svg' 'hunspell')
 makedepends=()
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('2709500071e7e98ca6f6eecef0f5c80d19ae22aba562293352debd516633b197')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qt-virtualkeyboard-keylogging.patch::"http://code.qt.io/cgit/qt/qtvirtualkeyboard.git/patch/?id=c7a94110")
+sha256sums=('2709500071e7e98ca6f6eecef0f5c80d19ae22aba562293352debd516633b197'
+            'd6604ea9a73dd16cdc0788214ccd346571a2f5c2f7da7759d71511d3cb6e67e8')
 
 prepare() {
   mkdir -p build
+
+  cd ${_pkgfqn}
+  patch -p1 -i ../qt-virtualkeyboard-keylogging.patch # don't log all keypresses
 }
 
 build() {