desktop/qt5-speech/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
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
2016-12-20 21:48:24 +00:00

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' {} \;
}