mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
31 lines
822 B
Bash
31 lines
822 B
Bash
# Forked from: https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=qtspeech-git&id=af3789be6b007d7c3403560af912d6fc194cd8ea
|
|
|
|
pkgname=qt5-speech
|
|
_pkgname=qtspeech
|
|
pkgver=5.8.0
|
|
_tag=v$pkgver-alpha1
|
|
pkgrel=1
|
|
pkgdesc="Qt Speech support."
|
|
arch=('i686' 'x86_64')
|
|
url="http://qt-project.org/wiki/QtSpeech"
|
|
license=('GPL2' 'LGPL3' 'FDL')
|
|
depends=('qt5-base' 'qt5-multimedia' 'speech-dispatcher')
|
|
makedepends=('flite')
|
|
optdepends=('flite: Speech output using Festival Lite.')
|
|
source=("git+git://code.qt.io/qt/qtspeech.git#tag=$_tag")
|
|
sha1sums=('SKIP')
|
|
|
|
build() {
|
|
cd $_pkgname
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -C $_pkgname INSTALL_ROOT="${pkgdir}" install
|
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
|
}
|
|
|