From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/spice-vdagent/spice-vdagent.xibuild | 33 ++++++++++++++++++++++++++++++++ repo/spice-vdagent/spice-vdagentd.initd | 13 +++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 repo/spice-vdagent/spice-vdagent.xibuild create mode 100644 repo/spice-vdagent/spice-vdagentd.initd (limited to 'repo/spice-vdagent') diff --git a/repo/spice-vdagent/spice-vdagent.xibuild b/repo/spice-vdagent/spice-vdagent.xibuild new file mode 100644 index 0000000..f997504 --- /dev/null +++ b/repo/spice-vdagent/spice-vdagent.xibuild @@ -0,0 +1,33 @@ +#!/bin/sh + +NAME="spice-vdagent" +DESC="Spice guest agent for Linux" + +MAKEDEPS="spice-protocol alsa-lib dbus glib libdrm libpciaccess libxfixes libxinerama libxrandr" + +PKG_VER=0.22.1 +SOURCE="https://spice-space.org/download/releases/spice-vdagent-$PKG_VER.tar.bz2" + +ADDITIONAL=" +spice-vdagentd.initd +" + +build() { + ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --with-session-info=none + make +} + +check() { + make check +} + +package() { + make install DESTDIR="$PKG_DEST" + install -Dm0755 "$BUILD_ROOT"/spice-vdagentd.initd "$PKG_DEST"/etc/init.d/spice-vdagentd + install -dm 0755 "$PKG_DEST"/etc/modules-load.d/ + printf 'uinput\n' >"$PKG_DEST"/etc/modules-load.d/spice-vdagent.conf +} + diff --git a/repo/spice-vdagent/spice-vdagentd.initd b/repo/spice-vdagent/spice-vdagentd.initd new file mode 100644 index 0000000..d6a212a --- /dev/null +++ b/repo/spice-vdagent/spice-vdagentd.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run + +command=/usr/sbin/spice-vdagentd +command_args="" +pidfile="/run/spice-vdagentd/spice-vdagentd.pid" + +depend() { + need dbus +} + +start_pre() { + checkpath --directory --mode 0755 --owner root:root /run/spice-vdagentd +} -- cgit v1.2.1