aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtspeech
diff options
context:
space:
mode:
authorPureTryOut <bribbers@disroot.org>2019-01-20 18:32:33 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-06 11:07:36 +0000
commit3d25ed95086192623959039005f58fd36159de3b (patch)
treeb9ea2c41a4df98a1e13f5e031d588a94eb24f1dd /community/qt5-qtspeech
parente8fff67b7dce77ed70f2e30710234f4964d64977 (diff)
downloadaports-3d25ed95086192623959039005f58fd36159de3b.tar.bz2
aports-3d25ed95086192623959039005f58fd36159de3b.tar.xz
community/qt5-qtspeech: new aport
Diffstat (limited to 'community/qt5-qtspeech')
-rw-r--r--community/qt5-qtspeech/APKBUILD39
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"