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-10-21 18:34:01 -0500
commit6c9b1405487bfad3f436e5b49094a99357140e90 (patch)
tree3a9c62b2f71874e34a9a4726a36f50aa6b4ae2bd /user
parent73c30f0daaaef399e095198883215a27dfe509f3 (diff)
downloadpackages-6c9b1405487bfad3f436e5b49094a99357140e90.tar.gz
packages-6c9b1405487bfad3f436e5b49094a99357140e90.tar.bz2
packages-6c9b1405487bfad3f436e5b49094a99357140e90.tar.xz
packages-6c9b1405487bfad3f436e5b49094a99357140e90.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"