[arch-commits] Commit in stardict/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Nov 27 00:54:28 UTC 2021
Date: Saturday, November 27, 2021 @ 00:54:28
Author: felixonmars
Revision: 1054915
upgpkg: stardict 3.0.6-9: switch to espeak-ng
Modified:
stardict/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-27 00:53:19 UTC (rev 1054914)
+++ PKGBUILD 2021-11-27 00:54:28 UTC (rev 1054915)
@@ -6,15 +6,15 @@
pkgname=stardict
pkgver=3.0.6
-pkgrel=8
+pkgrel=9
pkgdesc='International dictionary software'
arch=('x86_64')
url='http://stardict-4.sourceforge.net/'
license=('GPL')
depends=('gtk2' 'libsigc++')
-makedepends=('enchant' 'espeak' 'mariadb-libs' 'gnome-common')
+makedepends=('enchant' 'espeak-ng' 'mariadb-libs' 'gnome-common')
optdepends=('enchant: spell checker plugin'
- 'espeak: text to speech plugin')
+ 'espeak-ng: text to speech plugin')
options=('!emptydirs')
source=("https://downloads.sourceforge.net/project/stardict-4/$pkgver/$pkgname-$pkgver.tar.bz2"
'gcc46.patch'
@@ -36,6 +36,8 @@
sed -i '/AM_GCONF_SOURCE_2/d' dict/configure.ac
sed -i '/GNOME_DOC_INIT/d' dict/configure.ac
sed -i '/gnome-doc-utils.make/d' dict/help/Makefile.am
+ sed -i 's|espeak/speak_lib.h|espeak-ng/speak_lib.h|' dict/configure.ac dict/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp
+ sed -i 's/ESPEAK_LIBS="-lespeak"/ESPEAK_LIBS="-lespeak-ng"/' dict/configure.ac
./autogen.sh
}
More information about the arch-commits
mailing list