[arch-commits] Commit in espeak/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Feb 2 00:09:34 UTC 2017
Date: Thursday, February 2, 2017 @ 00:09:33
Author: arodseth
Revision: 209672
upgpkg: espeak 1:1.48.04-1
Modified:
espeak/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++---------------------
1 file changed, 11 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-01 23:44:02 UTC (rev 209671)
+++ PKGBUILD 2017-02-02 00:09:33 UTC (rev 209672)
@@ -5,40 +5,30 @@
# Contributor: Christoph Siegenthaler <csi at gmx.ch>
pkgname=espeak
-pkgver=1.49.0
-pkgrel=2
+pkgver=1.48.04
+pkgrel=1
+epoch=1
pkgdesc='Text to Speech engine for English, with support for other languages'
arch=('x86_64' 'i686')
-# The original espeak package looks unmaintained. espeak-ng is a direct continuation.
-url='https://github.com/espeak-ng/espeak-ng/'
+url='http://espeak.sourceforge.net/'
license=('GPL')
depends=('portaudio' 'libpulse')
-# TODO: Add the sonic library to [community] and use it here.
-makedepends=('git')
options=('!emptydirs')
-source=("git://github.com/espeak-ng/espeak-ng#tag=$pkgver")
-md5sums=('SKIP')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip")
+sha256sums=('bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659')
-prepare() {
- cd espeak-ng
-
- ./autogen.sh
-}
-
build() {
- cd espeak-ng
+ cd "$pkgname-$pkgver-source/src"
- ./configure --prefix=/usr
- export CFLAGS="$CFLAGS -w --std=c11"
- make -j1
+ cp portaudio19.h portaudio.h
+ make CXXFLAGS="$CXXFLAGS -w -std=c++98" AUDIO=pulseaudio
}
package() {
- cd espeak-ng
+ cd "$pkgname-$pkgver-source/src"
make DESTDIR="$pkgdir" install
- ln -s /usr/lib/libespeak-ng.so "$pkgdir/usr/lib/libespeak.so"
- ln -s /usr/lib/pkgconfig/espeak-ng.pc "$pkgdir/usr/lib/pkgconfig/espeak.pc"
+ chmod 644 "$pkgdir/usr/lib/libespeak.a"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list