mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:34:37 +08:00
40 lines
839 B
Bash
40 lines
839 B
Bash
source ../qt5.conf
|
|
|
|
pkgname=qt5-speech
|
|
pkgver=${QSubVersion}
|
|
pkgrel=2
|
|
arch=('x86_64')
|
|
url='http://qt-project.org/'
|
|
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
|
pkgdesc='Qt module to make text to speech and speech recognition easy'
|
|
depends=(qt5-multimedia)
|
|
makedepends=(flite speech-dispatcher)
|
|
optdepends=('flite: flite TTS backend' 'speech-dispatcher: speech-dispatcher TTS backend')
|
|
groups=('qt5')
|
|
options=('debug')
|
|
source=( $(getSrc ${pkgname}) )
|
|
md5sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
|
|
qmake-qt5 ../$(getPkgName ${pkgname})
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
qtprlfix
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
|
|
}
|
|
|