From ed7fd8cee4853f5746fbcfc807fb3047565a5170 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 12 Nov 2015 16:07:23 +0000 Subject: main/flite: upgrade to 2.0.0 needed by freeswitch --- main/flite/APKBUILD | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'main') diff --git a/main/flite/APKBUILD b/main/flite/APKBUILD index ee68b17399..2bfb001473 100644 --- a/main/flite/APKBUILD +++ b/main/flite/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=flite -pkgver=1.4 -pkgrel=2 +pkgver=2.0.0 +pkgrel=0 pkgdesc="Small, fast speech synthesis engine (text-to-speech)" url="http://www.speech.cs.cmu.edu/flite/" arch="all" @@ -12,7 +12,7 @@ depends_dev= makedepends="$depends_dev" install="" subpackages="$pkgname-dev" -source="http://www.speech.cs.cmu.edu/flite/packed/flite-1.4/flite-$pkgver-release.tar.bz2" +source="http://www.festvox.org/flite/packed/flite-${pkgver%.*}/flite-$pkgver-release.tar.bz2" _builddir="$srcdir"/flite-$pkgver-release prepare() { @@ -23,7 +23,6 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - update_config_sub || return 1 } build() { @@ -49,6 +48,25 @@ package() { INSTALLLIBDIR="$pkgdir"/usr/lib \ INSTALLINCDIR="$pkgdir"/usr/include/flite \ || return 1 + # remove relative rpaths + scanelf -R -r --fix "$pkgdir" || return 1 + mkdir -p "$pkgdir"/usr/lib/pkgconfig + cat > "$pkgdir"/usr/lib/pkgconfig/flite.pc <