From 721e4a0c9857e1f6ccf2f90068437061b1d58602 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 17 Feb 2019 15:14:05 +0000 Subject: user/qt5-qtspeech: new package --- user/qt5-qtspeech/APKBUILD | 33 +++++++++++++++++++++++++++++++ user/qt5-qtspeech/fix-linking-order.patch | 6 ++++++ 2 files changed, 39 insertions(+) create mode 100644 user/qt5-qtspeech/APKBUILD create mode 100644 user/qt5-qtspeech/fix-linking-order.patch (limited to 'user/qt5-qtspeech') diff --git a/user/qt5-qtspeech/APKBUILD b/user/qt5-qtspeech/APKBUILD new file mode 100644 index 000000000..61f3fd778 --- /dev/null +++ b/user/qt5-qtspeech/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=qt5-qtspeech +_pkgname=qtspeech-opensource-src +pkgver=5.9.7 +pkgrel=0 +pkgdesc="Qt 5 - Library for speech processing and Text-to-Speech (TTS)" +url="https://www.qt.io/" +arch="all" +options="!check" +license="LGPLv2 with exceptions OR GPLv3 with exceptions" +depends="" +makedepends="alsa-lib-dev flite-dev qt5-qtbase-dev qt5-qtmultimedia-dev + speech-dispatcher-dev" +subpackages="$pkgname-dev" +source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz + fix-linking-order.patch + " +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + qmake + make +} + +package() { + cd "$builddir" + make install INSTALL_ROOT="$pkgdir" +} + +sha512sums="e2d1f2f73bc6595572d18b1c17caf27878851adf164dbca25925301b94916cce96b2ea3db4c2c7e6a23d6e79c37c35b28239aa613adaf6cb9eb340f40c396099 qtspeech-opensource-src-5.9.7.tar.xz +7bce4bd52aa0b60fbd0ec781fc18ac518a8fe76c99e61be03170f00d27747e989b1562a45435be78d0d166ab0fdf523055620ba7c63f49e328704e1cd6aa4718 fix-linking-order.patch" diff --git a/user/qt5-qtspeech/fix-linking-order.patch b/user/qt5-qtspeech/fix-linking-order.patch new file mode 100644 index 000000000..b07e0536d --- /dev/null +++ b/user/qt5-qtspeech/fix-linking-order.patch @@ -0,0 +1,6 @@ +--- qtspeech-opensource-src-5.9.7/config.tests/flite_alsa/flite_alsa.pro.old 2018-05-31 12:22:17.000000000 +0000 ++++ qtspeech-opensource-src-5.9.7/config.tests/flite_alsa/flite_alsa.pro 2019-02-17 15:12:30.810000000 +0000 +@@ -1,2 +1,2 @@ +-LIBS += -lasound + include(../flite/flite.pri) ++LIBS += -lasound -- cgit v1.2.3-70-g09d2