[arch-commits] Commit in vte/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Wed Feb 16 15:01:54 UTC 2011
Date: Wednesday, February 16, 2011 @ 10:01:53
Author: ibiru
Revision: 110116
split vte and vte3. first try
Modified:
vte/trunk/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++----------
1 file changed, 38 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-16 14:48:46 UTC (rev 110115)
+++ PKGBUILD 2011-02-16 15:01:53 UTC (rev 110116)
@@ -1,24 +1,52 @@
# $Id$
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=vte
-pkgver=0.26.2
+pkgbase=vte
+pkgname=(vte vte3)
+pkgver=0.27.5
pkgrel=1
-pkgdesc="Virtual Terminal Emulator library"
+pkgdesc="Virtual Terminal Emulator widget for use with"
arch=('i686' 'x86_64')
license=('LGPL')
-depends=('gtk2>=2.22.0')
options=('!libtool')
-makedepends=('pygtk>=2.22.0' 'intltool' 'gobject-introspection')
+makedepends=('pygtk' 'intltool' 'gobject-introspection' 'gtk2' 'gtk3' 'namcap' 'pygobject-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.27/vte-${pkgver}.tar.bz2)
+sha256sums=('47541d480c50c95b53eb6bf1187561ae7eebc19556aec0c5dd281b5cb5c316c0')
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ mkdir build-gtk2
+ pushd build-gtk2
+ PYTHON=python2 ../configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/vte \
--localstatedir=/var --disable-static \
- --enable-introspection
+ --enable-introspection --with-gtk=2.0 \
+ --disable-schemas-compile
make
+ popd
+
+ mkdir build-gtk3
+ pushd build-gtk3
+ PYTHON=python2 ../configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/vte3 \
+ --localstatedir=/var --disable-static \
+ --enable-introspection --with-gtk=3.0 \
+ --disable-schemas-compile
+ make
+ popd
+}
+
+package_vte(){
+ pkgdesc+=" for GTK2"
+ depends=('gtk2')
+ cd "${srcdir}/${pkgbase}-${pkgver}"/build-gtk2
make DESTDIR="${pkgdir}" install
}
+
+package_vte3(){
+ pkgdesc+=" for GTK3"
+ depends=('gtk3')
+ cd "${srcdir}/${pkgbase}-${pkgver}"/build-gtk3
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list