Github messages for voidlinux
 help / color / mirror / Atom feed
From: zenny <zenny@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [Package Request] RHVoice
Date: Fri, 20 Nov 2020 09:35:56 +0100	[thread overview]
Message-ID: <20201120083556.jmJ2beLMteG_yB8sZ0MhQLTBaDIyQs4ebBdvdzsypKs@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: 1871 bytes --]

New comment by zenny on void-packages repository

https://github.com/void-linux/void-packages/issues/26349#issuecomment-731025927

Comment:
> Void tries not to merge git packages; do you think they have a chance of doing actual releases?
> 
> Have you tried using this template? As is, it won't work at all, as far as I can tell. I'd recommend using `build_style=scons` for starters, and checking out other templates that use it for a suggested template structure.

I tried with the following template to build from the stable repo:

```
# 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 "${pkgdir}/usr/lib/speech-dispatcher-modules"
scons install DESTDIR="${pkgdir}" prefix="/usr" sysconfdir="/etc" \
              CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" LINKFLAGS="$LDFLAGS"
        ln -s "/usr/bin/sd_rhvoice" "${pkgdir}/usr/lib/speech-dispatcher-modules/sd_rhvoice"
}
```

It builds the package, but there is no `/usr/bin/sd_rdvoice` found after installation of the package. :( Any input?

  parent reply	other threads:[~2020-11-20  8:35 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 [this message]
2020-11-20 12:40 ` ericonr
2020-11-20 19:55 ` zenny
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=20201120083556.jmJ2beLMteG_yB8sZ0MhQLTBaDIyQs4ebBdvdzsypKs@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).