[arch-commits] Commit in qt5-virtualkeyboard/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Nov 14 19:49:41 UTC 2018
Date: Wednesday, November 14, 2018 @ 19:49:40
Author: arojas
Revision: 339683
archrelease: copy trunk to extra-x86_64
Added:
qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD
(from rev 339682, qt5-virtualkeyboard/trunk/PKGBUILD)
Deleted:
qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 42 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-14 19:49:13 UTC (rev 339682)
+++ PKGBUILD 2018-11-14 19:49:40 UTC (rev 339683)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=qt5-virtualkeyboard
-_qtver=5.11.2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('x86_64')
-url='http://qt-project.org/'
-license=('GPL3')
-pkgdesc='Virtual keyboard framework'
-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')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
-
- qmake ../${_pkgfqn} CONFIG+="lang-all handwriting"
- make
-}
-
-package() {
- cd build
- make INSTALL_ROOT="$pkgdir" install
-
- # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
- find "$pkgdir/usr/lib" -type f -name '*.prl' \
- -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-}
Copied: qt5-virtualkeyboard/repos/extra-x86_64/PKGBUILD (from rev 339682, qt5-virtualkeyboard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-14 19:49:40 UTC (rev 339683)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=qt5-virtualkeyboard
+_qtver=5.11.2
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('x86_64')
+url='http://qt-project.org/'
+license=('GPL3')
+pkgdesc='Virtual keyboard framework'
+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"
+ 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() {
+ cd build
+
+ qmake ../${_pkgfqn} CONFIG+="lang-all handwriting"
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+ find "$pkgdir/usr/lib" -type f -name '*.prl' \
+ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+}
More information about the arch-commits
mailing list