summaryrefslogtreecommitdiff
path: root/extra/stardict/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/stardict/PKGBUILD')
-rw-r--r--extra/stardict/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/extra/stardict/PKGBUILD b/extra/stardict/PKGBUILD
index 8ce7a50e8..09b9aa4d5 100644
--- a/extra/stardict/PKGBUILD
+++ b/extra/stardict/PKGBUILD
@@ -1,31 +1,37 @@
-# $Id: PKGBUILD 131980 2011-07-18 15:27:26Z bisson $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
+# $Id: PKGBUILD 163464 2012-07-12 12:42:33Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Neil Lin <neil@vip.url.com.tw>
pkgname=stardict
pkgver=3.0.3
-pkgrel=1
+pkgrel=2
pkgdesc='International dictionary software'
arch=('i686' 'x86_64')
url='http://www.stardict.org/'
license=('GPL')
depends=('enchant' 'gtk2' 'libsigc++' 'libsm')
-makedepends=('intltool' 'popt' 'gnome-doc-utils' 'libmysqlclient')
+makedepends=('intltool' 'popt' 'gnome-doc-utils' 'gnome-common' 'libmysqlclient')
options=('!libtool' '!emptydirs')
source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2"
- 'NetDictRequests.patch'
- 'gcc46.patch')
+ 'crash-empty-dict.patch'
+ 'gcc46.patch'
+ 'glib2.patch'
+ 'zlib.patch')
sha1sums=('5043c0918963cd4d40e6d6289353f295766ec74f'
'97af8fdb73c8f04674234b629c6867254e9bd043'
- '6605a9cdfc4abc2a0ab4462d1228233d34806f0a')
+ '6605a9cdfc4abc2a0ab4462d1228233d34806f0a'
+ '467880bca5e89aa25cb4a57a9e1caba9a8841822'
+ '024ac5eb75a11c96569e31021a4bd65463b3cf5b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # ugly hack to avoid crashing with empty dictionaries
- patch -p1 -i ../NetDictRequests.patch
+ patch -p1 -i ../crash-empty-dict.patch
patch -p1 -i ../gcc46.patch
- automake
+ patch -p1 -i ../glib2.patch
+ patch -p1 -i ../zlib.patch
+ ./autogen.sh # gnome-autogen.sh requires gnome-common
./configure \
PKG_CONFIG=/usr/bin/pkg-config \