blob: 761ba12671324bd83b02c12e7d30db6e7315d037 (
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
|
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=1.3.1
pkgrel=0
pkgdesc="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
pulseaudio-dev 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() {
abuild-meson \
-Dwith-vala=enabled \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
gvncviewer() {
pkgdesc="Demo application for gtk-vnc"
cd $builddir
mkdir -p "$subpkgdir"/usr/bin
mv output/examples/gvncviewer "$subpkgdir"/usr/bin
}
sha512sums="
01c9af407f913b214814252d7b204822372293ffc5f658aa646936f9f8cdcd77589c127e4d0e893e914c61470d4616e32f7b1fa9bd3739b2a22caef6710953b9 gtk-vnc-1.3.1.tar.xz
"
|