mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
commit
882e2f9b41
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="espeak-ng"
|
||||
PKG_VERSION="a06074c8fd80f2fd3632164dc01ebf1135395e11"
|
||||
PKG_SHA256="6e5ab2c975b46ad126f74f57de9b0a543f301b42d97965710ba81105a6d75232"
|
||||
PKG_VERSION="348599e02bf0db105ac6fd07693e4047f614a58e"
|
||||
PKG_SHA256="f12884158f1e6c3727bcc340f2459a0a5481f8e02f7c35dbd69dae936f064d1c"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/espeak-ng/espeak-ng"
|
||||
PKG_URL="https://github.com/espeak-ng/espeak-ng/archive/${PKG_VERSION}.tar.gz"
|
||||
@ -13,18 +13,17 @@ PKG_LONGDESC="eSpeak NG is an open source speech synthesizer that supports more
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CMAKE_OPTS_HOST="-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCOMPILE_INTONATIONS=ON \
|
||||
-DCOMPILE_INTONATIONS=OFF \
|
||||
-DENABLE_TESTS=OFF"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=ON \
|
||||
-DCOMPILE_INTONATIONS=OFF \
|
||||
-DENABLE_TESTS=OFF"
|
||||
-DCOMPILE_INTONATIONS=ON \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DNativeBuild_DIR=${TOOLCHAIN}/bin"
|
||||
|
||||
post_makeinstall_target() {
|
||||
safe_remove ${INSTALL}/usr/share/vim
|
||||
|
||||
mkdir -p ${INSTALL}/usr/share/espeak-ng-data
|
||||
cp -prf ${TOOLCHAIN}/share/espeak-ng-data ${INSTALL}/usr/share
|
||||
# add symlink for backwards compatibility with old programs
|
||||
ln -sf espeak-ng ${INSTALL}/usr/bin/espeak
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- a/CMakeLists.txt 2025-05-31 11:45:48.000000000 +0000
|
||||
+++ b/CMakeLists.txt 2025-06-09 11:10:14.439292321 +0000
|
||||
@@ -15,7 +15,7 @@
|
||||
include(cmake/deps.cmake)
|
||||
include(cmake/config.cmake)
|
||||
add_subdirectory(src)
|
||||
-if (COMPILE_INTONATIONS AND NOT CMAKE_CROSSCOMPILING)
|
||||
+if (COMPILE_INTONATIONS)
|
||||
include(cmake/data.cmake)
|
||||
endif()
|
||||
include(cmake/docs.cmake)
|
||||
@@ -23,7 +23,7 @@
|
||||
include(cmake/package.cmake)
|
||||
include(CPack)
|
||||
|
||||
-if(ENABLE_TESTS AND NOT CMAKE_CROSSCOMPILING)
|
||||
+if(ENABLE_TESTS)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
@ -1,38 +0,0 @@
|
||||
diff --git a/cmake/deps.cmake b/cmake/deps.cmake
|
||||
index b63ced21ba89..95498cdb32d5 100644
|
||||
--- a/cmake/deps.cmake
|
||||
+++ b/cmake/deps.cmake
|
||||
@@ -2,14 +2,15 @@ find_library(SONIC_LIB sonic)
|
||||
find_path(SONIC_INC "sonic.h")
|
||||
find_library(PCAUDIO_LIB pcaudio)
|
||||
find_path(PCAUDIO_INC "pcaudiolib/audio.h")
|
||||
-find_library(PTHREAD_LIB pthread)
|
||||
+set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
+find_package(Threads)
|
||||
find_program(MBROLA_BIN mbrola)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
-if (PTHREAD_LIB)
|
||||
+if (CMAKE_USE_PTHREADS_INIT)
|
||||
set(HAVE_PTHREAD ON)
|
||||
-endif(PTHREAD_LIB)
|
||||
+endif(CMAKE_USE_PTHREADS_INIT)
|
||||
if (MBROLA_BIN)
|
||||
set(HAVE_MBROLA ON)
|
||||
endif(MBROLA_BIN)
|
||||
diff --git a/src/libespeak-ng/CMakeLists.txt b/src/libespeak-ng/CMakeLists.txt
|
||||
index dd01aeb2d7c8..bb39dc281ca8 100644
|
||||
--- a/src/libespeak-ng/CMakeLists.txt
|
||||
+++ b/src/libespeak-ng/CMakeLists.txt
|
||||
@@ -109,6 +109,10 @@ if (HAVE_LIBPCAUDIO AND USE_LIBPCAUDIO)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
+if (HAVE_PTHREAD)
|
||||
+ target_link_libraries(espeak-ng PRIVATE Threads::Threads)
|
||||
+endif()
|
||||
+
|
||||
target_link_libraries(espeak-ng PRIVATE espeak-ng-config ucd)
|
||||
if (NOT MSVC)
|
||||
target_link_libraries(espeak-ng PRIVATE m)
|
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libffi"
|
||||
PKG_VERSION="3.5.0"
|
||||
PKG_SHA256="8c72678628a5dd8782f08ad421d5a441e42c1c5c1b33e0bc211cbfcf1f3b3978"
|
||||
PKG_VERSION="3.5.1"
|
||||
PKG_SHA256="f99eb68a67c7d54866b7706af245e87ba060d419a062474b456d3bc8d4abdbd1"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://sourceware.org/${PKG_NAME}/"
|
||||
PKG_URL="https://github.com/libffi/libffi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cifs-utils"
|
||||
PKG_VERSION="7.3"
|
||||
PKG_SHA256="c4e1eb5f4ad880d96e16d95a1cdbc7ec978ab51c5b6d8a20ae09dac638f36dd5"
|
||||
PKG_VERSION="7.4"
|
||||
PKG_SHA256="53353d05c30b4fc9dac006a8f0c5054cdd8a1834c176313c91e4694025c4b891"
|
||||
PKG_LICENSE="GPL-3.0-or-later"
|
||||
PKG_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
|
||||
PKG_URL="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-${PKG_VERSION}.tar.bz2"
|
||||
|
@ -12,10 +12,7 @@ PKG_DEPENDS_TARGET="meson:host ninja:host gcc:host libcap kmod util-linux entrop
|
||||
PKG_LONGDESC="A system and session manager for Linux, compatible with SysV and LSB init scripts."
|
||||
|
||||
PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
|
||||
-Drootprefix=/usr \
|
||||
-Dsplit-usr=false \
|
||||
-Dsplit-bin=true \
|
||||
-Ddefault-hierarchy=unified \
|
||||
-Dtty-gid=5 \
|
||||
-Dtests=false \
|
||||
-Dseccomp=disabled \
|
||||
|
Loading…
x
Reference in New Issue
Block a user