blob: 924054946b67094fef7d7d5e1bcbcfa2d94a6046 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=0.6.0
pkgrel=0
pkgdesc="A VNC viewer widget for GTK"
url="http://live.gnome.org/gtk-vnc"
arch="all"
license="LGPL"
depends_dev="gtk+3.0-dev gnutls-dev glib-dev"
makedepends="$depends_dev gettext-dev intltool expat-dev
libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv
gobject-introspection-dev vala sed"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
builddir="$srcdir/$pkgname-$pkgver"
build () {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-examples \
--enable-introspection \
--with-gtk=3.0 \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
gvncviewer() {
pkgdesc="Demo application for gtk-vnc"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="f27fa9284276509e8b785e4956d5334f gtk-vnc-0.6.0.tar.xz"
sha256sums="9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433 gtk-vnc-0.6.0.tar.xz"
sha512sums="38d37753bd8c88d112c046eb8430383b073b6516c72660b3e53612986a6772b72e3e6037f61e7a3700980ab1509c1f44fbfe0b80594c8a5e5520df166212f158 gtk-vnc-0.6.0.tar.xz"
|