[arch-commits] Commit in julius/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:49:39 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:49:39
Author: felixonmars
Revision: 659431
archrelease: copy trunk to community-staging-x86_64
Added:
julius/repos/community-staging-x86_64/
julius/repos/community-staging-x86_64/PKGBUILD
(from rev 659430, julius/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: julius/repos/community-staging-x86_64/PKGBUILD (from rev 659430, julius/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:49:39 UTC (rev 659431)
@@ -0,0 +1,44 @@
+# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
+# Contributor: Matt Harrison <matt at mistbyte dot com>
+# Contributor: Muhammad Qadri <Muhammad dot A dot Qadri at gmail dot com>
+
+pkgname=julius
+pkgver=4.5
+pkgrel=2
+pkgdesc="A high-performance, two-pass large vocabulary continuous speech recognition decoder software"
+arch=("x86_64")
+url="http://julius.sourceforge.jp/"
+license=("custom")
+depends=("libpulse" "sdl2")
+optdepends=("voxforge-am-julius: acoustic models")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/julius-speech/julius/archive/v${pkgver}.tar.gz")
+sha512sums=('48bd5fe1e0bd199f10045863d713c82d033d7ecf2e0b9e2a8de6cf0347249e726bf6e756f4fc30a27faa93222066353dd898c6d0069de07c7723994639a84db3')
+
+build() {
+ # redefine makeflags, coz it could not build in parallel
+ export MAKEFLAGS="-j1"
+
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+ ./configure \
+ --prefix="/usr/" \
+ --mandir='${prefix}/share/man'\
+ --enable-words-int \
+ --enable-msd \
+ --enable-gmm-vad \
+ --enable-decoder-vad \
+ --enable-power-reject \
+ --enable-wpair
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ # leave static libraries since julius does not support
+ # shared ones at the moment. See also FS#50599
+ make prefix="${pkgdir}/usr" install
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/julius/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+
More information about the arch-commits
mailing list