summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-11 03:11:24 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:55 +0000
commitece65081e3ec5838d653dc4b81c4f6f133937497 (patch)
treeb442eb5893f1409038b324359b1c9234fa0182c2 /user
parente7ed97928adf5da7224092aa31877a9a1ccac76d (diff)
downloadpackages-ece65081e3ec5838d653dc4b81c4f6f133937497.tar.gz
packages-ece65081e3ec5838d653dc4b81c4f6f133937497.tar.bz2
packages-ece65081e3ec5838d653dc4b81c4f6f133937497.tar.xz
packages-ece65081e3ec5838d653dc4b81c4f6f133937497.zip
user/flite: Fix multiple issues
Source tarball should use package's name, not 'pkgname'. Build shared libraries, not static (otherwise Qt5 underlinks). Ensure PIC is used.
Diffstat (limited to 'user')
-rw-r--r--user/flite/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/user/flite/APKBUILD b/user/flite/APKBUILD
index 6a5131dd5..b93c74d58 100644
--- a/user/flite/APKBUILD
+++ b/user/flite/APKBUILD
@@ -2,16 +2,17 @@
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=flite
pkgver=2.2
-pkgrel=0
+pkgrel=1
pkgdesc="Small, fast text-to-speech synthesizer based on Festival"
url="http://www.festvox.org/flite/"
arch="all"
options="!check" # Test suite refuses to cooperate.
license="MIT AND Apache-2.0 AND BSD-3-Clause AND Public-Domain AND BSD-2-Clause"
depends=""
-makedepends="alsa-lib-dev"
+depends_dev="alsa-lib-dev"
+makedepends="$depends_dev"
subpackages="$pkgname-dev"
-source="pkgname-$pkgver.tar.gz::https://github.com/festvox/flite/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/festvox/flite/archive/v$pkgver.tar.gz"
build() {
./configure \
@@ -20,7 +21,9 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --with-pic \
+ --enable-shared
make
}
@@ -32,4 +35,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="1ca2f4145651490ef8405fdb830a3b42e885020a7603d965f6a5581b01bed41047d396b38c2ceab138fc0b28d28078db17acd2b5a84c6444cb99d65c581afa72 pkgname-2.2.tar.gz"
+sha512sums="1ca2f4145651490ef8405fdb830a3b42e885020a7603d965f6a5581b01bed41047d396b38c2ceab138fc0b28d28078db17acd2b5a84c6444cb99d65c581afa72 flite-2.2.tar.gz"