From 6c9b1405487bfad3f436e5b49094a99357140e90 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 11 Jun 2022 03:11:24 -0500 Subject: 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. --- user/flite/APKBUILD | 13 ++++++++----- 1 file 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 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" -- cgit v1.2.3-70-g09d2