Problem Link to heading
When you install goldendict using yay
, you won't see the Chinese Conversion
section in the transliteration option. This is because the method of building goldendict provided by the community doesn't add the dependent package of the chinese conversion. According to the README of goldendict, we just need to add the dependent package opencc
before building it.
Solution Link to heading
First, download PKGBUILD
and goldendict.changelog
: $ yay -G goldendict
After that, edit the PKGBUILD
file in the folder goldendict
.
...
- depends=('hunspell' 'libxtst' 'libzip' 'libao' 'qt5-webkit' 'qt5-svg' 'qt5-x11extras' 'qt5-tools' 'phonon-qt5' 'ffmpeg')
+ depends=('hunspell' 'libxtst' 'libzip' 'libao' 'qt5-webkit' 'qt5-svg' 'qt5-x11extras' 'qt5-tools' 'phonon-qt5' 'ffmpeg' 'opencc')
...
build(){
cd "${srcdir}"/$pkgname-1.5.0-RC2
- qmake-qt5 "CONFIG+=no_epwing_support" PREFIX="/usr"
+ qmake-qt5 "CONFIG+=no_epwing_support chinese_conversion_support" PREFIX="/usr"
make
}
...
In the end, build and install goldendict: $ makepkg -si