diff options
author | PureTryOut <bribbers@disroot.org> | 2019-01-20 18:19:11 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-02-06 11:04:48 +0000 |
commit | e8fff67b7dce77ed70f2e30710234f4964d64977 (patch) | |
tree | 0062ee035b2bf29191bb32e921edc6a8e6657e68 /community | |
parent | c5b1cdc1574728b8e0009a98a48ea45351f7c2ce (diff) | |
download | aports-e8fff67b7dce77ed70f2e30710234f4964d64977.tar.bz2 aports-e8fff67b7dce77ed70f2e30710234f4964d64977.tar.xz |
community/qt5-qtvirtualkeyboard: new aport
Diffstat (limited to 'community')
-rw-r--r-- | community/qt5-qtvirtualkeyboard/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/qt5-qtvirtualkeyboard/APKBUILD b/community/qt5-qtvirtualkeyboard/APKBUILD new file mode 100644 index 0000000000..a0a9231398 --- /dev/null +++ b/community/qt5-qtvirtualkeyboard/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=qt5-qtvirtualkeyboard +_pkgname="${pkgname/qt5-/}-everywhere-src" +pkgver=5.12.0 +pkgrel=0 +arch="all" +url="http://qt-project.org/" +license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions" +pkgdesc="Virtual keyboard framework" +depends_dev="qt5-qtsvg-dev" +makedepends="$depends_dev hunspell-dev qt5-qtbase-dev qt5-qtdeclarative-dev" +subpackages="$pkgname-dev" +builddir="$srcdir/${pkgname/qt5-/}-everywhere-src-$pkgver" + +case $pkgver in +*_beta*|*_rc*) _rel=development_releases;; +*) _rel=official_releases;; +esac + +source="http://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver}/submodules/$_pkgname-$pkgver.tar.xz" + +build() { + qmake-qt5 CONFIG+="lang-all handwriting" + make +} + +check() { + cd "$builddir" + make check +} + +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="984a4d8eb7fd4aaaee956c65e818467be93540769867023f6a9bb8a6d53bab7fe30d372aaa21cc3fb3642b9e6fa672669d4caacfaa0ed7500dcb126ee4be40f8 qtvirtualkeyboard-everywhere-src-5.12.0.tar.xz" |