[arch-commits] Commit in espeak/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Feb 1 13:54:28 UTC 2017
Date: Wednesday, February 1, 2017 @ 13:54:27
Author: arodseth
Revision: 209641
upgpkg: espeak 1.49.0-1
Modified:
espeak/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-01 13:48:41 UTC (rev 209640)
+++ PKGBUILD 2017-02-01 13:54:27 UTC (rev 209641)
@@ -4,29 +4,37 @@
# Contributor: Christoph Siegenthaler <csi at gmx.ch>
pkgname=espeak
-pkgver=1.48.04
-pkgrel=2
+pkgver=1.49.0
+pkgrel=1
pkgdesc='Text to Speech engine for English, with support for other languages'
arch=('x86_64' 'i686')
-url='http://espeak.sourceforge.net/'
+url='https://github.com/espeak-ng/espeak-ng/'
license=('GPL')
depends=('portaudio' 'libpulse')
+# TODO: Add the sonic library to [community] and use it here.
+makedepends=('git')
options=('!emptydirs')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip")
-sha256sums=('bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659')
+source=("git://github.com/espeak-ng/espeak-ng#tag=$pkgver")
+md5sums=('SKIP')
+prepare() {
+ cd espeak-ng
+
+ ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver-source/src"
+ cd espeak-ng
- cp portaudio19.h portaudio.h
- make CXXFLAGS="$CXXFLAGS" AUDIO=pulseaudio
+ ./configure --prefix=/usr
+ export CFLAGS="$CFLAGS -w --std=c11"
+ make -j1
}
package() {
- cd "$pkgname-$pkgver-source/src"
+ cd espeak-ng
make DESTDIR="$pkgdir" install
- chmod 644 "$pkgdir/usr/lib/libespeak.a"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list