1 # Contributor: zhuqin <zhuqin@gmail.com>
2 # Maintainer: Lucas Salies Brum <lucas@archlinux.com.br>
4 pkgname=google-gadgets-gtk-svn
7 pkgdesc="Google Gadgets for linux (svn version, gtk toolkit)"
8 url="http://code.google.com/p/google-gadgets-for-linux/"
10 depends=('curl' 'libxml2' 'zlib' 'xulrunner' 'dbus' 'cairo' 'gtk2')
11 makedepends=('subversion' 'autoconf' 'automake' 'libtool' 'flex')
16 arch=('i686' 'x86_64')
20 _svntrunk=http://google-gadgets-for-linux.googlecode.com/svn/trunk/
21 _svnmod=google-gadgets
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 cp -r ${_svnmod} ${_svnmod}-build
33 sh autotools/bootstrap.sh
34 ./configure --prefix=/usr \
35 --disable-libggadget-qt \
36 --disable-qt-system-framework \
37 --disable-qtwebkit-browser-element \
39 --disable-ltdl-install \
41 --disable-update-mime-database \
42 --disable-update-desktop-database \
43 --enable-smjs-script-runtime \
45 --enable-libggadget-gtk \
46 --enable-gst-audio-framework \
47 --enable-gst-mediaplayer-element \
48 --enable-libggadget-dbus \
49 --enable-gtkmoz-browser-element \
50 --enable-gtk-system-framework \
51 --enable-curl-xml-http-request \
52 --enable-libxml2-xml-parser
55 make DESTDIR=$pkgdir install || return 1
57 rm -rf $srcdir/$_svnmod-build