blob: 8e073650ba004768c38f4fb040f5338ad511b80c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=0.5.1
pkgrel=0
pkgdesc="A VNC viewer widget for GTK"
url="http://live.gnome.org/gtk-vnc"
arch="all"
license="LGPL"
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 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"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--with-python \
--with-examples \
--enable-introspection \
--disable-static || return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/python*/site-packages/*.la
}
gvncviewer() {
pkgdesc="Demo application for gtk-vnc"
mkdir -p "$subpkgdir"/usr
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="626f919138b8362ba82faa969fa371f3 gtk-vnc-0.5.1.tar.xz"
|