diff options
-rw-r--r-- | community/qt5-qtspeech/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/qt5-qtspeech/APKBUILD b/community/qt5-qtspeech/APKBUILD new file mode 100644 index 0000000000..5d194e1a28 --- /dev/null +++ b/community/qt5-qtspeech/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: +pkgname=qt5-qtspeech +_pkgname="${pkgname/qt5-/}-everywhere-src" +pkgver=5.12.0 +pkgrel=0 +pkgdesc="Qt module to make text to speech and speech recognition easy" +url="https://qt.io" +arch="all" +license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions" +depends="qt5-qtmultimedia" +makedepends="qt5-qtbase-dev" +subpackages="$pkgname-dev" +builddir="$srcdir/$_pkgname-$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() { + cd "$builddir" + qmake-qt5 + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + INSTALL_ROOT="$pkgdir" make install +} + +sha512sums="cbc34d2d51ef2cf333dccd0a142198a477187786e743f6322370a197b4bbcba11ef7ce92aa9ea0917cc092f51609e71764ee3e5d356dadd54eaae5783c756887 qtspeech-everywhere-src-5.12.0.tar.xz" |