mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #8515 from heitbaum/espeak-ng
espeak-ng: update to 1.51.1 and set PKG_TOOLCHAIN=autotools and fix build
This commit is contained in:
commit
83bc4d4290
@ -2,24 +2,22 @@
|
|||||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="espeak-ng"
|
PKG_NAME="espeak-ng"
|
||||||
PKG_VERSION="1.51"
|
PKG_VERSION="1.51.1"
|
||||||
PKG_SHA256="027fa5dfa8616d5cc13f883209ff5f735eee6559f7689a019d5b2d01d290cd39"
|
PKG_SHA256="0823df5648659dcb67915baaf99118dcc8853639f47cadaa029c174bdd768d20"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/espeak-ng/espeak-ng"
|
PKG_SITE="https://github.com/espeak-ng/espeak-ng"
|
||||||
PKG_URL="https://github.com/espeak-ng/espeak-ng/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/espeak-ng/espeak-ng/archive/refs/tags/${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS_HOST="gcc:host "
|
PKG_DEPENDS_HOST="gcc:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain espeak-ng:host"
|
PKG_DEPENDS_TARGET="toolchain espeak-ng:host"
|
||||||
PKG_LONGDESC="eSpeak NG is an open source speech synthesizer that supports more than a hundred languages and accents"
|
PKG_LONGDESC="eSpeak NG is an open source speech synthesizer that supports more than a hundred languages and accents"
|
||||||
PKG_TOOLCHAIN="configure"
|
PKG_TOOLCHAIN="autotools"
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
cd ..
|
|
||||||
make distclean
|
|
||||||
./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
make_host() {
|
make_host() {
|
||||||
make -j1
|
mkdir phsource dictsource
|
||||||
|
(cd dictsource; ln -s ../../dictsource/* .)
|
||||||
|
(cd phsource; ln -s ../../phsource/* .)
|
||||||
|
cp -aP ../espeak-ng-data .
|
||||||
|
make DESTDIR=`pwd` -j1
|
||||||
}
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
@ -32,4 +30,3 @@ makeinstall_target() {
|
|||||||
mkdir -p ${INSTALL}/usr/share/espeak-ng-data
|
mkdir -p ${INSTALL}/usr/share/espeak-ng-data
|
||||||
cp -prf ${TOOLCHAIN}/share/espeak-ng-data ${INSTALL}/usr/share
|
cp -prf ${TOOLCHAIN}/share/espeak-ng-data ${INSTALL}/usr/share
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
From 9e6083c12a41334b2817b443d430637f01ee5fb9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||||
|
Date: Sun, 14 Jan 2024 11:33:08 +1100
|
||||||
|
Subject: [PATCH] fix compiling in build directory
|
||||||
|
|
||||||
|
$(srcdir) was missing on includes for src/include/espeak-ng/espeak-ng.h
|
||||||
|
---
|
||||||
|
Makefile.am | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 595546899..d8671efa3 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -16,7 +16,7 @@ SHARED_VERSION=2:51:1 # = *.so.1.1.51
|
||||||
|
MKDIR=mkdir -p
|
||||||
|
|
||||||
|
AM_CFLAGS = \
|
||||||
|
- -Isrc/include -Isrc/include/compat -I$(srcdir)/src/speechPlayer/include -I$(srcdir)/src/ucd-tools/src/include \
|
||||||
|
+ -I$(srcdir)/src/include -Isrc/include/compat -I$(srcdir)/src/speechPlayer/include -I$(srcdir)/src/ucd-tools/src/include \
|
||||||
|
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L
|
||||||
|
AM_CXXFLAGS =
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user