archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qt6-speech / trunk / PKGBUILD
blobed306a9412885210a287c92a09d1d5e5204a0706
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
4 pkgname=qt6-speech
5 _qtver=6.5.0
6 pkgver=${_qtver/-/}
7 pkgrel=1
8 arch=(x86_64)
9 url='https://www.qt.io'
10 license=(GPL3 LGPL3 FDL custom)
11 pkgdesc='Qt Speech support'
12 depends=(qt6-base)
13 makedepends=(cmake ninja qt6-declarative qt6-multimedia speech-dispatcher flite)
14 optdepends=('flite: flite TTS backend'
15             'qt6-multimedia: flite TTS backend'
16             'speech-dispatcher: speech-dispatcher TTS backend'
17             'qt6-declarative: QML bindings')
18 groups=(qt6)
19 _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
20 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
21 sha256sums=('1d812737fae56d4024bce436f00ac48177426f8fd4cb2b09a865978c56e83d9a')
23 build() {
24   cmake -B build -S $_pkgfn -G Ninja \
25     -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
26   cmake --build build
29 package() {
30   DESTDIR="$pkgdir" cmake --install build
32   install -d "$pkgdir"/usr/share/licenses
33   ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname