summaryrefslogtreecommitdiffstats
path: root/abs/extra/vte/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/vte/PKGBUILD')
-rw-r--r--abs/extra/vte/PKGBUILD40
1 files changed, 27 insertions, 13 deletions
diff --git a/abs/extra/vte/PKGBUILD b/abs/extra/vte/PKGBUILD
index 6b2f79e..d35c20c 100644
--- a/abs/extra/vte/PKGBUILD
+++ b/abs/extra/vte/PKGBUILD
@@ -1,24 +1,38 @@
-# $Id: PKGBUILD 99488 2010-11-14 20:01:04Z ibiru $
+# $Id: PKGBUILD 142691 2011-11-12 18:51:31Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=vte
-pkgver=0.26.2
-pkgrel=1
-pkgdesc="Virtual Terminal Emulator library"
+pkgver=0.28.2
+pkgrel=3
+pkgdesc="Virtual Terminal Emulator widget for use with GTK2"
arch=('i686' 'x86_64')
license=('LGPL')
-depends=('gtk2>=2.22.0')
-options=('!libtool')
-makedepends=('pygtk>=2.22.0' 'intltool' 'gobject-introspection')
+options=('!libtool' '!emptydirs')
+depends=('gtk2' 'vte-common')
+makedepends=('pygtk' 'intltool' 'gobject-introspection' 'pygobject2-devel')
url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.26/vte-${pkgver}.tar.bz2)
-sha256sums=('f02c350340266c9515a98b8f69c72b4bdc53b352cd053624a63a7cb97ddec9bd')
+source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-$pkgver.tar.xz
+make_alt_work.patch::http://git.gnome.org/browse/vte/patch/?id=b73782a28894e25ed146271f9d6c6775a6836199)
+sha256sums=('86cf0b81aa023fa93ed415653d51c96767f20b2d7334c893caba71e42654b0ae'
+ '8307623b13bcaf214cc25207ee7afaf65575d334623460311c24437fbbae14d3')
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
+ cd "$srcdir/$pkgname-$pkgver"
+ #warning: type-punning to incomplete type might break strict-aliasing rules
+ export CFLAGS="$CFLAGS -fno-strict-aliasing"
+
+ patch -Np1 -R -i "$srcdir/make_alt_work.patch"
+
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/vte \
--localstatedir=/var --disable-static \
- --enable-introspection
+ --enable-introspection --with-gtk=2.0
make
- make DESTDIR="${pkgdir}" install
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ rm "$pkgdir/usr/lib/vte/gnome-pty-helper"
}