summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 84fe113993db..8b31461388a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,24 @@
pkgbase = kaldi
pkgdesc = Speech recognition research toolkit
- pkgver = 5.5.r9114.d6198906f
+ pkgver = 5.5.r9264.9af2c5c16
pkgrel = 1
url = https://github.com/kaldi-asr/kaldi
arch = x86_64
- arch = i686
license = APACHE
makedepends = git
makedepends = wget
- makedepends = sed
depends = cblas
depends = kaldi-openfst
depends = lapack
- depends = python2
+ depends = python
optdepends = cuda
optdepends = kaldi-irstlm
optdepends = kaldi-kaldi_lm
optdepends = kaldi-sctk
optdepends = kaldi-sph2pipe
optdepends = kaldi-srilm
+ options = !lto
source = git+https://github.com/kaldi-asr/kaldi
sha256sums = SKIP
pkgname = kaldi
-
diff --git a/PKGBUILD b/PKGBUILD
index 9c6de0ccffe2..e0defce6caa0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Jingbei Li <i@jingbei.lli>
-pkgname='kaldi'
+pkgname=kaldi
pkgdesc='Speech recognition research toolkit'
-pkgver=5.5.r9114.d6198906f
+pkgver=5.5.r9264.9af2c5c16
pkgrel=1
-depends=('cblas' 'kaldi-openfst' 'lapack' 'python2')
-optdepends=('cuda' 'kaldi-irstlm' 'kaldi-kaldi_lm' 'kaldi-sctk' 'kaldi-sph2pipe' 'kaldi-srilm')
-makedepends=('git' 'wget' 'sed')
-arch=('x86_64' 'i686')
+depends=(cblas kaldi-openfst lapack python)
+optdepends=(cuda kaldi-irstlm kaldi-kaldi_lm kaldi-sctk kaldi-sph2pipe kaldi-srilm)
+makedepends=(git wget)
+arch=(x86_64)
url='https://github.com/kaldi-asr/kaldi'
license=('APACHE')
source=("git+${url}")
sha256sums=('SKIP')
+options=(!lto)
pkgver () {
cd "${pkgname}"
@@ -23,8 +24,6 @@ pkgver () {
}
prepare(){
- cd $srcdir/$pkgname
- find . -name '*.py' -exec sed '1s/python/python2/' -i {} \;
if (false && pacman -Q cuda &> /dev/null); then
msg2 "Compiling with CUDA support"
@@ -34,8 +33,10 @@ prepare(){
_cuda_config_opts="--use-cuda=no"
fi
- # Removing static libs in https://github.com/kaldi-asr/kaldi/blob/8f94bd0698d503c5c18e02f8fd4209b6802ff17a/src/makefiles/linux_clapack.mk#L16
- sed '/^LDLIBS = /s/\$(CLAPACKLIBS)//' -i src/makefiles/linux_clapack.mk
+ cd $srcdir/$pkgname
+
+ # Removing static libs in src/makefiles/linux_clapack.mk
+ echo 'CLAPACKLIBS=' >> src/makefiles/linux_clapack.mk
}
build () {