summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
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"