# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmouth pkgver=19.12.3 pkgrel=0 arch="all !armhf" #qtdeclarative url="https://kde.org/applications/utilities/org.kde.kmouth" pkgdesc="Speech Synthesizer Frontend" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtspeech-dev kcrash-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kio-dev kwidgetsaddons-dev kxmlgui-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kmouth-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="5b45ca6a831d1c27c8962fbe6b61494f08bc74e3b6d2858c80f224ada157f1ba39e5f859497dd197429a76f1b224adbdb2c5b6dd34d7a1ac9c4f82f199f2bec3 kmouth-19.12.3.tar.xz"