diff options
Diffstat (limited to 'repo/gtk-vnc/gtk-vnc.xibuild')
-rw-r--r-- | repo/gtk-vnc/gtk-vnc.xibuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/gtk-vnc/gtk-vnc.xibuild b/repo/gtk-vnc/gtk-vnc.xibuild new file mode 100644 index 0000000..fc89f93 --- /dev/null +++ b/repo/gtk-vnc/gtk-vnc.xibuild @@ -0,0 +1,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.0 +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 +} + |