summaryrefslogtreecommitdiff
path: root/repo/gtk-vnc
diff options
context:
space:
mode:
Diffstat (limited to 'repo/gtk-vnc')
-rw-r--r--repo/gtk-vnc/gtk-vnc.xibuild26
-rw-r--r--repo/gtk-vnc/gvncviewer.xibuild8
2 files changed, 34 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
+}
+
diff --git a/repo/gtk-vnc/gvncviewer.xibuild b/repo/gtk-vnc/gvncviewer.xibuild
new file mode 100644
index 0000000..1ab4025
--- /dev/null
+++ b/repo/gtk-vnc/gvncviewer.xibuild
@@ -0,0 +1,8 @@
+#!/bin/sh
+DESC="Demo application for gtk-vnc"
+
+package () {
+ mkdir -p "$PKG_DEST"/usr/bin
+ mv output/examples/gvncviewer "$PKG_DEST"/usr/bin
+}
+