From: zenny <zenny@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [Package Request] RHVoice
Date: Fri, 20 Nov 2020 20:55:16 +0100 [thread overview]
Message-ID: <20201120195516.4NHrAkaLo15EMFapklDFxTn-p_XaeBvsP8gINt9rMJQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26349@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]
New comment by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/26349#issuecomment-731377318
Comment:
> We don't use `pkgdir`, we use `DESTDIR`.
Thanks @ericonr.
I replaced all instances of `pkgdir` with `DESTDIR`,
```
# Template file for 'rhvoice'
pkgname=rhvoice
version=1.2.3
revision=1
wrksrc="RHVoice-${version}"
build_style=scons
depends="speech-dispatcher libpulseaudio"
makedepends="scons portaudio libao"
optdepends="'portaudio: for portaudio backend' 'libao: for ao backend'"
backup="etc/RHVoice/RHVoice.conf"
short_desc="Free and open source speech synthesizer for Russian and other languages"
maintainer="/dev/null"
license="GPL-3.0-or-later"
homepage="https://github.com/Olga-Yakovleva/RHVoice"
distfiles="https://github.com/Olga-Yakovleva/RHVoice/archive/${version}.tar.gz"
checksum=d104f20dc75fcd133d21751a6e894d34b423e12e4784350b4b9573c727fb71cd
build() {
cd "$wrksrc/RHVoice-${version}"
scons prefix="/usr" sysconfdir="/etc" CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" \
LINKFLAGS="$LDFLAGS"
}
package() {
cd "$wrksrc/RHVoice-${version}"
mkdir -p "${DESTDIR}/usr/lib/speech-dispatcher-modules"
scons install DESTDIR="${DESTDIR}" prefix="/usr" sysconfdir="/etc" \
CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" LINKFLAGS="$LDFLAGS"
ln -s "/usr/bin/sd_rhvoice" "${DESTDIR}/usr/lib/speech-dispatcher-modules/sd_rhvoice"
```
Also, appended following 3 lines to `common/shlibs`
```
$ rg libRHVoice common/shlibs
3997:libRHVoice.so.5 rhvoice-1.2.3_1
3998:libRHVoice_audio.so.2 rhvoice-1.2.3_1
3999:libRHVoice_core.so.4 rhvoice-1.2.3_1
```
The package gets built, but it does not behave as expected (no `RHVoice` binary nor `sd_rhvoice` installed) after running ` $ sudo xbps-install --repository=hostdir/binpkgs rhvoice`. No errors either.
next prev parent reply other threads:[~2020-11-20 19:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-13 11:09 [ISSUE] " zenny
2020-11-15 21:16 ` zenny
2020-11-15 21:22 ` ericonr
2020-11-20 8:35 ` zenny
2020-11-20 12:40 ` ericonr
2020-11-20 19:55 ` zenny [this message]
2020-12-18 14:12 ` ericonr
2021-02-19 8:02 ` zenny
2021-02-19 8:39 ` zenny
2021-02-19 8:39 ` zenny
2022-04-30 2:14 ` github-actions
2022-05-14 2:16 ` [ISSUE] [CLOSED] " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201120195516.4NHrAkaLo15EMFapklDFxTn-p_XaeBvsP8gINt9rMJQ@z \
--to=zenny@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).