[arch-commits] Commit in gtk-vnc/repos (3 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 11:34:47 UTC 2012


    Date: Sunday, April 1, 2012 @ 07:34:46
  Author: heftig
Revision: 155175

db-move: moved gtk-vnc from [gnome-unstable] to [testing] (i686)

Added:
  gtk-vnc/repos/testing-i686/
  gtk-vnc/repos/testing-i686/PKGBUILD
    (from rev 155005, gtk-vnc/repos/gnome-unstable-i686/PKGBUILD)
Deleted:
  gtk-vnc/repos/gnome-unstable-i686/

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: gtk-vnc/repos/testing-i686/PKGBUILD (from rev 155005, gtk-vnc/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:34:46 UTC (rev 155175)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: lp76 <l.peduto at gmail.com>
+
+pkgname=gtk-vnc
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="A VNC viewer widget for GTK"
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/gtk-vnc"
+license=('LGPL')
+depends=('libgcrypt' 'gtk3')
+optdepends=('gtk2: GTK2 widget')
+makedepends=('intltool' 'pygtk' 'pygobject2-devel' 'gtk-doc' 'gtk2' 'vala' 'gobject-introspection')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('1de65d8ffa8c25a61a8e8c4b7e5963d4a826f4fcf7120d66ed027f5f70cc8f81')
+
+build() {
+  rm -rf gtk2-build gtk3-build
+  cp -a $pkgname-$pkgver gtk2-build
+  mv $pkgname-$pkgver gtk3-build
+
+  ( cd gtk2-build
+    PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --with-python --disable-static --with-gtk=2.0
+    make )
+
+  ( cd gtk3-build
+    PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --with-python --with-examples --disable-static --with-gtk=3.0
+    make )
+}
+
+package() {
+  make -C gtk2-build -j1 DESTDIR="${pkgdir}" install
+  make -C gtk3-build -j1 DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list