46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
pkgname=qt6-speech
|
|
_pkgver=6.8.2
|
|
pkgver=${_pkgver/-/}
|
|
pkgrel=1.1
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url='https://www.qt.io'
|
|
license=(GPL-3.0-only
|
|
LGPL-3.0-only
|
|
LicenseRef-Qt-Commercial
|
|
Qt-GPL-exception-1.0)
|
|
pkgdesc='Qt Speech support'
|
|
depends=(gcc-libs
|
|
glibc
|
|
qt6-base
|
|
qt6-multimedia)
|
|
makedepends=(cmake
|
|
flite
|
|
git
|
|
ninja
|
|
qt6-declarative
|
|
speech-dispatcher)
|
|
optdepends=('flite: flite TTS backend'
|
|
'speech-dispatcher: speech-dispatcher TTS backend'
|
|
'qt6-declarative: QML bindings')
|
|
groups=(qt6)
|
|
_pkgfn=${pkgname/6-/}
|
|
source=(git+https://code.qt.io/qt/$_pkgfn#tag=v$_pkgver)
|
|
sha256sums=('6a8dc955def55259f7e29160d2868a46ec1161844d5db52e8255d02cffedf255')
|
|
|
|
build() {
|
|
cmake -B build -S $_pkgfn -G Ninja \
|
|
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|