summaryrefslogtreecommitdiff
path: root/repo/gtk-vnc/gtk-vnc.xibuild
blob: 0258b733dbdaf4ebf569f627d06db3458ef167c6 (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
#!/bin/sh

NAME="gtk-vnc"
DESC="VNC viewer widget for GTK"

MAKEDEPS="gtk3 gnutls glib expat libgcrypt libgpg-error libsasl perl-text-csv pulseaudio gobject-introspection vala meson"

PKG_VER=1.3.1
SOURCE="https://download.gnome.org/sources/gtk-vnc/${PKG_VER%.*}/gtk-vnc-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
		-Dwith-vala=enabled \
		. output

	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}