Date: Sunday, April 10, 2022 @ 18:41:00
  Author: alex19ep
Revision: 1185748

upgpkg: rhvoice 1.8.0-1 upstream release

Modified:
  rhvoice/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-04-10 18:22:53 UTC (rev 1185747)
+++ PKGBUILD    2022-04-10 18:41:00 UTC (rev 1185748)
@@ -1,15 +1,15 @@
 # Maintainer: Alexander Epaneshnikov <alex1...@archlinux.org>
 
 _langs=(Albanian Brazilian-Portuguese English Esperanto Georgian Kyrgyz 
Macedonian
-        Russian Tatar Ukrainian)
+        Polish Russian Tatar Ukrainian)
 _voices=(alan aleksandr aleksandr-hq anatol anna arina artemiy azamat
          bdl clb elena evgeniy-eng evgeniy-rus hana irina kiko Leticia-F123
-         lyubov marianna mikhail natalia natia nazgul pavel slt spomenka
-         talgat tatiana victoria vitaliy volodymyr yuriy)
+        lyubov magda marianna mikhail natalia natan natia nazgul pavel slt 
spomenka
+         suze talgat tatiana victoria vitaliy volodymyr yuriy)
 pkgbase=rhvoice
 pkgname=(rhvoice $(for l in "${_langs[@]}"; do echo rhvoice-language-${l,,}; 
done)
          $(for v in "${_voices[@]}"; do echo rhvoice-voice-${v,,}; done))
-pkgver=1.6.0
+pkgver=1.8.0
 pkgrel=1
 pkgdesc="Free and open source speech synthesizer for Russian and other 
languages"
 arch=('x86_64')
@@ -19,16 +19,16 @@
 makedepends=('scons' 'libao')
 
source=(https://github.com/RHVoice/RHVoice/releases/download/$pkgver/$pkgbase-$pkgver.tar.gz{,.sig})
 validpgpkeys=(6C7F7F22E0152A6FD5728592DAD6F3056C897266)
-sha512sums=('320a773a647af3bd3f6eac21003c7db790c65849baa87f7cc5c2bee874d0ad8074c21ed0962851dd2e0721ecd6b0f52f03a876788e6609275516fe2d1e46905d'
+sha512sums=('e1c8c17f048fc466ccc6de285d379e2917edeb30b787c0c95003a00ff7f9a52669279de5f6e2cd472a92e613e30e79cb32ab6eefe8d4df497b00bd36c0ac981a'
             'SKIP')
-b2sums=('b31110d15dddb4d1607c8b3a24a551876f0612840eb0d668546bbde1929259c84a0188059e1470b90049e6d410c85116d46b0d1059aa3712bae464d8c8cdca48'
+b2sums=('c90337c3ff16346cec1520427976121e6a79861d40006502768d299aca6705bf4c1f524b5b5e78bfcf29dcabb403d7130a3ade22051db45e32adceb16afd8e08'
         'SKIP')
 
 build() {
        cd "${pkgbase}-${pkgver}"
-       export SCONSFLAGS="$MAKEFLAGS"
+       jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*') || true
        scons prefix="/usr" sysconfdir="/etc" CPPFLAGS="$CPPFLAGS" 
CFLAGS="$CFLAGS" \
-             CXXFLAGS="$CXXFLAGS"  LINKFLAGS="$LDFLAGS"
+             CXXFLAGS="$CXXFLAGS"  LINKFLAGS="$LDFLAGS" $jobs
 }
 
 package_rhvoice() {
@@ -38,10 +38,10 @@
        groups=('rhvoice')
        install=rhvoice.install
        cd "${pkgbase}-${pkgver}"
-       export SCONSFLAGS="$MAKEFLAGS"
+       jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*') || true
        scons install DESTDIR="${pkgdir}" prefix="/usr" sysconfdir="/etc" \
              CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
-             LINKFLAGS="$LDFLAGS"
+             LINKFLAGS="$LDFLAGS" $jobs
        # remove split data
        rm -r "${pkgdir}/usr/share/"
 }
@@ -75,8 +75,8 @@
        depends=(rhvoice-language-\${_voicelang,,})
        groups=('rhvoice')
        if [[ $v == aleksandr-hq || $v == arina || $v == artemiy || $v == 
evgeniy-eng \
-             || $v == evgeniy-rus || $v == lyubov || $v == marianna \
-             || $v == mikhail || $v == pavel || $v == victoria \
+             || $v == evgeniy-rus || $v == lyubov || $v == magda || $v == 
marianna \
+             || $v == mikhail || $v == natan || $v == pavel || $v == victoria \
              || $v == vitaliy || $v == volodymyr || $v == yuriy ]]; then
                license=('custom:CC-BY-NC-ND-4.0')
        elif [[ $v == kiko || $v == hana ]]; then
@@ -83,7 +83,7 @@
                license=('custom:CC-BY-NC-SA-4.0')
        elif [[ $v == Leticia-F123 ]]; then
                license=('custom:CC-BY-SA-4.0')
-       elif [[ $v == natia || $v == talgat ]]; then
+       elif [[ $v == natia || $v == talgat || $v == suze ]]; then
                license=('custom')
        fi
 

Reply via email to