2010-11-19 18:02:24 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
|
|
|
|
pkgname=qstardict
|
2012-05-21 02:44:37 +08:00
|
|
|
pkgver=1.0.1
|
2011-07-17 01:29:18 +08:00
|
|
|
pkgrel=1
|
2010-11-19 18:02:24 +08:00
|
|
|
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')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('utils')
|
2012-05-21 02:44:37 +08:00
|
|
|
screenshot=('http://qstardict.ylsoftware.com/images/screenshot1.png')
|
|
|
|
source=(http://qstardict.ylsoftware.com/files/${pkgname}-${pkgver}.tar.bz2
|
|
|
|
stardict_new.diff)
|
|
|
|
md5sums=('4e058439edad45103a9f5c74d2a381e5'
|
|
|
|
'0d4da45440c0d34ed06f82fc4f142e07')
|
2010-11-19 18:02:24 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/$pkgname-$pkgver
|
2012-05-21 02:44:37 +08:00
|
|
|
patch -p1 -i ${srcdir}/stardict_new.diff
|
2010-11-19 18:02:24 +08:00
|
|
|
|
2011-07-17 01:29:18 +08:00
|
|
|
qmake ENABLED_PLUGINS="stardict web swac"
|
|
|
|
make
|
2010-11-19 18:02:24 +08:00
|
|
|
make INSTALL_ROOT=${pkgdir} install
|
|
|
|
}
|