blob: 50595591b9340eda8ab8427646c79cb3faf65b3e (
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
47
48
49
50
51
|
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=1.0.0
pkgrel=2
pkgdesc="A VNC viewer widget for GTK"
url="https://wiki.gnome.org/Projects/gtk-vnc"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gtk+3.0-dev gnutls-dev glib-dev expat-dev
libgcrypt-dev libgpg-error-dev cyrus-sasl-dev perl-text-csv
gobject-introspection-dev vala meson"
source="https://download.gnome.org/sources/gtk-vnc/${pkgver%.*}/gtk-vnc-$pkgver.tar.xz"
subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
# secfixes:
# 0.7.0-r0:
# - CVE-2017-5884
# - CVE-2017-5885
build() {
# https://gitlab.gnome.org/GNOME/gtk-vnc/issues/11
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=debugoptimized \
-Dwith-vala=true \
-Dwith-coroutine=gthread \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
gvncviewer() {
pkgdesc="Demo application for gtk-vnc"
cd $builddir
mkdir -p "$subpkgdir"/usr/bin
mv output/examples/gvncviewer "$subpkgdir"/usr/bin
}
sha512sums="63a40b9b284c4e46a92d5375ab3660b324ff27bfc572559d3b34d29fe4f7d24e976396b6688b8f3e3109d49dc5527075d128c43bb997507e68ddc0880b0ad148 gtk-vnc-1.0.0.tar.xz"
|