diff --git a/srcpkgs/qt5-speech/template b/srcpkgs/qt5-speech/template index 34c22fcad6d..5fa7f74de8c 100644 --- a/srcpkgs/qt5-speech/template +++ b/srcpkgs/qt5-speech/template @@ -1,9 +1,9 @@ # Template file for 'qt5-speech' pkgname=qt5-speech -reverts="5.15.3+20210429_1 5.15.3+20210429_2" -version=5.15.2 -revision=8 -wrksrc="qtspeech-everywhere-src-${version}" +version=5.15.4 +revision=1 +_commit=c8a1dadc46ccdbeaef45aa805a9dc98d4b3220bd +wrksrc="qtspeech-${_commit}" build_style=qmake configure_args="-- -flite -flite-alsa -speechd" hostmakedepends="qt5-qmake perl qt5-host-tools pkg-config" @@ -13,8 +13,8 @@ short_desc="Cross-platform application and UI framework (QT5) - Speech component maintainer="John " license="GPL-3.0-or-later, LGPL-3.0-or-later" homepage="https://qt.io/" -distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtspeech-everywhere-src-${version}.tar.xz" -checksum=c810fb9eecb08026434422a32e79269627f3bc2941be199e86ec410bdfe883f5 +distfiles="https://invent.kde.org/qt/qt/qtspeech/-/archive/${_commit}.tar.gz" +checksum=970ef98f9803965dfebbb1a06ec4a7978389cf20249afed4273e037e7d5ddcf9 _cleanup_wrksrc_leak() { if [ -d "${PKGDESTDIR}/usr/lib/cmake" ]; then @@ -39,6 +39,10 @@ _cleanup_wrksrc_leak() { -e "s;${wrksrc}/qtbase;/usr/lib/qt5;g" \; } +post_extract() { + mkdir .git +} + post_install() { vinstall ${FILESDIR}/Qt5TextToSpeechConfig.cmake 644 usr/lib/cmake/Qt5TextToSpeech }