|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for pocketsphinx |
|
|
|
|
|
|
|
# Copyright 2022-2024 Vijay Marcel |
|
|
|
# Copyright 2022-2025 Vijay Marcel |
|
|
|
|
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
@ -23,10 +23,29 @@ |
|
|
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
|
|
|
# Changelog for pocketsphinx SlackBuild Script |
|
|
|
# -------------------------------------------------------------------- |
|
|
|
|
|
|
|
# 03/09/2022: Added to SBo |
|
|
|
|
|
|
|
# 14/07/2023: Updated to github commit id 8221706.This version joins Opencv4 and lensfun |
|
|
|
# in not compiling with FFmpeg. FFmpeg will detect pocketsphinx but it will eventually |
|
|
|
# run into error during compilation.This seems to be FFmpeg upstream problem so |
|
|
|
# don't enable pocketsphinx in FFmpeg when you try to recompile it. |
|
|
|
|
|
|
|
# 19/02/2024: Updated to version 5.0.3. Removed python plugin. |
|
|
|
# one of the reasons why pocketsphinx fails to build with FFmpeg is due to |
|
|
|
# intentional API break in pocketsphinx. This is an upstream FFmpeg |
|
|
|
# problem see https://trac.ffmpeg.org/ticket/10520 |
|
|
|
|
|
|
|
# 18/02/2025: Updated to version 5.0.4 |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=pocketsphinx |
|
|
|
VERSION=${VERSION:-5.0.3} |
|
|
|
VERSION=${VERSION:-5.0.4} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -105,7 +124,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |
|
|
|
|
|
|
|
# Don't ship .la files: |
|
|
|
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |
|
|
|
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la |
|
|
|
|
|
|
|
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a AUTHORS NEWS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|