aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtspeech/APKBUILD
blob: 83b1b6189c19298feb38ea6cbfe9a1dccf9cc74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer:
pkgname=qt5-qtspeech
_pkgname="${pkgname/qt5-/}-everywhere-src"
pkgver=5.12.5
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="2a1a2c86ee3b5501623bb0c2c8e5b6f96b353707fe0eb804629187899eca5952c665ef037c4257f635edf34ddea03bc686f472a4a346d9f8e2adc7479f640482  qtspeech-everywhere-src-5.12.5.tar.xz"