[arch-commits] Commit in qt5-virtualkeyboard/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 17 16:48:11 UTC 2018


    Date: Saturday, November 17, 2018 @ 16:48:10
  Author: foutrelis
Revision: 340042

archrelease: copy trunk to staging-x86_64

Added:
  qt5-virtualkeyboard/repos/staging-x86_64/
  qt5-virtualkeyboard/repos/staging-x86_64/PKGBUILD
    (from rev 340041, qt5-virtualkeyboard/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: qt5-virtualkeyboard/repos/staging-x86_64/PKGBUILD (from rev 340041, qt5-virtualkeyboard/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-17 16:48:10 UTC (rev 340042)
@@ -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=3
+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