mimic: update to 1.3.0.1

This commit is contained in:
Randy McCaskill 2020-05-06 22:48:27 -04:00 committed by Helmut Pozimski
parent c1e1d119b8
commit c26e149628
2 changed files with 18 additions and 5 deletions

View file

@ -0,0 +1,11 @@
--- src/hts/hts_engine_API/lib/HTS_misc.c.orig 2020-05-06 08:48:23.207180474 -0400
+++ src/hts/hts_engine_API/lib/HTS_misc.c 2020-05-06 08:49:38.850713440 -0400
@@ -247,6 +247,8 @@
fgetpos((FILE *) fp->pointer, &pos);
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
return (size_t) pos;
+#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
+ return (size_t) pos.__lldata;
#else
return (size_t) pos.__pos;
#endif /* _WIN32 || __CYGWIN__ || __APPLE__ || __ANDROID__ */

View file

@ -1,17 +1,19 @@
# Template file for 'mimic'
pkgname=mimic
version=1.2.0.2
revision=4
version=1.3.0.1
revision=1
wrksrc="${pkgname}1-${version}"
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="alsa-lib-devel icu-devel"
makedepends="alsa-lib-devel icu-devel pcre2-devel"
short_desc="Mycroft's lightweight Text-to-speech engine"
maintainer="Rubén Santos <kojicomics@cocaine.ninja>"
license="custom"
license="custom: permissive BSD-like"
homepage="https://github.com/MycroftAI/mimic"
changelog="https://github.com/MycroftAI/mimic1/releases"
distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz"
checksum=6adcc9911b09d6e9513add41ad9dfc0893ece277f556419869520a0f0708c102
checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249
pre_configure() {
./autogen.sh