From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/gtk-vnc/gtk-vnc.xibuild | 26 ++++++++++++++++++++++++++ repo/gtk-vnc/gvncviewer.xibuild | 8 ++++++++ 2 files changed, 34 insertions(+) create mode 100644 repo/gtk-vnc/gtk-vnc.xibuild create mode 100644 repo/gtk-vnc/gvncviewer.xibuild (limited to 'repo/gtk-vnc') 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 +} + -- cgit v1.2.1