# Contributor: Bart Ribbers # Maintainer: pkgname=qt5-qtspeech _pkgname="${pkgname/qt5-/}-everywhere-src" pkgver=5.12.1 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="321f6dafe0751af1e9cb5bd32f340ae445d2d148a8d2060bd5bd65d034f242547a79667253a4d1e220ccd4f59ea36a7fbe1b50093f36e2017b872f2b858050d2 qtspeech-everywhere-src-5.12.1.tar.xz"