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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 6 20:16:39 UTC 2016


    Date: Sunday, November 6, 2016 @ 20:16:38
  Author: foutrelis
Revision: 194789

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  julius/repos/community-staging-i686/
  julius/repos/community-staging-i686/PKGBUILD
    (from rev 194788, julius/trunk/PKGBUILD)
  julius/repos/community-staging-i686/configure.patch
    (from rev 194788, julius/trunk/configure.patch)
  julius/repos/community-staging-x86_64/
  julius/repos/community-staging-x86_64/PKGBUILD
    (from rev 194788, julius/trunk/PKGBUILD)
  julius/repos/community-staging-x86_64/configure.patch
    (from rev 194788, julius/trunk/configure.patch)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   53 ++++++++++++++++++++++++
 community-staging-i686/configure.patch   |   64 +++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD        |   53 ++++++++++++++++++++++++
 community-staging-x86_64/configure.patch |   64 +++++++++++++++++++++++++++++
 4 files changed, 234 insertions(+)

Copied: julius/repos/community-staging-i686/PKGBUILD (from rev 194788, julius/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-06 20:16:38 UTC (rev 194789)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.4.2
+pkgrel=2
+pkgdesc="A high-performance, two-pass large vocabulary continuous speech recognition decoder software"
+arch=("i686" "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"
+        "configure.patch")
+md5sums=('1891077bbca02dc9d6d6368c1efb2e4c'
+         '9fe2a29fdec779104f69539ad4d1cce0')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # configure error
+  patch -p1 -i "${srcdir}/configure.patch"
+}
+
+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:

Copied: julius/repos/community-staging-i686/configure.patch (from rev 194788, julius/trunk/configure.patch)
===================================================================
--- community-staging-i686/configure.patch	                        (rev 0)
+++ community-staging-i686/configure.patch	2016-11-06 20:16:38 UTC (rev 194789)
@@ -0,0 +1,64 @@
+diff -ruN julius-4.4-orig/jcontrol/configure julius-4.4/jcontrol/configure
+--- julius-4.4-orig/jcontrol/configure	2016-09-04 16:03:39.610663560 +0300
++++ julius-4.4/jcontrol/configure	2016-09-04 16:05:14.054157193 +0300
+@@ -380,13 +380,6@@
+     ;;
+ 
+   *)
+-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+-      echo "configure: warning: $ac_option: invalid host type" 1>&2
+-    fi
+-    if test "x$nonopt" != xNONE; then
+-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+-    fi
+-    nonopt="$ac_option"
+     ;;
+ 
+   esac
+diff -ruN julius-4.4-orig/mkgshmm/configure julius-4.4/mkgshmm/configure
+--- julius-4.4-orig/mkgshmm/configure	2016-09-04 16:03:39.660661881 +0300
++++ julius-4.4/mkgshmm/configure	2016-09-04 16:04:55.021463305 +0300
+@@ -380,13 +380,6 @@
+     ;;
+ 
+   *)
+-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+-      echo "configure: warning: $ac_option: invalid host type" 1>&2
+-    fi
+-    if test "x$nonopt" != xNONE; then
+-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+-    fi
+-    nonopt="$ac_option"
+     ;;
+ 
+   esac
+diff -ruN julius-4.4-orig/libjulius/Makefile.in julius-4.4/libjulius/Makefile.in
+--- julius-4.4-orig/libjulius/Makefile.in	2016-09-04 16:35:54.009006591 +0300
++++ julius-4.4/libjulius/Makefile.in	2016-09-04 16:35:13.733693061 +0300
+@@ -94,12 +94,12 @@
+ 
+ install.lib: $(TARGET)
+ 	${INSTALL} -d ${libdir}
+ 	${INSTALL_DATA} $(TARGET) ${libdir}
+-	${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
++	${INSTALL_DATA} -D $(PKGCONF_FILE) ${pkgconfigdir}/libjulius.pc
+ 
+ install.include:
+ 	${INSTALL} -d ${includedir}/julius
+	${INSTALL_DATA} include/julius/*.h ${includedir}/julius 
+ 
+ install.bin: libjulius-config-dist
+ 	${INSTALL} -d ${bindir}
+diff -ruN julius-4.4.1-orig/libsent/Makefile.in julius-4.4.1/libsent/Makefile.in
+--- julius-4.4.1-orig/libsent/Makefile.in	2016-09-07 18:01:52.948127111 +0300
++++ julius-4.4.1/libsent/Makefile.in	2016-09-07 18:03:50.985347850 +0300
+@@ -152,8 +152,8 @@
+ 
+ install.lib: $(TARGET)
+ 	${INSTALL} -d ${libdir}
+ 	${INSTALL_DATA} $(TARGET) ${libdir}
+-	${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
++	${INSTALL_DATA} -D $(PKGCONF_FILE) ${pkgconfigdir}/libsent.pc
+ 
+ install.include:
+ 	${INSTALL} -d ${includedir}/sent

Copied: julius/repos/community-staging-x86_64/PKGBUILD (from rev 194788, julius/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-06 20:16:38 UTC (rev 194789)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.4.2
+pkgrel=2
+pkgdesc="A high-performance, two-pass large vocabulary continuous speech recognition decoder software"
+arch=("i686" "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"
+        "configure.patch")
+md5sums=('1891077bbca02dc9d6d6368c1efb2e4c'
+         '9fe2a29fdec779104f69539ad4d1cce0')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # configure error
+  patch -p1 -i "${srcdir}/configure.patch"
+}
+
+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:

Copied: julius/repos/community-staging-x86_64/configure.patch (from rev 194788, julius/trunk/configure.patch)
===================================================================
--- community-staging-x86_64/configure.patch	                        (rev 0)
+++ community-staging-x86_64/configure.patch	2016-11-06 20:16:38 UTC (rev 194789)
@@ -0,0 +1,64 @@
+diff -ruN julius-4.4-orig/jcontrol/configure julius-4.4/jcontrol/configure
+--- julius-4.4-orig/jcontrol/configure	2016-09-04 16:03:39.610663560 +0300
++++ julius-4.4/jcontrol/configure	2016-09-04 16:05:14.054157193 +0300
+@@ -380,13 +380,6@@
+     ;;
+ 
+   *)
+-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+-      echo "configure: warning: $ac_option: invalid host type" 1>&2
+-    fi
+-    if test "x$nonopt" != xNONE; then
+-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+-    fi
+-    nonopt="$ac_option"
+     ;;
+ 
+   esac
+diff -ruN julius-4.4-orig/mkgshmm/configure julius-4.4/mkgshmm/configure
+--- julius-4.4-orig/mkgshmm/configure	2016-09-04 16:03:39.660661881 +0300
++++ julius-4.4/mkgshmm/configure	2016-09-04 16:04:55.021463305 +0300
+@@ -380,13 +380,6 @@
+     ;;
+ 
+   *)
+-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+-      echo "configure: warning: $ac_option: invalid host type" 1>&2
+-    fi
+-    if test "x$nonopt" != xNONE; then
+-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+-    fi
+-    nonopt="$ac_option"
+     ;;
+ 
+   esac
+diff -ruN julius-4.4-orig/libjulius/Makefile.in julius-4.4/libjulius/Makefile.in
+--- julius-4.4-orig/libjulius/Makefile.in	2016-09-04 16:35:54.009006591 +0300
++++ julius-4.4/libjulius/Makefile.in	2016-09-04 16:35:13.733693061 +0300
+@@ -94,12 +94,12 @@
+ 
+ install.lib: $(TARGET)
+ 	${INSTALL} -d ${libdir}
+ 	${INSTALL_DATA} $(TARGET) ${libdir}
+-	${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
++	${INSTALL_DATA} -D $(PKGCONF_FILE) ${pkgconfigdir}/libjulius.pc
+ 
+ install.include:
+ 	${INSTALL} -d ${includedir}/julius
+	${INSTALL_DATA} include/julius/*.h ${includedir}/julius 
+ 
+ install.bin: libjulius-config-dist
+ 	${INSTALL} -d ${bindir}
+diff -ruN julius-4.4.1-orig/libsent/Makefile.in julius-4.4.1/libsent/Makefile.in
+--- julius-4.4.1-orig/libsent/Makefile.in	2016-09-07 18:01:52.948127111 +0300
++++ julius-4.4.1/libsent/Makefile.in	2016-09-07 18:03:50.985347850 +0300
+@@ -152,8 +152,8 @@
+ 
+ install.lib: $(TARGET)
+ 	${INSTALL} -d ${libdir}
+ 	${INSTALL_DATA} $(TARGET) ${libdir}
+-	${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
++	${INSTALL_DATA} -D $(PKGCONF_FILE) ${pkgconfigdir}/libsent.pc
+ 
+ install.include:
+ 	${INSTALL} -d ${includedir}/sent



More information about the arch-commits mailing list