From 054b3e11f2cda85a739a9abc5ac18cbdd8295623 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 13 Nov 2020 12:53:28 +0100 Subject: [PATCH] speech-dispatcher: fix included version string This fixes the version pkg-config file and resolves #26348, as mumble asks pkg-config for --atleast-version=0.8 and without a version it won't find the system speech-dispatcher. --- srcpkgs/speech-dispatcher/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template index 9b185a30252..5bc0921f263 100644 --- a/srcpkgs/speech-dispatcher/template +++ b/srcpkgs/speech-dispatcher/template @@ -1,7 +1,7 @@ # Template file for 'speech-dispatcher' pkgname=speech-dispatcher version=0.10.1 -revision=1 +revision=2 wrksrc="speechd-${version}" build_style=gnu-configure # Disable support for sundry non-free TTS systems (said support causes @@ -26,6 +26,11 @@ conf_files=" CFLAGS="-fcommon" +post_extract() { + [ -e ".tarball-version" ] || echo "${version}" >.tarball-version + [ -e ".version" ] || echo "${version}" >.version +} + pre_configure() { autoreconf -fi }