summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Epaneshnikov2020-12-28 02:41:02 +0300
committerAlexander Epaneshnikov2020-12-28 02:41:02 +0300
commit36a11e79fe18c4cbe7847beacac68546573d0c6e (patch)
tree10fe61c73ddf5a059566f171f69f0530630c5781
parent76e7b3e13c81596b276515f0b50923ce6219b0bd (diff)
downloadaur-36a11e79fe18c4cbe7847beacac68546573d0c6e.tar.gz
upgpkg: rhvoice-git 1.2.3.r60.d80d5d8-1
add victoria voice, remove unused license.
-rw-r--r--.SRCINFO5
-rwxr-xr-xPKGBUILD27
2 files changed, 21 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40bae20ee6c..851ccfad619 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = rhvoice-git
pkgdesc = Free and open source speech synthesizer for Russian and other languages. (development version)
- pkgver = 1.2.3.r59.c699a39
+ pkgver = 1.2.3.r60.d80d5d8
pkgrel = 1
url = https://github.com/RHVoice/RHVoice
arch = x86_64
license = GPL3
license = custom
license = custom:by-nc-nd-4.0
- license = custom:by-nc-sa-4.0
license = custom:by-sa-4.0
makedepends = git
makedepends = scons
@@ -20,6 +19,8 @@ pkgbase = rhvoice-git
conflicts = rhvoice
backup = etc/RHVoice/RHVoice.conf
source = rhvoice::git+https://github.com/RHVoice/RHVoice.git
+ source = git+https://github.com/RHVoice/victoria-ru.git
+ md5sums = SKIP
md5sums = SKIP
pkgname = rhvoice-git
diff --git a/PKGBUILD b/PKGBUILD
index 48efd06f7ea..9c4cf5ac164 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,40 @@
# Contributor: der_fenix <derfenix@gmail.com>
pkgname=rhvoice-git
-pkgver=1.2.3.r59.c699a39
+pkgver=1.2.3.r60.d80d5d8
pkgrel=1
pkgdesc="Free and open source speech synthesizer for Russian and other languages. (development version)"
arch=('x86_64')
url="https://github.com/RHVoice/RHVoice"
-license=('GPL3' 'custom' 'custom:by-nc-nd-4.0' 'custom:by-nc-sa-4.0'
- 'custom:by-sa-4.0')
+license=('GPL3' 'custom' 'custom:by-nc-nd-4.0' 'custom:by-sa-4.0')
depends=('libpulse')
makedepends=('git' 'scons')
optdepends=('rhvoice-dictionary-git: extended russian dictionary'
- 'speech-dispatcher: for speech-dispatcher module support'
- 'portaudio: for portaudio backend'
- 'libao: for ao backend')
+ 'speech-dispatcher: for speech-dispatcher module support'
+ 'portaudio: for portaudio backend'
+ 'libao: for ao backend')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
backup=('etc/RHVoice/RHVoice.conf')
-source=(${pkgname%-git}::'git+https://github.com/RHVoice/RHVoice.git')
-md5sums=('SKIP')
+source=(${pkgname%-git}::'git+https://github.com/RHVoice/RHVoice.git'
+ 'git+https://github.com/RHVoice/victoria-ru.git')
+md5sums=('SKIP'
+ 'SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
+prepare() {
+ cd "$srcdir/${pkgname%-git}"
+ git submodule init
+ git config submodule.data/voices/victoria.url $srcdir/victoria-ru
+ git config submodule.src/third-party/cldr.active false
+ git config submodule.cmake/thirdparty/sanitizers.active false
+ git submodule update
+}
+
build() {
cd "$srcdir/${pkgname%-git}"
scons prefix="/usr" sysconfdir="/etc" CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" \
@@ -41,6 +51,5 @@ package() {
ln -s "/usr/bin/sd_rhvoice" "${pkgdir}/usr/lib/speech-dispatcher-modules/sd_rhvoice"
install -Dm0644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm0644 licenses/by-nc-nd-4.0.txt "${pkgdir}/usr/share/licenses/${pkgname}/by-nc-nd-4.0"
- install -Dm0644 licenses/by-nc-sa-4.0.txt "${pkgdir}/usr/share/licenses/${pkgname}/by-nc-sa-4.0"
install -Dm0644 licenses/by-sa-4.0.txt "${pkgdir}/usr/share/licenses/${pkgname}/by-sa-4.0"
}