summaryrefslogtreecommitdiff
path: root/extra/gjs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gjs/PKGBUILD')
-rw-r--r--extra/gjs/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
index 34fd492d4..3ce7f9db8 100644
--- a/extra/gjs/PKGBUILD
+++ b/extra/gjs/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD 117650 2011-04-04 14:59:48Z ibiru $
+# $Id: PKGBUILD 130216 2011-07-04 12:55:31Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gjs
pkgver=0.7.14
-pkgrel=1
+pkgrel=2
pkgdesc="Javascript Bindings for GNOME"
arch=('i686' 'x86_64')
url="http://live.gnome.org/Gjs"
license=('GPL')
-depends=('gobject-introspection' 'xulrunner')
+depends=('cairo' 'dbus-glib' 'gobject-introspection' 'js')
options=('!libtool')
-source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('3af6f449a505c419d4a0e5938737da8d1b9b09b33710cc1ac1edee2eaa86e348')
+source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2
+ gjs-0.7.14-js185-backport.patch)
+sha256sums=('3af6f449a505c419d4a0e5938737da8d1b9b09b33710cc1ac1edee2eaa86e348'
+ 'b1fd3b8aa5978c5b60bfe39ce4298e67b9baa190d9cbf1a0ebe47af356197335')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|python|python2|' scripts/make-tests
+ patch -Np1 -i "${srcdir}/gjs-0.7.14-js185-backport.patch"
+ autoreconf -fi
./configure --prefix=/usr --disable-static
make
}