[arch-commits] Commit in flite (5 files)

Antonio Rojas arojas at archlinux.org
Fri Dec 16 20:39:34 UTC 2016


    Date: Friday, December 16, 2016 @ 20:39:33
  Author: arojas
Revision: 199885

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

Added:
  flite/repos/
  flite/repos/community-i686/
  flite/repos/community-i686/PKGBUILD
    (from rev 199884, flite/trunk/PKGBUILD)
  flite/repos/community-x86_64/
  flite/repos/community-x86_64/PKGBUILD
    (from rev 199884, flite/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: flite/repos/community-i686/PKGBUILD (from rev 199884, flite/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2016-12-16 20:39:33 UTC (rev 199885)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Steven Honeyman <stevenhoneyman at gmail com>
+
+pkgname=flite
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A lighweight speech synthesis engine (text to speech)"
+arch=(i686 x86_64)
+url="http://cmuflite.org"
+license=(custom)
+depends=(alsa-lib)
+makedepends=(chrpath)
+source=(http://festvox.org/flite/packed/flite-${pkgver%.*}/flite-$pkgver-release.tar.bz2)
+md5sums=('645db96ffc296cbb6d37f231cc1cc6b2')
+
+prepare() {
+  cd $pkgname-$pkgver-release
+  sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/archlinux.lv
+  sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver-release
+  ./configure --prefix=/usr --enable-shared \
+			    --with-audio=alsa \
+			    --with-vox=cmu_us_kal16 \
+			    --with-langvox=archlinux
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver-release
+  make DESTDIR="$pkgdir" install
+  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix rpath
+  chrpath -d "$pkgdir"/usr/bin/*
+}

Copied: flite/repos/community-x86_64/PKGBUILD (from rev 199884, flite/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2016-12-16 20:39:33 UTC (rev 199885)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Steven Honeyman <stevenhoneyman at gmail com>
+
+pkgname=flite
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A lighweight speech synthesis engine (text to speech)"
+arch=(i686 x86_64)
+url="http://cmuflite.org"
+license=(custom)
+depends=(alsa-lib)
+makedepends=(chrpath)
+source=(http://festvox.org/flite/packed/flite-${pkgver%.*}/flite-$pkgver-release.tar.bz2)
+md5sums=('645db96ffc296cbb6d37f231cc1cc6b2')
+
+prepare() {
+  cd $pkgname-$pkgver-release
+  sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/archlinux.lv
+  sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver-release
+  ./configure --prefix=/usr --enable-shared \
+			    --with-audio=alsa \
+			    --with-vox=cmu_us_kal16 \
+			    --with-langvox=archlinux
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver-release
+  make DESTDIR="$pkgdir" install
+  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix rpath
+  chrpath -d "$pkgdir"/usr/bin/*
+}



More information about the arch-commits mailing list