mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
38 lines
1.2 KiB
Bash
Executable File
38 lines
1.2 KiB
Bash
Executable File
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=qstardict
|
|
pkgver=0.13.1
|
|
pkgrel=2
|
|
pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries."
|
|
arch=('i686' 'x86_64')
|
|
url="http://qstardict.ylsoftware.com/index.php"
|
|
license=('GPL2')
|
|
depends=('qt')
|
|
optdepends=('festival-awb-arctic: for pronouncing words, Scottish English male speaker'
|
|
'festival-don: for pronouncing words, British English RP male speaker'
|
|
'festival-kallpc16k: for pronouncing words, British English RP male speaker'
|
|
'festival-rablpc16k: for pronouncing words, British English RP male speaker')
|
|
provides=('stardict')
|
|
source=(http://qstardict.ylsoftware.com/files/${pkgname}-${pkgver}.tar.bz2
|
|
gcc4.4.patch)
|
|
|
|
md5sums=('0828c3fa01c5237db8a67d356a9d1a8c'
|
|
'c6ed927f349025bdbf202f1c5a5888e8')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
# This patch is commited upstream, remove on next release
|
|
patch -Np1 -i "$srcdir/gcc4.4.patch" || return 1
|
|
|
|
qmake ENABLED_PLUGINS="stardict web swac" || return 1
|
|
make || return 1
|
|
make INSTALL_ROOT=${pkgdir} install
|
|
}
|