Skip to content

Commit

Permalink
add QEMU Guest Agent (SynoCommunity#6019)
Browse files Browse the repository at this point in the history
- initial version, builds for arch-x64-7.1 only
  • Loading branch information
hgy59 committed Jun 19, 2024
1 parent e742c4c commit 890548e
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
27 changes: 27 additions & 0 deletions cross/qemu/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PKG_NAME = qemu
PKG_VERS = 9.0.1
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://download.qemu.org
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

include ../../mk/spksrc.common.mk
ifneq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH))
UNSUPPORTED_ARCHS = $(ARCH)
endif

DEPENDS = cross/glib
DEPENDS += cross/pixman

HOMEPAGE = https://wiki.qemu.org/Features/GuestAgent
COMMENT = Support for QMP commands and events that terminate and originate respectively within the guest using an agent built as part of QEMU.
LICENSE = GPLv2

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --target-list=x86_64-softmmu

include ../../mk/spksrc.cross-cc.mk

# x64-7.2:
# cross/glib fails to build glib 2.78.4 and glib 2.66.8 (all glib versions built with meson):
# glib/gnulib/meson.build:313:2: ERROR: Problem encountered: frexp() is missing or broken beyond repair, and we have nothing to replace it with
2 changes: 2 additions & 0 deletions cross/qemu/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bin:bin/qemu-ga
bin:libexec/qemu-bridge-helper
3 changes: 3 additions & 0 deletions cross/qemu/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
qemu-9.0.1.tar.xz SHA1 241fb1b9c89e02e700be48ec47bc04b1bc6e8f6e
qemu-9.0.1.tar.xz SHA256 d0f4db0fbd151c0cf16f84aeb2a500f6e95009732546f44dafab8d2049bbb805
qemu-9.0.1.tar.xz MD5 905f7f21d3507c057e2fb65b142e960e
25 changes: 25 additions & 0 deletions spk/qemu-ga/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
SPK_NAME = qemu-ga
SPK_VERS = 9.0.1
SPK_REV = 1
SPK_ICON = src/qemu.png

include ../../mk/spksrc.common.mk
ifneq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH))
UNSUPPORTED_ARCHS = $(ARCH)
endif

REQUIRED_MIN_DSM = 7.1

DEPENDS = cross/qemu

MAINTAINER = hgy59
HOMEPAGE = https://wiki.qemu.org/Features/GuestAgent
DISPLAY_NAME = QEMU Guest Agent
DESCRIPTION = Support for QMP commands and events that terminate and originate respectively within the guest using an agent built as part of QEMU.
LICENSE = GPLv2

STARTABLE = no

SPK_COMMANDS = bin/qemu-ga

include ../../mk/spksrc.spk.mk
Binary file added spk/qemu-ga/src/qemu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 890548e

Please sign in to comment.