# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=qt5-qtvirtualkeyboard pkgver=5.9.3 pkgrel=0 arch="all" url='http://qt-project.org/' license="GPL-3.0 GPL-2.0 LGPL-3.0" pkgdesc='Virtual keyboard framework' depends="" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev" makedepends="$depends_dev hunspell-dev" source="http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${pkgname/qt5-/}-opensource-src-$pkgver.tar.xz 0001-include-sys-time.h-for-timeval.patch" subpackages="$pkgname-dev" builddir="$srcdir/${pkgname/qt5-/}-opensource-src-$pkgver" options="!check" build() { qmake-qt5 CONFIG+="lang-all handwriting" make } package() { cd "$builddir" 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' {} \; install -d "$pkgdir"/usr/share/licenses ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname } sha512sums="feac25b2f88e182e58431a92e27436149072e2dd2eb09abbb69b732a6c3e484c4259759a99f730856993c6d50260bf5ef234f29f6f7e2a4fddbe77d15838b5c8 qtvirtualkeyboard-opensource-src-5.9.3.tar.xz e801336b9aaf0facdcf7347fa8cf7223362312c92ea5725c5260d777045cc9da9a6de514dc4c17904aab77ae799bdd154c4615b8f2a39d92ce55ca10ad218efb 0001-include-sys-time.h-for-timeval.patch"