diff options
Diffstat (limited to 'main/gtk-vnc/APKBUILD')
-rw-r--r-- | main/gtk-vnc/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/gtk-vnc/APKBUILD b/main/gtk-vnc/APKBUILD index 826dd91a4e..f36fac206d 100644 --- a/main/gtk-vnc/APKBUILD +++ b/main/gtk-vnc/APKBUILD @@ -1,15 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk-vnc pkgver=0.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="A VNC viewer widget for GTK" url="http://live.gnome.org/gtk-vnc" arch="all" license="LGPL" -subpackages="$pkgname-dev gvncviewer $pkgname-lang" +subpackages="$pkgname-dev gvncviewer $pkgname-lang py-$pkgname:py $pkgname-doc" makedepends="gnutls-dev gtk+-dev libiconv-dev gettext-dev intltool expat-dev libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv - gobject-introspection-dev" + gobject-introspection-dev python-dev py-gtk-dev py-gobject-dev" depends_dev="gtk+-dev gnutls-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" @@ -17,16 +17,18 @@ build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ - --without-python \ + --with-python \ --with-examples \ + --enable-introspection \ --disable-static || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 - rm "$pkgdir"/usr/lib/*.la + make -j1 DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/python*/site-packages/*.la } gvncviewer() { @@ -35,4 +37,10 @@ gvncviewer() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } +py() { + pkgdesc="Python binding for gtk-vnc" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ +} + md5sums="f45c9649c915af335cff91268e74ab67 gtk-vnc-0.5.0.tar.xz" |