1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
9 url='https://www.qt.io'
10 license=(GPL3 LGPL3 FDL custom)
11 pkgdesc='Qt Speech support'
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')
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')
24 cmake -B build -S $_pkgfn -G Ninja \
25 -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
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