summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2022-09-12 18:10:36 +0100
committerbedlam <dave@slackbuilds.org>2022-09-12 18:10:36 +0100
commit3a44b8007f831e1b9d6aad4db47a3b7189218cb6 (patch)
treec61975562047cbe45d00c8fcacc10ef200398bc1 /multimedia
parent6b979746c45761e6138e9c4dd3654c4016983efa (diff)
downloadslackbuilds-3a44b8007f831e1b9d6aad4db47a3b7189218cb6.tar.gz
multimedia/pocketsphinx: Updated for version 20220908_5a1370c.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/pocketsphinx/pocketsphinx.SlackBuild10
-rw-r--r--multimedia/pocketsphinx/pocketsphinx.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/pocketsphinx/pocketsphinx.SlackBuild b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
index e23cd47b3b..faa8f4bd12 100644
--- a/multimedia/pocketsphinx/pocketsphinx.SlackBuild
+++ b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/bash
-
# Slackware build script for pocketsphinx
# Copyright 2022 Vijay Marcel
@@ -25,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pocketsphinx
-VERSION=${VERSION:-20220705_0374540}
-COMMIT=${COMMIT:-03745404eecb7a440308263293caabdb605e7906}
+VERSION=${VERSION:-20220908_5a1370c}
+COMMIT=${COMMIT:-5a1370c3e9333550caf74be2d292f8c0c2ad8778}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -102,9 +101,8 @@ cmake -B build -S $TMP/$PRGNAM-$COMMIT \
-DCMAKE_INSTALL_MANDIR=/usr/man
python3 setup.py build
-make -C build
-make -C build all test
-make -C build install DESTDIR=$PKG
+cmake --build build
+DESTDIR=$PKG cmake --install build
python3 setup.py install --root="${PKG}/" --optimize=1 --skip-build
cp "$PKG"/usr/include/pocketsphinx.h $PKG/usr/include/pocketsphinx
diff --git a/multimedia/pocketsphinx/pocketsphinx.info b/multimedia/pocketsphinx/pocketsphinx.info
index 6566c5d17a..c822eaefd4 100644
--- a/multimedia/pocketsphinx/pocketsphinx.info
+++ b/multimedia/pocketsphinx/pocketsphinx.info
@@ -1,8 +1,8 @@
PRGNAM="pocketsphinx"
-VERSION="20220705_0374540"
+VERSION="20220908_5a1370c"
HOMEPAGE="https://github.com/cmusphinx/pocketsphinx"
-DOWNLOAD="https://github.com/cmusphinx/pocketsphinx/archive/0374540/pocketsphinx-03745404eecb7a440308263293caabdb605e7906.tar.gz"
-MD5SUM="4191d168a1229744539bec618c022330"
+DOWNLOAD="https://github.com/cmusphinx/pocketsphinx/archive/5a1370c/pocketsphinx-5a1370c3e9333550caf74be2d292f8c0c2ad8778.tar.gz"
+MD5SUM="f39566488fbc1ea5650bc550fe320638"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="scikit-build pytest wheel"