summaryrefslogtreecommitdiff
path: root/repo/gtk-vnc
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/gtk-vnc
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
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
+}
+