[arch-commits] Commit in julius/repos (2 files)

Evgeniy Alekseev arcanis at archlinux.org
Wed Mar 20 11:46:04 UTC 2019


    Date: Wednesday, March 20, 2019 @ 11:46:04
  Author: arcanis
Revision: 442940

archrelease: copy trunk to community-testing-x86_64

Added:
  julius/repos/community-testing-x86_64/
  julius/repos/community-testing-x86_64/PKGBUILD
    (from rev 442939, julius/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: julius/repos/community-testing-x86_64/PKGBUILD (from rev 442939, julius/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-03-20 11:46:04 UTC (rev 442940)
@@ -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=1
+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